diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Apps_CreateOrUpdate.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Apps_CreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Apps_CreateOrUpdate.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Apps_CreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Apps_Delete.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Apps_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Apps_Delete.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Apps_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Apps_Get.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Apps_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Apps_Get.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Apps_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Apps_GetResourceUploadUrl.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Apps_GetResourceUploadUrl.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Apps_GetResourceUploadUrl.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Apps_GetResourceUploadUrl.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Apps_List.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Apps_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Apps_List.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Apps_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Apps_SetActiveDeployments.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Apps_SetActiveDeployments.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Apps_SetActiveDeployments.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Apps_SetActiveDeployments.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Apps_Update.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Apps_Update.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Apps_Update.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Apps_Update.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Apps_ValidateDomain.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Apps_ValidateDomain.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Apps_ValidateDomain.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Apps_ValidateDomain.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Bindings_CreateOrUpdate.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Bindings_CreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Bindings_CreateOrUpdate.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Bindings_CreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Bindings_Delete.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Bindings_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Bindings_Delete.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Bindings_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Bindings_Get.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Bindings_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Bindings_Get.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Bindings_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Bindings_List.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Bindings_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Bindings_List.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Bindings_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Bindings_Update.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Bindings_Update.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Bindings_Update.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Bindings_Update.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildServiceAgentPool_Get.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildServiceAgentPool_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildServiceAgentPool_Get.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildServiceAgentPool_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildServiceAgentPool_List.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildServiceAgentPool_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildServiceAgentPool_List.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildServiceAgentPool_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildServiceAgentPool_UpdatePut.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildServiceAgentPool_UpdatePut.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildServiceAgentPool_UpdatePut.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildServiceAgentPool_UpdatePut.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildServiceBuilder_CreateOrUpdate.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildServiceBuilder_CreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildServiceBuilder_CreateOrUpdate.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildServiceBuilder_CreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildServiceBuilder_Delete.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildServiceBuilder_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildServiceBuilder_Delete.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildServiceBuilder_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildServiceBuilder_Get.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildServiceBuilder_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildServiceBuilder_Get.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildServiceBuilder_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildServiceBuilder_List.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildServiceBuilder_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildServiceBuilder_List.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildServiceBuilder_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_CreateOrUpdateBuild.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_CreateOrUpdateBuild.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_CreateOrUpdateBuild.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_CreateOrUpdateBuild.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_GetBuild.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_GetBuild.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_GetBuild.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_GetBuild.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_GetBuildResult.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_GetBuildResult.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_GetBuildResult.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_GetBuildResult.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_GetBuildResultLog.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_GetBuildResultLog.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_GetBuildResultLog.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_GetBuildResultLog.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_GetBuildService.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_GetBuildService.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_GetBuildService.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_GetBuildService.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_GetResourceUploadUrl.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_GetResourceUploadUrl.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_GetResourceUploadUrl.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_GetResourceUploadUrl.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_GetSupportedBuildpack.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_GetSupportedBuildpack.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_GetSupportedBuildpack.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_GetSupportedBuildpack.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_GetSupportedStack.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_GetSupportedStack.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_GetSupportedStack.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_GetSupportedStack.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_ListBuildResults.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_ListBuildResults.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_ListBuildResults.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_ListBuildResults.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_ListBuildServices.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_ListBuildServices.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_ListBuildServices.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_ListBuildServices.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_ListBuilds.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_ListBuilds.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_ListBuilds.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_ListBuilds.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_ListSupportedBuildpacks.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_ListSupportedBuildpacks.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_ListSupportedBuildpacks.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_ListSupportedBuildpacks.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_ListSupportedStacks.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_ListSupportedStacks.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_ListSupportedStacks.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildService_ListSupportedStacks.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildpackBinding_CreateOrUpdate.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildpackBinding_CreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildpackBinding_CreateOrUpdate.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildpackBinding_CreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildpackBinding_Delete.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildpackBinding_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildpackBinding_Delete.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildpackBinding_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildpackBinding_Get.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildpackBinding_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildpackBinding_Get.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildpackBinding_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildpackBinding_List.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildpackBinding_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildpackBinding_List.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/BuildpackBinding_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Certificates_CreateOrUpdate.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Certificates_CreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Certificates_CreateOrUpdate.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Certificates_CreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Certificates_Delete.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Certificates_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Certificates_Delete.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Certificates_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Certificates_Get.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Certificates_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Certificates_Get.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Certificates_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Certificates_List.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Certificates_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Certificates_List.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Certificates_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigServers_Get.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigServers_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigServers_Get.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigServers_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigServers_UpdatePatch.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigServers_UpdatePatch.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigServers_UpdatePatch.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigServers_UpdatePatch.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigServers_UpdatePut.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigServers_UpdatePut.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigServers_UpdatePut.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigServers_UpdatePut.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigServers_Validate.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigServers_Validate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigServers_Validate.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigServers_Validate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigurationServices_CreateOrUpdate.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigurationServices_CreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigurationServices_CreateOrUpdate.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigurationServices_CreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigurationServices_Delete.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigurationServices_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigurationServices_Delete.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigurationServices_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigurationServices_Get.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigurationServices_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigurationServices_Get.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigurationServices_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigurationServices_List.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigurationServices_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigurationServices_List.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigurationServices_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigurationServices_Validate.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigurationServices_Validate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigurationServices_Validate.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ConfigurationServices_Validate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/CustomDomains_CreateOrUpdate.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/CustomDomains_CreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/CustomDomains_CreateOrUpdate.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/CustomDomains_CreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/CustomDomains_Delete.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/CustomDomains_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/CustomDomains_Delete.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/CustomDomains_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/CustomDomains_Get.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/CustomDomains_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/CustomDomains_Get.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/CustomDomains_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/CustomDomains_List.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/CustomDomains_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/CustomDomains_List.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/CustomDomains_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/CustomDomains_Update.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/CustomDomains_Update.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/CustomDomains_Update.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/CustomDomains_Update.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_CreateOrUpdate.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_CreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_CreateOrUpdate.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_CreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_Delete.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_Delete.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_GenerateHeapDump.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_GenerateHeapDump.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_GenerateHeapDump.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_GenerateHeapDump.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_GenerateThreadDump.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_GenerateThreadDump.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_GenerateThreadDump.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_GenerateThreadDump.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_Get.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_Get.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_GetLogFileUrl.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_GetLogFileUrl.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_GetLogFileUrl.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_GetLogFileUrl.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_List.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_List.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_ListForCluster.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_ListForCluster.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_ListForCluster.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_ListForCluster.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_Restart.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_Restart.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_Restart.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_Restart.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_Start.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_Start.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_Start.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_Start.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_StartJFR.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_StartJFR.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_StartJFR.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_StartJFR.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_Stop.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_Stop.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_Stop.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_Stop.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_Update.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_Update.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_Update.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Deployments_Update.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/MonitoringSettings_Get.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/MonitoringSettings_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/MonitoringSettings_Get.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/MonitoringSettings_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/MonitoringSettings_UpdatePatch.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/MonitoringSettings_UpdatePatch.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/MonitoringSettings_UpdatePatch.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/MonitoringSettings_UpdatePatch.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/MonitoringSettings_UpdatePut.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/MonitoringSettings_UpdatePut.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/MonitoringSettings_UpdatePut.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/MonitoringSettings_UpdatePut.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Operations_List.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Operations_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Operations_List.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Operations_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/RuntimeVersions_ListRuntimeVersions.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/RuntimeVersions_ListRuntimeVersions.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/RuntimeVersions_ListRuntimeVersions.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/RuntimeVersions_ListRuntimeVersions.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ServiceRegistries_CreateOrUpdate.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ServiceRegistries_CreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ServiceRegistries_CreateOrUpdate.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ServiceRegistries_CreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ServiceRegistries_Delete.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ServiceRegistries_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ServiceRegistries_Delete.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ServiceRegistries_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ServiceRegistries_Get.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ServiceRegistries_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ServiceRegistries_Get.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ServiceRegistries_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ServiceRegistries_List.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ServiceRegistries_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ServiceRegistries_List.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/ServiceRegistries_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_CheckNameAvailability.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_CheckNameAvailability.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_CheckNameAvailability.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_CheckNameAvailability.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_CreateOrUpdate.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_CreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_CreateOrUpdate.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_CreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_CreateOrUpdate_VNetInjection.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_CreateOrUpdate_VNetInjection.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_CreateOrUpdate_VNetInjection.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_CreateOrUpdate_VNetInjection.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_Delete.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_Delete.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_DisableTestEndpoint.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_DisableTestEndpoint.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_DisableTestEndpoint.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_DisableTestEndpoint.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_EnableTestEndpoint.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_EnableTestEndpoint.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_EnableTestEndpoint.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_EnableTestEndpoint.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_Get.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_Get.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_List.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_List.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_ListBySubscription.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_ListBySubscription.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_ListBySubscription.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_ListBySubscription.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_ListTestKeys.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_ListTestKeys.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_ListTestKeys.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_ListTestKeys.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_RegenerateTestKey.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_RegenerateTestKey.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_RegenerateTestKey.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_RegenerateTestKey.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_Update.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_Update.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_Update.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Services_Update.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Skus_List.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Skus_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Skus_List.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/examples-java/Skus_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/DeleteRoleAssignmentById.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/DeleteRoleAssignmentById.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/DeleteRoleAssignmentById.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/DeleteRoleAssignmentById.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/DeleteRoleAssignmentByName.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/DeleteRoleAssignmentByName.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/DeleteRoleAssignmentByName.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/DeleteRoleAssignmentByName.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/DeleteRoleDefinition.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/DeleteRoleDefinition.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/DeleteRoleDefinition.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/DeleteRoleDefinition.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/ElevateAccess.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/ElevateAccess.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/ElevateAccess.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/ElevateAccess.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetAllProviderOperations.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetAllProviderOperations.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetAllProviderOperations.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetAllProviderOperations.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetAllRoleAssignments.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetAllRoleAssignments.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetAllRoleAssignments.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetAllRoleAssignments.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetClassicAdministrators.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetClassicAdministrators.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetClassicAdministrators.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetClassicAdministrators.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetPermissions.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetPermissions.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetPermissions.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetPermissions.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetProviderOperationsRP.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetProviderOperationsRP.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetProviderOperationsRP.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetProviderOperationsRP.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetResourcePermissions.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetResourcePermissions.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetResourcePermissions.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetResourcePermissions.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetRoleAssignmentById.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetRoleAssignmentById.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetRoleAssignmentById.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetRoleAssignmentById.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetRoleAssignmentByName.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetRoleAssignmentByName.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetRoleAssignmentByName.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetRoleAssignmentByName.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetRoleAssignmentByScope.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetRoleAssignmentByScope.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetRoleAssignmentByScope.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetRoleAssignmentByScope.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetRoleAssignmentsForResource.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetRoleAssignmentsForResource.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetRoleAssignmentsForResource.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetRoleAssignmentsForResource.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetRoleAssignmentsForResourceGroup.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetRoleAssignmentsForResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetRoleAssignmentsForResourceGroup.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetRoleAssignmentsForResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetRoleDefinitionAtScope.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetRoleDefinitionAtScope.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetRoleDefinitionAtScope.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetRoleDefinitionAtScope.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetRoleDefinitionById.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetRoleDefinitionById.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetRoleDefinitionById.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetRoleDefinitionById.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetRoleDefinitionByName.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetRoleDefinitionByName.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetRoleDefinitionByName.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/GetRoleDefinitionByName.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/PutRoleAssignment.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/PutRoleAssignment.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/PutRoleAssignment.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/PutRoleAssignment.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/PutRoleAssignmentById.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/PutRoleAssignmentById.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/PutRoleAssignmentById.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/PutRoleAssignmentById.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/PutRoleDefinition.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/PutRoleDefinition.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/PutRoleDefinition.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples-java/PutRoleDefinition.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/CancelRoleAssignmentScheduleRequestByName.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/CancelRoleAssignmentScheduleRequestByName.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/CancelRoleAssignmentScheduleRequestByName.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/CancelRoleAssignmentScheduleRequestByName.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/CancelRoleEligibilityScheduleRequestByName.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/CancelRoleEligibilityScheduleRequestByName.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/CancelRoleEligibilityScheduleRequestByName.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/CancelRoleEligibilityScheduleRequestByName.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/DeleteRoleManagementPolicy.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/DeleteRoleManagementPolicy.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/DeleteRoleManagementPolicy.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/DeleteRoleManagementPolicy.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/DeleteRoleManagementPolicyAssignment.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/DeleteRoleManagementPolicyAssignment.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/DeleteRoleManagementPolicyAssignment.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/DeleteRoleManagementPolicyAssignment.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetEligibleChildResourcesByScope.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetEligibleChildResourcesByScope.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetEligibleChildResourcesByScope.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetEligibleChildResourcesByScope.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleAssignmentScheduleByName.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleAssignmentScheduleByName.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleAssignmentScheduleByName.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleAssignmentScheduleByName.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleAssignmentScheduleInstanceByName.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleAssignmentScheduleInstanceByName.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleAssignmentScheduleInstanceByName.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleAssignmentScheduleInstanceByName.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleAssignmentScheduleInstancesByScope.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleAssignmentScheduleInstancesByScope.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleAssignmentScheduleInstancesByScope.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleAssignmentScheduleInstancesByScope.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleAssignmentScheduleRequestByName.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleAssignmentScheduleRequestByName.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleAssignmentScheduleRequestByName.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleAssignmentScheduleRequestByName.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleAssignmentScheduleRequestByScope.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleAssignmentScheduleRequestByScope.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleAssignmentScheduleRequestByScope.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleAssignmentScheduleRequestByScope.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleAssignmentSchedulesByScope.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleAssignmentSchedulesByScope.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleAssignmentSchedulesByScope.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleAssignmentSchedulesByScope.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleEligibilityScheduleByName.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleEligibilityScheduleByName.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleEligibilityScheduleByName.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleEligibilityScheduleByName.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleEligibilityScheduleInstanceByName.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleEligibilityScheduleInstanceByName.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleEligibilityScheduleInstanceByName.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleEligibilityScheduleInstanceByName.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleEligibilityScheduleInstancesByScope.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleEligibilityScheduleInstancesByScope.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleEligibilityScheduleInstancesByScope.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleEligibilityScheduleInstancesByScope.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleEligibilityScheduleRequestByName.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleEligibilityScheduleRequestByName.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleEligibilityScheduleRequestByName.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleEligibilityScheduleRequestByName.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleEligibilityScheduleRequestByScope.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleEligibilityScheduleRequestByScope.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleEligibilityScheduleRequestByScope.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleEligibilityScheduleRequestByScope.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleEligibilitySchedulesByScope.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleEligibilitySchedulesByScope.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleEligibilitySchedulesByScope.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleEligibilitySchedulesByScope.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleManagementPolicyAssignmentByName.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleManagementPolicyAssignmentByName.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleManagementPolicyAssignmentByName.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleManagementPolicyAssignmentByName.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleManagementPolicyAssignmentByScope.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleManagementPolicyAssignmentByScope.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleManagementPolicyAssignmentByScope.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleManagementPolicyAssignmentByScope.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleManagementPolicyByName.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleManagementPolicyByName.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleManagementPolicyByName.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleManagementPolicyByName.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleManagementPolicyByScope.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleManagementPolicyByScope.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleManagementPolicyByScope.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/GetRoleManagementPolicyByScope.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/PatchPartialRoleManagementPolicy.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/PatchPartialRoleManagementPolicy.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/PatchPartialRoleManagementPolicy.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/PatchPartialRoleManagementPolicy.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/PatchRoleManagementPolicy.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/PatchRoleManagementPolicy.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/PatchRoleManagementPolicy.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/PatchRoleManagementPolicy.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/PutRoleAssignmentScheduleRequest.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/PutRoleAssignmentScheduleRequest.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/PutRoleAssignmentScheduleRequest.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/PutRoleAssignmentScheduleRequest.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/PutRoleEligibilityScheduleRequest.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/PutRoleEligibilityScheduleRequest.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/PutRoleEligibilityScheduleRequest.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/PutRoleEligibilityScheduleRequest.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/PutRoleManagementPolicyAssignment.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/PutRoleManagementPolicyAssignment.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/PutRoleManagementPolicyAssignment.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/PutRoleManagementPolicyAssignment.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/ValidateRoleAssignmentScheduleRequestByName.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/ValidateRoleAssignmentScheduleRequestByName.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/ValidateRoleAssignmentScheduleRequestByName.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/ValidateRoleAssignmentScheduleRequestByName.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/ValidateRoleEligibilityScheduleRequestByName.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/ValidateRoleEligibilityScheduleRequestByName.json index 04d1f96f67..1c2f329976 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/ValidateRoleEligibilityScheduleRequestByName.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples-java/ValidateRoleEligibilityScheduleRequestByName.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDCustomDomains_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDCustomDomains_Create.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDCustomDomains_Create.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDCustomDomains_Create.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDCustomDomains_Delete.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDCustomDomains_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDCustomDomains_Delete.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDCustomDomains_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDCustomDomains_Get.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDCustomDomains_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDCustomDomains_Get.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDCustomDomains_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDCustomDomains_ListByProfile.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDCustomDomains_ListByProfile.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDCustomDomains_ListByProfile.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDCustomDomains_ListByProfile.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDCustomDomains_RefreshValidationToken.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDCustomDomains_RefreshValidationToken.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDCustomDomains_RefreshValidationToken.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDCustomDomains_RefreshValidationToken.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDCustomDomains_Update.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDCustomDomains_Update.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDCustomDomains_Update.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDCustomDomains_Update.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_Create.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_Create.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_Create.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_Delete.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_Delete.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_Get.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_Get.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_ListByProfile.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_ListByProfile.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_ListByProfile.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_ListByProfile.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_ListResourceUsage.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_ListResourceUsage.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_ListResourceUsage.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_ListResourceUsage.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_PurgeContent.java b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_PurgeContent.java index 35a5f2b641..3daf47550d 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_PurgeContent.java +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_PurgeContent.java @@ -24,7 +24,7 @@ public final class Main { "endpoint1", new AfdPurgeParameters() .withContentPaths(Arrays.asList("/folder1")) - .withDomains(Arrays.asList("endpoint1.azureedge.net")), + .withDomains(Arrays.asList("endpoint1-abcdefghijklmnop.z01.azurefd.net")), Context.NONE); } } diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_PurgeContent.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_PurgeContent.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_PurgeContent.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_PurgeContent.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_Update.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_Update.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_Update.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_Update.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_ValidateCustomDomain.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_ValidateCustomDomain.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_ValidateCustomDomain.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDEndpoints_ValidateCustomDomain.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOriginGroups_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOriginGroups_Create.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOriginGroups_Create.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOriginGroups_Create.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOriginGroups_Delete.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOriginGroups_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOriginGroups_Delete.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOriginGroups_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOriginGroups_Get.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOriginGroups_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOriginGroups_Get.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOriginGroups_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOriginGroups_ListByProfile.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOriginGroups_ListByProfile.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOriginGroups_ListByProfile.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOriginGroups_ListByProfile.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOriginGroups_ListResourceUsage.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOriginGroups_ListResourceUsage.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOriginGroups_ListResourceUsage.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOriginGroups_ListResourceUsage.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOriginGroups_Update.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOriginGroups_Update.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOriginGroups_Update.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOriginGroups_Update.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOrigins_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOrigins_Create.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOrigins_Create.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOrigins_Create.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOrigins_Delete.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOrigins_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOrigins_Delete.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOrigins_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOrigins_Get.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOrigins_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOrigins_Get.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOrigins_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOrigins_ListByOriginGroup.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOrigins_ListByOriginGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOrigins_ListByOriginGroup.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOrigins_ListByOriginGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOrigins_Update.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOrigins_Update.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOrigins_Update.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDOrigins_Update.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDProfiles_CheckHostNameAvailability.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDProfiles_CheckHostNameAvailability.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDProfiles_CheckHostNameAvailability.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDProfiles_CheckHostNameAvailability.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDProfiles_ListResourceUsage.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDProfiles_ListResourceUsage.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDProfiles_ListResourceUsage.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/AFDProfiles_ListResourceUsage.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_Create.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_Create.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_Create.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_Delete.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_Delete.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_DisableCustomHttps.java b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_DisableCustomHttps.java index 9ce61be7fa..7db0413880 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_DisableCustomHttps.java +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_DisableCustomHttps.java @@ -16,6 +16,6 @@ public final class Main { .manager() .serviceClient() .getCustomDomains() - .disableCustomHttpsWithResponse("RG", "profile1", "endpoint1", "www-someDomain-net", Context.NONE); + .disableCustomHttps("RG", "profile1", "endpoint1", "www-someDomain-net", Context.NONE); } } diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_DisableCustomHttps.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_DisableCustomHttps.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_DisableCustomHttps.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_DisableCustomHttps.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_EnableCustomHttpsUsingBYOC.java b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_EnableCustomHttpsUsingBYOC.java index e5afbdd0d1..749b0af33d 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_EnableCustomHttpsUsingBYOC.java +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_EnableCustomHttpsUsingBYOC.java @@ -17,6 +17,6 @@ public final class Main { .manager() .serviceClient() .getCustomDomains() - .enableCustomHttpsWithResponse("RG", "profile1", "endpoint1", "www-someDomain-net", null, Context.NONE); + .enableCustomHttps("RG", "profile1", "endpoint1", "www-someDomain-net", null, Context.NONE); } } diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_EnableCustomHttpsUsingBYOC.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_EnableCustomHttpsUsingBYOC.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_EnableCustomHttpsUsingBYOC.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_EnableCustomHttpsUsingBYOC.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.java b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.java index 9d44320b1a..2f0dfc5dd2 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.java +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.java @@ -17,6 +17,6 @@ public final class Main { .manager() .serviceClient() .getCustomDomains() - .enableCustomHttpsWithResponse("RG", "profile1", "endpoint1", "www-someDomain-net", null, Context.NONE); + .enableCustomHttps("RG", "profile1", "endpoint1", "www-someDomain-net", null, Context.NONE); } } diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_Get.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_Get.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_ListByEndpoint.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_ListByEndpoint.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_ListByEndpoint.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/CustomDomains_ListByEndpoint.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/EdgeNodes_List.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/EdgeNodes_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/EdgeNodes_List.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/EdgeNodes_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_Create.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_Create.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_Create.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_Delete.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_Delete.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_Get.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_Get.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_ListByProfile.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_ListByProfile.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_ListByProfile.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_ListByProfile.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_ListResourceUsage.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_ListResourceUsage.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_ListResourceUsage.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_ListResourceUsage.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_LoadContent.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_LoadContent.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_LoadContent.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_LoadContent.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_PurgeContent.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_PurgeContent.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_PurgeContent.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_PurgeContent.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_Start.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_Start.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_Start.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_Start.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_Stop.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_Stop.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_Stop.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_Stop.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_Update.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_Update.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_Update.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_Update.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_ValidateCustomDomain.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_ValidateCustomDomain.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_ValidateCustomDomain.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Endpoints_ValidateCustomDomain.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/LogAnalytics_GetLogAnalyticsLocations.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/LogAnalytics_GetLogAnalyticsLocations.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/LogAnalytics_GetLogAnalyticsLocations.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/LogAnalytics_GetLogAnalyticsLocations.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/LogAnalytics_GetLogAnalyticsMetrics.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/LogAnalytics_GetLogAnalyticsMetrics.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/LogAnalytics_GetLogAnalyticsMetrics.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/LogAnalytics_GetLogAnalyticsMetrics.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/LogAnalytics_GetLogAnalyticsRankings.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/LogAnalytics_GetLogAnalyticsRankings.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/LogAnalytics_GetLogAnalyticsRankings.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/LogAnalytics_GetLogAnalyticsRankings.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/LogAnalytics_GetLogAnalyticsResources.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/LogAnalytics_GetLogAnalyticsResources.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/LogAnalytics_GetLogAnalyticsResources.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/LogAnalytics_GetLogAnalyticsResources.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/LogAnalytics_GetWafLogAnalyticsMetrics.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/LogAnalytics_GetWafLogAnalyticsMetrics.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/LogAnalytics_GetWafLogAnalyticsMetrics.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/LogAnalytics_GetWafLogAnalyticsMetrics.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/LogAnalytics_GetWafLogAnalyticsRankings.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/LogAnalytics_GetWafLogAnalyticsRankings.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/LogAnalytics_GetWafLogAnalyticsRankings.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/LogAnalytics_GetWafLogAnalyticsRankings.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Operations_List.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Operations_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Operations_List.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Operations_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/OriginGroups_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/OriginGroups_Create.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/OriginGroups_Create.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/OriginGroups_Create.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/OriginGroups_Delete.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/OriginGroups_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/OriginGroups_Delete.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/OriginGroups_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/OriginGroups_Get.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/OriginGroups_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/OriginGroups_Get.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/OriginGroups_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/OriginGroups_ListByEndpoint.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/OriginGroups_ListByEndpoint.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/OriginGroups_ListByEndpoint.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/OriginGroups_ListByEndpoint.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/OriginGroups_Update.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/OriginGroups_Update.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/OriginGroups_Update.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/OriginGroups_Update.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Origins_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Origins_Create.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Origins_Create.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Origins_Create.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Origins_Delete.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Origins_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Origins_Delete.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Origins_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Origins_Get.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Origins_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Origins_Get.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Origins_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Origins_ListByEndpoint.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Origins_ListByEndpoint.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Origins_ListByEndpoint.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Origins_ListByEndpoint.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Origins_Update.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Origins_Update.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Origins_Update.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Origins_Update.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_Create.java b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_Create.java index 60da7779f8..eae5e8ea0f 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_Create.java +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_Create.java @@ -22,9 +22,7 @@ public final class Main { .create( "RG", "profile1", - new ProfileInner() - .withLocation("WestCentralUs") - .withSku(new Sku().withName(SkuName.PREMIUM_AZURE_FRONT_DOOR)), + new ProfileInner().withLocation("global").withSku(new Sku().withName(SkuName.PREMIUM_AZURE_FRONT_DOOR)), Context.NONE); } } diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_Create.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_Create.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_Create.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_Delete.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_Delete.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_GenerateSsoUri.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_GenerateSsoUri.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_GenerateSsoUri.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_GenerateSsoUri.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_Get.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_Get.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_List.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_List.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_ListByResourceGroup.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_ListByResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_ListByResourceGroup.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_ListByResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_ListResourceUsage.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_ListResourceUsage.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_ListResourceUsage.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_ListResourceUsage.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_ListSupportedOptimizationTypes.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_ListSupportedOptimizationTypes.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_ListSupportedOptimizationTypes.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_ListSupportedOptimizationTypes.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_Update.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_Update.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_Update.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Profiles_Update.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/ResourceUsage_List.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/ResourceUsage_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/ResourceUsage_List.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/ResourceUsage_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Routes_Create.java b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Routes_Create.java index f87ffd448d..af94200b98 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Routes_Create.java +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Routes_Create.java @@ -1,17 +1,15 @@ -import com.azure.core.management.serializer.SerializerFactory; import com.azure.core.util.Context; -import com.azure.core.util.serializer.SerializerEncoding; import com.azure.resourcemanager.cdn.fluent.models.RouteInner; import com.azure.resourcemanager.cdn.models.ActivatedResourceReference; import com.azure.resourcemanager.cdn.models.AfdEndpointProtocols; import com.azure.resourcemanager.cdn.models.AfdQueryStringCachingBehavior; import com.azure.resourcemanager.cdn.models.AfdRouteCacheConfiguration; +import com.azure.resourcemanager.cdn.models.CompressionSettings; import com.azure.resourcemanager.cdn.models.EnabledState; import com.azure.resourcemanager.cdn.models.ForwardingProtocol; import com.azure.resourcemanager.cdn.models.HttpsRedirect; import com.azure.resourcemanager.cdn.models.LinkToDefaultDomain; import com.azure.resourcemanager.cdn.models.ResourceReference; -import java.io.IOException; import java.util.Arrays; /** Samples for Routes Create. */ @@ -24,7 +22,7 @@ public final class Main { * * @param azure The entry point for accessing resource management APIs in Azure. */ - public static void routesCreate(com.azure.resourcemanager.AzureResourceManager azure) throws IOException { + public static void routesCreate(com.azure.resourcemanager.AzureResourceManager azure) { azure .cdnProfiles() .manager() @@ -60,12 +58,9 @@ public final class Main { AfdQueryStringCachingBehavior.IGNORE_SPECIFIED_QUERY_STRINGS) .withQueryParameters("querystring=test") .withCompressionSettings( - SerializerFactory - .createDefaultManagementSerializerAdapter() - .deserialize( - "{\"contentTypesToCompress\":[\"text/html\",\"application/octet-stream\"],\"isCompressionEnabled\":true}", - Object.class, - SerializerEncoding.JSON))) + new CompressionSettings() + .withContentTypesToCompress(Arrays.asList("text/html", "application/octet-stream")) + .withIsCompressionEnabled(true))) .withForwardingProtocol(ForwardingProtocol.MATCH_REQUEST) .withLinkToDefaultDomain(LinkToDefaultDomain.ENABLED) .withHttpsRedirect(HttpsRedirect.ENABLED) diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Routes_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Routes_Create.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Routes_Create.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Routes_Create.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Routes_Delete.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Routes_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Routes_Delete.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Routes_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Routes_Get.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Routes_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Routes_Get.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Routes_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Routes_ListByEndpoint.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Routes_ListByEndpoint.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Routes_ListByEndpoint.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Routes_ListByEndpoint.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Routes_Update.java b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Routes_Update.java index 7a4eb9ee6a..95286065b1 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Routes_Update.java +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Routes_Update.java @@ -1,17 +1,15 @@ -import com.azure.core.management.serializer.SerializerFactory; import com.azure.core.util.Context; -import com.azure.core.util.serializer.SerializerEncoding; import com.azure.resourcemanager.cdn.models.ActivatedResourceReference; import com.azure.resourcemanager.cdn.models.AfdEndpointProtocols; import com.azure.resourcemanager.cdn.models.AfdQueryStringCachingBehavior; import com.azure.resourcemanager.cdn.models.AfdRouteCacheConfiguration; +import com.azure.resourcemanager.cdn.models.CompressionSettings; import com.azure.resourcemanager.cdn.models.EnabledState; import com.azure.resourcemanager.cdn.models.ForwardingProtocol; import com.azure.resourcemanager.cdn.models.HttpsRedirect; import com.azure.resourcemanager.cdn.models.LinkToDefaultDomain; import com.azure.resourcemanager.cdn.models.ResourceReference; import com.azure.resourcemanager.cdn.models.RouteUpdateParameters; -import java.io.IOException; import java.util.Arrays; /** Samples for Routes Update. */ @@ -24,7 +22,7 @@ public final class Main { * * @param azure The entry point for accessing resource management APIs in Azure. */ - public static void routesUpdate(com.azure.resourcemanager.AzureResourceManager azure) throws IOException { + public static void routesUpdate(com.azure.resourcemanager.AzureResourceManager azure) { azure .cdnProfiles() .manager() @@ -58,12 +56,9 @@ public final class Main { new AfdRouteCacheConfiguration() .withQueryStringCachingBehavior(AfdQueryStringCachingBehavior.IGNORE_QUERY_STRING) .withCompressionSettings( - SerializerFactory - .createDefaultManagementSerializerAdapter() - .deserialize( - "{\"contentTypesToCompress\":[\"text/html\",\"application/octet-stream\"],\"isCompressionEnabled\":true}", - Object.class, - SerializerEncoding.JSON))) + new CompressionSettings() + .withContentTypesToCompress(Arrays.asList("text/html", "application/octet-stream")) + .withIsCompressionEnabled(true))) .withForwardingProtocol(ForwardingProtocol.MATCH_REQUEST) .withLinkToDefaultDomain(LinkToDefaultDomain.ENABLED) .withHttpsRedirect(HttpsRedirect.ENABLED) diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Routes_Update.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Routes_Update.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Routes_Update.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Routes_Update.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/RuleSets_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/RuleSets_Create.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/RuleSets_Create.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/RuleSets_Create.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/RuleSets_Delete.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/RuleSets_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/RuleSets_Delete.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/RuleSets_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/RuleSets_Get.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/RuleSets_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/RuleSets_Get.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/RuleSets_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/RuleSets_ListByProfile.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/RuleSets_ListByProfile.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/RuleSets_ListByProfile.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/RuleSets_ListByProfile.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/RuleSets_ListResourceUsage.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/RuleSets_ListResourceUsage.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/RuleSets_ListResourceUsage.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/RuleSets_ListResourceUsage.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Rules_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Rules_Create.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Rules_Create.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Rules_Create.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Rules_Delete.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Rules_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Rules_Delete.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Rules_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Rules_Get.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Rules_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Rules_Get.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Rules_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Rules_ListByRuleSet.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Rules_ListByRuleSet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Rules_ListByRuleSet.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Rules_ListByRuleSet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Rules_Update.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Rules_Update.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Rules_Update.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Rules_Update.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Secrets_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Secrets_Create.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Secrets_Create.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Secrets_Create.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Secrets_Delete.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Secrets_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Secrets_Delete.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Secrets_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Secrets_Get.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Secrets_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Secrets_Get.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Secrets_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Secrets_ListByProfile.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Secrets_ListByProfile.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Secrets_ListByProfile.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Secrets_ListByProfile.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/SecurityPolicies_Create.java b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/SecurityPolicies_Create.java index 5f227ee6b8..c3d95b741d 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/SecurityPolicies_Create.java +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/SecurityPolicies_Create.java @@ -42,10 +42,10 @@ public final class Main { .asList( new ActivatedResourceReference() .withId( - "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/afddomains/testdomain1"), + "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/testdomain1"), new ActivatedResourceReference() .withId( - "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/afddomains/testdomain2"))) + "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/testdomain2"))) .withPatternsToMatch(Arrays.asList("/*"))))), Context.NONE); } diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/SecurityPolicies_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/SecurityPolicies_Create.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/SecurityPolicies_Create.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/SecurityPolicies_Create.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/SecurityPolicies_Delete.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/SecurityPolicies_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/SecurityPolicies_Delete.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/SecurityPolicies_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/SecurityPolicies_Get.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/SecurityPolicies_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/SecurityPolicies_Get.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/SecurityPolicies_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/SecurityPolicies_ListByProfile.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/SecurityPolicies_ListByProfile.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/SecurityPolicies_ListByProfile.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/SecurityPolicies_ListByProfile.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/SecurityPolicies_Patch.java b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/SecurityPolicies_Patch.java index 37f3b9a718..d19d90cef4 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/SecurityPolicies_Patch.java +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/SecurityPolicies_Patch.java @@ -42,10 +42,10 @@ public final class Main { .asList( new ActivatedResourceReference() .withId( - "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/afddomains/testdomain1"), + "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/testdomain1"), new ActivatedResourceReference() .withId( - "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/afddomains/testdomain2"))) + "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/customdomains/testdomain2"))) .withPatternsToMatch(Arrays.asList("/*"))))), Context.NONE); } diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/SecurityPolicies_Patch.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/SecurityPolicies_Patch.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/SecurityPolicies_Patch.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/SecurityPolicies_Patch.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Validate_Secret.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Validate_Secret.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Validate_Secret.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/Validate_Secret.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/WafListManagedRuleSets.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/WafListManagedRuleSets.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/WafListManagedRuleSets.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/WafListManagedRuleSets.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/WafListPolicies.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/WafListPolicies.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/WafListPolicies.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/WafListPolicies.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/WafPatchPolicy.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/WafPatchPolicy.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/WafPatchPolicy.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/WafPatchPolicy.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/WafPolicyCreateOrUpdate.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/WafPolicyCreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/WafPolicyCreateOrUpdate.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/WafPolicyCreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/WafPolicyDelete.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/WafPolicyDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/WafPolicyDelete.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/WafPolicyDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/WafPolicyGet.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/WafPolicyGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/WafPolicyGet.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples-java/WafPolicyGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceOSFamilies_List.java b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceOSFamilies_List.java index 671c5afbd7..3bd8837b4a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceOSFamilies_List.java +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceOSFamilies_List.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CloudServiceOperatingSystems ListOSFamilies. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceOSFamilies_List.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples/CloudServiceOSFamilies_List.json */ /** * Sample code: List Cloud Service OS Families in a subscription. diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceOSFamilies_List.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceOSFamilies_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceOSFamilies_List.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceOSFamilies_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceOSFamily_Get.java b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceOSFamily_Get.java index aa4c9527f5..2dccf0f57e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceOSFamily_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceOSFamily_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CloudServiceOperatingSystems GetOSFamily. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceOSFamily_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples/CloudServiceOSFamily_Get.json */ /** * Sample code: Get Cloud Service OS Family. diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceOSFamily_Get.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceOSFamily_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceOSFamily_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceOSFamily_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceOSVersion_Get.java b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceOSVersion_Get.java index ae8da86240..49f7b2d5bf 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceOSVersion_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceOSVersion_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CloudServiceOperatingSystems GetOSVersion. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceOSVersion_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples/CloudServiceOSVersion_Get.json */ /** * Sample code: Get Cloud Service OS Version. diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceOSVersion_Get.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceOSVersion_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceOSVersion_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceOSVersion_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceOSVersion_List.java b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceOSVersion_List.java index 3c57824593..378b7ecddb 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceOSVersion_List.java +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceOSVersion_List.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CloudServiceOperatingSystems ListOSVersions. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceOSVersion_List.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples/CloudServiceOSVersion_List.json */ /** * Sample code: List Cloud Service OS Versions in a subscription. diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceOSVersion_List.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceOSVersion_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceOSVersion_List.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceOSVersion_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Delete.java b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Delete.java index 24996116fc..b0a8cb74c2 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Delete.java +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Delete.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CloudServiceRoleInstances Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Delete.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples/CloudServiceRoleInstance_Delete.json */ /** * Sample code: Delete Cloud Service Role Instance. diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Delete.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Delete.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Delete_ByCloudService.java b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Delete_ByCloudService.java index 5ac0f3cbbb..553f9b2872 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Delete_ByCloudService.java +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Delete_ByCloudService.java @@ -5,7 +5,7 @@ import java.util.Arrays; /** Samples for CloudServices DeleteInstances. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Delete_ByCloudService.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples/CloudServiceRoleInstance_Delete_ByCloudService.json */ /** * Sample code: Delete Cloud Service Role Instances in a Cloud Service. diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Delete_ByCloudService.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Delete_ByCloudService.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Delete_ByCloudService.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Delete_ByCloudService.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Get.java b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Get.java index d8b0e33904..b11b790d73 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CloudServiceRoleInstances Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples/CloudServiceRoleInstance_Get.json */ /** * Sample code: Get Cloud Service Role Instance. diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Get.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Get_InstanceView.java b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Get_InstanceView.java index 7c2bceb252..4234af1c29 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Get_InstanceView.java +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Get_InstanceView.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CloudServiceRoleInstances GetInstanceView. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Get_InstanceView.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples/CloudServiceRoleInstance_Get_InstanceView.json */ /** * Sample code: Get Instance View of Cloud Service Role Instance. diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Get_InstanceView.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Get_InstanceView.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Get_InstanceView.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Get_InstanceView.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Get_RemoteDesktopFile.java b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Get_RemoteDesktopFile.java index 0f983dae6c..512e8b867f 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Get_RemoteDesktopFile.java +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Get_RemoteDesktopFile.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CloudServiceRoleInstances GetRemoteDesktopFile. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Get_RemoteDesktopFile.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples/CloudServiceRoleInstance_Get_RemoteDesktopFile.json */ /** * Sample code: Get Cloud Service Role. diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Get_RemoteDesktopFile.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Get_RemoteDesktopFile.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Get_RemoteDesktopFile.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Get_RemoteDesktopFile.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Rebuild.java b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Rebuild.java index e53c0e06f9..5117f3f885 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Rebuild.java +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Rebuild.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CloudServiceRoleInstances Rebuild. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Rebuild.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples/CloudServiceRoleInstance_Rebuild.json */ /** * Sample code: Rebuild Cloud Service Role Instance. diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Rebuild.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Rebuild.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Rebuild.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Rebuild.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Rebuild_ByCloudService.java b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Rebuild_ByCloudService.java index 1d2246341b..1b12624e0f 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Rebuild_ByCloudService.java +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Rebuild_ByCloudService.java @@ -5,7 +5,7 @@ import java.util.Arrays; /** Samples for CloudServices Rebuild. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Rebuild_ByCloudService.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples/CloudServiceRoleInstance_Rebuild_ByCloudService.json */ /** * Sample code: Rebuild Cloud Service Role Instances in a Cloud Service. diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Rebuild_ByCloudService.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Rebuild_ByCloudService.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Rebuild_ByCloudService.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Rebuild_ByCloudService.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Reimage.java b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Reimage.java index b32db7d6f8..017d6fddcb 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Reimage.java +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Reimage.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CloudServiceRoleInstances Reimage. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Reimage.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples/CloudServiceRoleInstance_Reimage.json */ /** * Sample code: Reimage Cloud Service Role Instance. diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Reimage.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Reimage.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Reimage.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Reimage.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Reimage_ByCloudService.java b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Reimage_ByCloudService.java index 75c7c06c96..370474e010 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Reimage_ByCloudService.java +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Reimage_ByCloudService.java @@ -5,7 +5,7 @@ import java.util.Arrays; /** Samples for CloudServices Reimage. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Reimage_ByCloudService.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples/CloudServiceRoleInstance_Reimage_ByCloudService.json */ /** * Sample code: Reimage Cloud Service Role Instances in a Cloud Service. diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Reimage_ByCloudService.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Reimage_ByCloudService.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Reimage_ByCloudService.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Reimage_ByCloudService.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Restart.java b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Restart.java index 39e768fab2..2305ff3d34 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Restart.java +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Restart.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CloudServiceRoleInstances Restart. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Restart.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples/CloudServiceRoleInstance_Restart.json */ /** * Sample code: Restart Cloud Service Role Instance. diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Restart.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Restart.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Restart.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Restart.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Restart_ByCloudService.java b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Restart_ByCloudService.java index ada4b3d828..8d41eeda6a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Restart_ByCloudService.java +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Restart_ByCloudService.java @@ -5,7 +5,7 @@ import java.util.Arrays; /** Samples for CloudServices Restart. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Restart_ByCloudService.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples/CloudServiceRoleInstance_Restart_ByCloudService.json */ /** * Sample code: Restart Cloud Service Role Instances in a Cloud Service. diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Restart_ByCloudService.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Restart_ByCloudService.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Restart_ByCloudService.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRoleInstance_Restart_ByCloudService.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRole_Get.java b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRole_Get.java index 9ede4a6825..917d43e195 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRole_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRole_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CloudServiceRoles Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRole_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples/CloudServiceRole_Get.json */ /** * Sample code: Get Cloud Service Role. diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRole_Get.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRole_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRole_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRole_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRole_List.java b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRole_List.java index ce60189173..8bc85f0685 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRole_List.java +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRole_List.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CloudServiceRoles List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRole_List.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples/CloudServiceRole_List.json */ /** * Sample code: List Roles in a Cloud Service. diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRole_List.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRole_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRole_List.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRole_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRolesInstance_List.java b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRolesInstance_List.java index 3e4c9865f9..453ff18758 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRolesInstance_List.java +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRolesInstance_List.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CloudServiceRoleInstances List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRolesInstance_List.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples/CloudServiceRolesInstance_List.json */ /** * Sample code: List Role Instances in a Cloud Service. diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRolesInstance_List.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRolesInstance_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRolesInstance_List.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceRolesInstance_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceUpdateDomain_Get.java b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceUpdateDomain_Get.java index e994cf78ac..f5c6bf2a44 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceUpdateDomain_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceUpdateDomain_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CloudServicesUpdateDomain GetUpdateDomain. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceUpdateDomain_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples/CloudServiceUpdateDomain_Get.json */ /** * Sample code: Get Cloud Service Update Domain. diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceUpdateDomain_Get.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceUpdateDomain_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceUpdateDomain_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceUpdateDomain_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceUpdateDomain_List.java b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceUpdateDomain_List.java index 0fc5868360..385256ce70 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceUpdateDomain_List.java +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceUpdateDomain_List.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CloudServicesUpdateDomain ListUpdateDomains. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceUpdateDomain_List.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples/CloudServiceUpdateDomain_List.json */ /** * Sample code: List Update Domains in Cloud Service. diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceUpdateDomain_List.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceUpdateDomain_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceUpdateDomain_List.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceUpdateDomain_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceUpdateDomain_Update.java b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceUpdateDomain_Update.java index c6b918adb7..5126c287b1 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceUpdateDomain_Update.java +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceUpdateDomain_Update.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CloudServicesUpdateDomain WalkUpdateDomain. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceUpdateDomain_Update.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples/CloudServiceUpdateDomain_Update.json */ /** * Sample code: Update Cloud Service to specified Domain. diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceUpdateDomain_Update.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceUpdateDomain_Update.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceUpdateDomain_Update.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudServiceUpdateDomain_Update.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Create_WithMultiRole.java b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Create_WithMultiRole.java index 0f453d019d..03c95bb282 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Create_WithMultiRole.java +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Create_WithMultiRole.java @@ -16,7 +16,7 @@ import java.util.Arrays; /** Samples for CloudServices CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithMultiRole.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples/CloudService_Create_WithMultiRole.json */ /** * Sample code: Create New Cloud Service with Multiple Roles. diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Create_WithMultiRole.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Create_WithMultiRole.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Create_WithMultiRole.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Create_WithMultiRole.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Create_WithSingleRole.java b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Create_WithSingleRole.java index 04f4672804..1ac37e74ae 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Create_WithSingleRole.java +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Create_WithSingleRole.java @@ -16,7 +16,7 @@ import java.util.Arrays; /** Samples for CloudServices CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithSingleRole.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples/CloudService_Create_WithSingleRole.json */ /** * Sample code: Create New Cloud Service with Single Role. diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Create_WithSingleRole.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Create_WithSingleRole.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Create_WithSingleRole.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Create_WithSingleRole.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Create_WithSingleRoleAndCertificate.java b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Create_WithSingleRoleAndCertificate.java index e971ce5957..b4380fabc1 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Create_WithSingleRoleAndCertificate.java +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Create_WithSingleRoleAndCertificate.java @@ -19,7 +19,7 @@ import java.util.Arrays; /** Samples for CloudServices CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithSingleRoleAndCertificate.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples/CloudService_Create_WithSingleRoleAndCertificate.json */ /** * Sample code: Create New Cloud Service with Single Role and Certificate from Key Vault. diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Create_WithSingleRoleAndCertificate.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Create_WithSingleRoleAndCertificate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Create_WithSingleRoleAndCertificate.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Create_WithSingleRoleAndCertificate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Create_WithSingleRoleAndRDP.java b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Create_WithSingleRoleAndRDP.java index 73d4bcf460..dc1343658f 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Create_WithSingleRoleAndRDP.java +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Create_WithSingleRoleAndRDP.java @@ -19,7 +19,7 @@ import java.util.Arrays; /** Samples for CloudServices CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithSingleRoleAndRDP.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples/CloudService_Create_WithSingleRoleAndRDP.json */ /** * Sample code: Create New Cloud Service with Single Role and RDP Extension. diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Create_WithSingleRoleAndRDP.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Create_WithSingleRoleAndRDP.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Create_WithSingleRoleAndRDP.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Create_WithSingleRoleAndRDP.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Delete.java b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Delete.java index 1ab92f984f..a1491f0769 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Delete.java +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Delete.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CloudServices Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Delete.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples/CloudService_Delete.json */ /** * Sample code: Delete Cloud Service. diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Delete.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Delete.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Get_InstanceViewWithMultiRole.java b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Get_InstanceViewWithMultiRole.java index bc70285460..ee29b71868 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Get_InstanceViewWithMultiRole.java +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Get_InstanceViewWithMultiRole.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CloudServices GetInstanceView. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Get_InstanceViewWithMultiRole.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples/CloudService_Get_InstanceViewWithMultiRole.json */ /** * Sample code: Get Cloud Service Instance View with Multiple Roles. diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Get_InstanceViewWithMultiRole.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Get_InstanceViewWithMultiRole.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Get_InstanceViewWithMultiRole.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Get_InstanceViewWithMultiRole.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Get_WithMultiRoleAndRDP.java b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Get_WithMultiRoleAndRDP.java index 465e4c1d27..3c334bfca3 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Get_WithMultiRoleAndRDP.java +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Get_WithMultiRoleAndRDP.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CloudServices GetByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Get_WithMultiRoleAndRDP.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples/CloudService_Get_WithMultiRoleAndRDP.json */ /** * Sample code: Get Cloud Service with Multiple Roles and RDP Extension. diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Get_WithMultiRoleAndRDP.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Get_WithMultiRoleAndRDP.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Get_WithMultiRoleAndRDP.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Get_WithMultiRoleAndRDP.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_List_ByResourceGroup.java b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_List_ByResourceGroup.java index 603d9ac0ca..71347ae155 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_List_ByResourceGroup.java +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_List_ByResourceGroup.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CloudServices ListByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_List_ByResourceGroup.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples/CloudService_List_ByResourceGroup.json */ /** * Sample code: List Cloud Services in a Resource Group. diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_List_ByResourceGroup.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_List_ByResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_List_ByResourceGroup.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_List_ByResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_List_BySubscription.java b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_List_BySubscription.java index 3da337f011..e060449869 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_List_BySubscription.java +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_List_BySubscription.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CloudServices List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_List_BySubscription.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples/CloudService_List_BySubscription.json */ /** * Sample code: List Cloud Services in a Subscription. diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_List_BySubscription.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_List_BySubscription.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_List_BySubscription.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_List_BySubscription.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_PowerOff.java b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_PowerOff.java index 5e68723b06..d49b5d7687 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_PowerOff.java +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_PowerOff.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CloudServices PowerOff. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_PowerOff.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples/CloudService_PowerOff.json */ /** * Sample code: Stop or PowerOff Cloud Service. diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_PowerOff.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_PowerOff.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_PowerOff.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_PowerOff.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Start.java b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Start.java index 44f5c066bd..e308759ecb 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Start.java +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Start.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CloudServices Start. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Start.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples/CloudService_Start.json */ /** * Sample code: Start Cloud Service. diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Start.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Start.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Start.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Start.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Update_ToIncludeTags.java b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Update_ToIncludeTags.java index ab6e6742a4..c00c744437 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Update_ToIncludeTags.java +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Update_ToIncludeTags.java @@ -6,7 +6,7 @@ import java.util.Map; /** Samples for CloudServices Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Update_ToIncludeTags.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples/CloudService_Update_ToIncludeTags.json */ /** * Sample code: Update existing Cloud Service to add tags. diff --git a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Update_ToIncludeTags.json b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Update_ToIncludeTags.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Update_ToIncludeTags.json +++ b/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-04-04/examples-java/CloudService_Update_ToIncludeTags.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySet_Create.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySet_Create.java index 34da2318ef..b9c7c24ef3 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySet_Create.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySet_Create.java @@ -4,7 +4,7 @@ import com.azure.resourcemanager.compute.fluent.models.AvailabilitySetInner; /** Samples for AvailabilitySets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/availabilitySetExamples/AvailabilitySet_Create.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/availabilitySetExamples/AvailabilitySet_Create.json */ /** * Sample code: Create an availability set. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySet_Create.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySet_Create.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySet_Create.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySet_Create.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySet_ListBySubscription.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySet_ListBySubscription.java index a855022d3f..7559562f51 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySet_ListBySubscription.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySet_ListBySubscription.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for AvailabilitySets List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/availabilitySetExamples/AvailabilitySet_ListBySubscription.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/availabilitySetExamples/AvailabilitySet_ListBySubscription.json */ /** * Sample code: List availability sets in a subscription. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySet_ListBySubscription.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySet_ListBySubscription.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySet_ListBySubscription.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySet_ListBySubscription.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Delete_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Delete_MaximumSet_Gen.java index 7e24cb7159..4f38407b67 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Delete_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Delete_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for AvailabilitySets Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/availabilitySetExamples/AvailabilitySets_Delete_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/availabilitySetExamples/AvailabilitySets_Delete_MaximumSet_Gen.json */ /** * Sample code: AvailabilitySets_Delete_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Delete_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Delete_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Delete_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Delete_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Delete_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Delete_MinimumSet_Gen.java index d88551f297..7108e68205 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Delete_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Delete_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for AvailabilitySets Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/availabilitySetExamples/AvailabilitySets_Delete_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/availabilitySetExamples/AvailabilitySets_Delete_MinimumSet_Gen.json */ /** * Sample code: AvailabilitySets_Delete_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Delete_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Delete_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Delete_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Delete_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Get_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Get_MaximumSet_Gen.java index 4ce49515cd..b0c111af58 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Get_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Get_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for AvailabilitySets GetByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/availabilitySetExamples/AvailabilitySets_Get_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/availabilitySetExamples/AvailabilitySets_Get_MaximumSet_Gen.json */ /** * Sample code: AvailabilitySets_Get_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Get_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Get_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Get_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Get_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Get_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Get_MinimumSet_Gen.java index 55ae477e5d..ad8ee39ff6 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Get_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Get_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for AvailabilitySets GetByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/availabilitySetExamples/AvailabilitySets_Get_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/availabilitySetExamples/AvailabilitySets_Get_MinimumSet_Gen.json */ /** * Sample code: AvailabilitySets_Get_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Get_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Get_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Get_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Get_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_ListAvailableSizes_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_ListAvailableSizes_MaximumSet_Gen.java index 2e4ce1949f..f04c9e3057 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_ListAvailableSizes_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_ListAvailableSizes_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for AvailabilitySets ListAvailableSizes. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/availabilitySetExamples/AvailabilitySets_ListAvailableSizes_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/availabilitySetExamples/AvailabilitySets_ListAvailableSizes_MaximumSet_Gen.json */ /** * Sample code: AvailabilitySets_ListAvailableSizes_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_ListAvailableSizes_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_ListAvailableSizes_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_ListAvailableSizes_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_ListAvailableSizes_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_ListAvailableSizes_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_ListAvailableSizes_MinimumSet_Gen.java index 057f691d4f..5e2beb3e6c 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_ListAvailableSizes_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_ListAvailableSizes_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for AvailabilitySets ListAvailableSizes. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/availabilitySetExamples/AvailabilitySets_ListAvailableSizes_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/availabilitySetExamples/AvailabilitySets_ListAvailableSizes_MinimumSet_Gen.json */ /** * Sample code: AvailabilitySets_ListAvailableSizes_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_ListAvailableSizes_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_ListAvailableSizes_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_ListAvailableSizes_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_ListAvailableSizes_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_List_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_List_MaximumSet_Gen.java index f6df4474a2..d8c626b6c1 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_List_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_List_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for AvailabilitySets ListByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/availabilitySetExamples/AvailabilitySets_List_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/availabilitySetExamples/AvailabilitySets_List_MaximumSet_Gen.json */ /** * Sample code: AvailabilitySets_List_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_List_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_List_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_List_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_List_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_List_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_List_MinimumSet_Gen.java index 0da0722ff0..e0dfbbbdcd 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_List_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_List_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for AvailabilitySets ListByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/availabilitySetExamples/AvailabilitySets_List_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/availabilitySetExamples/AvailabilitySets_List_MinimumSet_Gen.json */ /** * Sample code: AvailabilitySets_List_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_List_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_List_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_List_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_List_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Update_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Update_MaximumSet_Gen.java index fd6a5d351c..daaf9e51a2 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Update_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Update_MaximumSet_Gen.java @@ -9,7 +9,7 @@ import java.util.Map; /** Samples for AvailabilitySets Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/availabilitySetExamples/AvailabilitySets_Update_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/availabilitySetExamples/AvailabilitySets_Update_MaximumSet_Gen.json */ /** * Sample code: AvailabilitySets_Update_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Update_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Update_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Update_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Update_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Update_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Update_MinimumSet_Gen.java index 9d45a0fe31..65df1fb79f 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Update_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Update_MinimumSet_Gen.java @@ -6,7 +6,7 @@ import java.util.Map; /** Samples for AvailabilitySets Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/availabilitySetExamples/AvailabilitySets_Update_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/availabilitySetExamples/AvailabilitySets_Update_MinimumSet_Gen.json */ /** * Sample code: AvailabilitySets_Update_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Update_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Update_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Update_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/availabilitySetExamples/AvailabilitySets_Update_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_CreateOrUpdate.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_CreateOrUpdate.java index 237b3868cc..ed76d5c37d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_CreateOrUpdate.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_CreateOrUpdate.java @@ -7,7 +7,7 @@ import java.util.Map; /** Samples for CapacityReservationGroups CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/capacityReservationExamples/CapacityReservationGroup_CreateOrUpdate.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/capacityReservationExamples/CapacityReservationGroup_CreateOrUpdate.json */ /** * Sample code: Create or update a capacity reservation group. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_CreateOrUpdate.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_CreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_CreateOrUpdate.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_CreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Delete_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Delete_MaximumSet_Gen.java index 199934d823..51eb3198f6 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Delete_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Delete_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CapacityReservationGroups Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/capacityReservationExamples/CapacityReservationGroup_Delete_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/capacityReservationExamples/CapacityReservationGroup_Delete_MaximumSet_Gen.json */ /** * Sample code: CapacityReservationGroups_Delete_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Delete_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Delete_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Delete_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Delete_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Delete_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Delete_MinimumSet_Gen.java index 6742e3fa66..f745f98abd 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Delete_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Delete_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CapacityReservationGroups Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/capacityReservationExamples/CapacityReservationGroup_Delete_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/capacityReservationExamples/CapacityReservationGroup_Delete_MinimumSet_Gen.json */ /** * Sample code: CapacityReservationGroups_Delete_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Delete_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Delete_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Delete_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Delete_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Get.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Get.java index bf3f37e069..040a4c99cd 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CapacityReservationGroups GetByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/capacityReservationExamples/CapacityReservationGroup_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/capacityReservationExamples/CapacityReservationGroup_Get.json */ /** * Sample code: Get a capacity reservation Group. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Get.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_ListByResourceGroup.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_ListByResourceGroup.java index 8824ed44d8..85d044aa59 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_ListByResourceGroup.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_ListByResourceGroup.java @@ -4,7 +4,7 @@ import com.azure.resourcemanager.compute.models.ExpandTypesForGetCapacityReserva /** Samples for CapacityReservationGroups ListByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/capacityReservationExamples/CapacityReservationGroup_ListByResourceGroup.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/capacityReservationExamples/CapacityReservationGroup_ListByResourceGroup.json */ /** * Sample code: List capacity reservation groups in resource group. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_ListByResourceGroup.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_ListByResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_ListByResourceGroup.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_ListByResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_ListBySubscription.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_ListBySubscription.java index 60e990e20f..7a0936910f 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_ListBySubscription.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_ListBySubscription.java @@ -4,7 +4,7 @@ import com.azure.resourcemanager.compute.models.ExpandTypesForGetCapacityReserva /** Samples for CapacityReservationGroups List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/capacityReservationExamples/CapacityReservationGroup_ListBySubscription.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/capacityReservationExamples/CapacityReservationGroup_ListBySubscription.json */ /** * Sample code: List capacity reservation groups in subscription. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_ListBySubscription.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_ListBySubscription.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_ListBySubscription.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_ListBySubscription.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Update_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Update_MaximumSet_Gen.java index 6bd3e89303..36f1cb4c64 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Update_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Update_MaximumSet_Gen.java @@ -6,7 +6,7 @@ import java.util.Map; /** Samples for CapacityReservationGroups Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/capacityReservationExamples/CapacityReservationGroup_Update_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/capacityReservationExamples/CapacityReservationGroup_Update_MaximumSet_Gen.json */ /** * Sample code: CapacityReservationGroups_Update_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Update_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Update_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Update_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Update_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Update_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Update_MinimumSet_Gen.java index f16182e363..b080036068 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Update_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Update_MinimumSet_Gen.java @@ -6,7 +6,7 @@ import java.util.Map; /** Samples for CapacityReservationGroups Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/capacityReservationExamples/CapacityReservationGroup_Update_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/capacityReservationExamples/CapacityReservationGroup_Update_MinimumSet_Gen.json */ /** * Sample code: CapacityReservationGroups_Update_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Update_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Update_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Update_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservationGroup_Update_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_CreateOrUpdate.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_CreateOrUpdate.java index 4357c5720d..07152b0bd0 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_CreateOrUpdate.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_CreateOrUpdate.java @@ -8,7 +8,7 @@ import java.util.Map; /** Samples for CapacityReservations CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/capacityReservationExamples/CapacityReservation_CreateOrUpdate.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/capacityReservationExamples/CapacityReservation_CreateOrUpdate.json */ /** * Sample code: Create or update a capacity reservation . diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_CreateOrUpdate.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_CreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_CreateOrUpdate.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_CreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Delete_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Delete_MaximumSet_Gen.java index 28896cbfdc..891d4d754b 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Delete_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Delete_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CapacityReservations Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/capacityReservationExamples/CapacityReservation_Delete_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/capacityReservationExamples/CapacityReservation_Delete_MaximumSet_Gen.json */ /** * Sample code: CapacityReservations_Delete_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Delete_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Delete_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Delete_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Delete_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Delete_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Delete_MinimumSet_Gen.java index 365777398a..6a677b0d48 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Delete_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Delete_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CapacityReservations Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/capacityReservationExamples/CapacityReservation_Delete_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/capacityReservationExamples/CapacityReservation_Delete_MinimumSet_Gen.json */ /** * Sample code: CapacityReservations_Delete_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Delete_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Delete_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Delete_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Delete_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Get.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Get.java index 3a64aa324c..d72a4d5bc6 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CapacityReservations Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/capacityReservationExamples/CapacityReservation_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/capacityReservationExamples/CapacityReservation_Get.json */ /** * Sample code: Get a capacity reservation. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Get.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_ListByReservationGroup.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_ListByReservationGroup.java index 1d0df96b18..605a6e77d2 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_ListByReservationGroup.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_ListByReservationGroup.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CapacityReservations ListByCapacityReservationGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/capacityReservationExamples/CapacityReservation_ListByReservationGroup.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/capacityReservationExamples/CapacityReservation_ListByReservationGroup.json */ /** * Sample code: List capacity reservations in reservation group. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_ListByReservationGroup.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_ListByReservationGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_ListByReservationGroup.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_ListByReservationGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Update_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Update_MaximumSet_Gen.java index aea2ead7a4..627e47fd7e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Update_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Update_MaximumSet_Gen.java @@ -7,7 +7,7 @@ import java.util.Map; /** Samples for CapacityReservations Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/capacityReservationExamples/CapacityReservation_Update_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/capacityReservationExamples/CapacityReservation_Update_MaximumSet_Gen.json */ /** * Sample code: CapacityReservations_Update_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Update_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Update_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Update_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Update_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Update_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Update_MinimumSet_Gen.java index f5b3f30be0..ffe383ef5c 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Update_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Update_MinimumSet_Gen.java @@ -6,7 +6,7 @@ import java.util.Map; /** Samples for CapacityReservations Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/capacityReservationExamples/CapacityReservation_Update_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/capacityReservationExamples/CapacityReservation_Update_MinimumSet_Gen.json */ /** * Sample code: CapacityReservations_Update_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Update_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Update_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Update_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/capacityReservationExamples/CapacityReservation_Update_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/Operations_List_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/Operations_List_MaximumSet_Gen.java index 7a39d260a3..701f956ad7 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/Operations_List_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/Operations_List_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for Operations List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/computeRPCommonExamples/Operations_List_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/computeRPCommonExamples/Operations_List_MaximumSet_Gen.json */ /** * Sample code: Operations_List_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/Operations_List_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/Operations_List_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/Operations_List_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/Operations_List_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/Operations_List_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/Operations_List_MinimumSet_Gen.java index 5cb47b43be..99c7ffea08 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/Operations_List_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/Operations_List_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for Operations List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/computeRPCommonExamples/Operations_List_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/computeRPCommonExamples/Operations_List_MinimumSet_Gen.json */ /** * Sample code: Operations_List_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/Operations_List_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/Operations_List_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/Operations_List_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/Operations_List_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/Usage_List_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/Usage_List_MaximumSet_Gen.java index 329704a07c..7f6244f9ed 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/Usage_List_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/Usage_List_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for Usage List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/computeRPCommonExamples/Usage_List_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/computeRPCommonExamples/Usage_List_MaximumSet_Gen.json */ /** * Sample code: Usage_List_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/Usage_List_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/Usage_List_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/Usage_List_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/Usage_List_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/Usage_List_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/Usage_List_MinimumSet_Gen.java index 3fc7ea8cb7..8e58ed4fbb 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/Usage_List_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/Usage_List_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for Usage List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/computeRPCommonExamples/Usage_List_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/computeRPCommonExamples/Usage_List_MinimumSet_Gen.json */ /** * Sample code: Usage_List_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/Usage_List_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/Usage_List_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/Usage_List_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/Usage_List_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/VirtualMachineSizes_List_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/VirtualMachineSizes_List_MaximumSet_Gen.java index c57ff51e8e..259482ff2c 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/VirtualMachineSizes_List_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/VirtualMachineSizes_List_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineSizes List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/computeRPCommonExamples/VirtualMachineSizes_List_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/computeRPCommonExamples/VirtualMachineSizes_List_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineSizes_List_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/VirtualMachineSizes_List_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/VirtualMachineSizes_List_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/VirtualMachineSizes_List_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/VirtualMachineSizes_List_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/VirtualMachineSizes_List_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/VirtualMachineSizes_List_MinimumSet_Gen.java index d6b8ceee95..4216f8223b 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/VirtualMachineSizes_List_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/VirtualMachineSizes_List_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineSizes List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/computeRPCommonExamples/VirtualMachineSizes_List_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/computeRPCommonExamples/VirtualMachineSizes_List_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineSizes_List_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/VirtualMachineSizes_List_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/VirtualMachineSizes_List_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/VirtualMachineSizes_List_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/computeRPCommonExamples/VirtualMachineSizes_List_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroup_CreateOrUpdate.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroup_CreateOrUpdate.java index 20f5d25913..5b130b20c6 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroup_CreateOrUpdate.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroup_CreateOrUpdate.java @@ -7,7 +7,7 @@ import java.util.Map; /** Samples for DedicatedHostGroups CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/dedicatedHostExamples/DedicatedHostGroup_CreateOrUpdate.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/dedicatedHostExamples/DedicatedHostGroup_CreateOrUpdate.json */ /** * Sample code: Create or update a dedicated host group. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroup_CreateOrUpdate.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroup_CreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroup_CreateOrUpdate.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroup_CreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroup_CreateOrUpdate_WithUltraSSD.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroup_CreateOrUpdate_WithUltraSSD.java index a8a2855922..60ab352234 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroup_CreateOrUpdate_WithUltraSSD.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroup_CreateOrUpdate_WithUltraSSD.java @@ -8,7 +8,7 @@ import java.util.Map; /** Samples for DedicatedHostGroups CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/dedicatedHostExamples/DedicatedHostGroup_CreateOrUpdate_WithUltraSSD.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/dedicatedHostExamples/DedicatedHostGroup_CreateOrUpdate_WithUltraSSD.json */ /** * Sample code: Create or update a dedicated host group with Ultra SSD support. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroup_CreateOrUpdate_WithUltraSSD.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroup_CreateOrUpdate_WithUltraSSD.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroup_CreateOrUpdate_WithUltraSSD.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroup_CreateOrUpdate_WithUltraSSD.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroup_Get.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroup_Get.java index 4ebc5bc686..0b82812603 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroup_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroup_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for DedicatedHostGroups GetByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/dedicatedHostExamples/DedicatedHostGroup_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/dedicatedHostExamples/DedicatedHostGroup_Get.json */ /** * Sample code: Create a dedicated host group. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroup_Get.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroup_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroup_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroup_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroup_Get_UltraSSDEnabledDedicatedHostGroup.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroup_Get_UltraSSDEnabledDedicatedHostGroup.java index e63c640cbb..64f1ee10ae 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroup_Get_UltraSSDEnabledDedicatedHostGroup.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroup_Get_UltraSSDEnabledDedicatedHostGroup.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for DedicatedHostGroups GetByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/dedicatedHostExamples/DedicatedHostGroup_Get_UltraSSDEnabledDedicatedHostGroup.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/dedicatedHostExamples/DedicatedHostGroup_Get_UltraSSDEnabledDedicatedHostGroup.json */ /** * Sample code: Create an ultraSSDEnabled dedicated host group. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroup_Get_UltraSSDEnabledDedicatedHostGroup.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroup_Get_UltraSSDEnabledDedicatedHostGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroup_Get_UltraSSDEnabledDedicatedHostGroup.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroup_Get_UltraSSDEnabledDedicatedHostGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_Delete_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_Delete_MaximumSet_Gen.java index 1eba01ebd8..8795ed43c9 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_Delete_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_Delete_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for DedicatedHostGroups Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/dedicatedHostExamples/DedicatedHostGroups_Delete_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/dedicatedHostExamples/DedicatedHostGroups_Delete_MaximumSet_Gen.json */ /** * Sample code: DedicatedHostGroups_Delete_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_Delete_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_Delete_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_Delete_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_Delete_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_Delete_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_Delete_MinimumSet_Gen.java index de31552471..dcbaa6f019 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_Delete_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_Delete_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for DedicatedHostGroups Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/dedicatedHostExamples/DedicatedHostGroups_Delete_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/dedicatedHostExamples/DedicatedHostGroups_Delete_MinimumSet_Gen.json */ /** * Sample code: DedicatedHostGroups_Delete_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_Delete_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_Delete_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_Delete_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_Delete_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_ListByResourceGroup_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_ListByResourceGroup_MaximumSet_Gen.java index ea7273f0af..063e903ece 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_ListByResourceGroup_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_ListByResourceGroup_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for DedicatedHostGroups ListByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/dedicatedHostExamples/DedicatedHostGroups_ListByResourceGroup_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/dedicatedHostExamples/DedicatedHostGroups_ListByResourceGroup_MaximumSet_Gen.json */ /** * Sample code: DedicatedHostGroups_ListByResourceGroup_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_ListByResourceGroup_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_ListByResourceGroup_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_ListByResourceGroup_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_ListByResourceGroup_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_ListByResourceGroup_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_ListByResourceGroup_MinimumSet_Gen.java index 49ee48fdd5..8152fb091d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_ListByResourceGroup_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_ListByResourceGroup_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for DedicatedHostGroups ListByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/dedicatedHostExamples/DedicatedHostGroups_ListByResourceGroup_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/dedicatedHostExamples/DedicatedHostGroups_ListByResourceGroup_MinimumSet_Gen.json */ /** * Sample code: DedicatedHostGroups_ListByResourceGroup_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_ListByResourceGroup_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_ListByResourceGroup_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_ListByResourceGroup_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_ListByResourceGroup_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_ListBySubscription_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_ListBySubscription_MaximumSet_Gen.java index 782c202a36..50a33ae2a5 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_ListBySubscription_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_ListBySubscription_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for DedicatedHostGroups List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/dedicatedHostExamples/DedicatedHostGroups_ListBySubscription_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/dedicatedHostExamples/DedicatedHostGroups_ListBySubscription_MaximumSet_Gen.json */ /** * Sample code: DedicatedHostGroups_ListBySubscription_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_ListBySubscription_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_ListBySubscription_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_ListBySubscription_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_ListBySubscription_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_ListBySubscription_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_ListBySubscription_MinimumSet_Gen.java index 494dd5406d..117db1ff1a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_ListBySubscription_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_ListBySubscription_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for DedicatedHostGroups List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/dedicatedHostExamples/DedicatedHostGroups_ListBySubscription_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/dedicatedHostExamples/DedicatedHostGroups_ListBySubscription_MinimumSet_Gen.json */ /** * Sample code: DedicatedHostGroups_ListBySubscription_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_ListBySubscription_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_ListBySubscription_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_ListBySubscription_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_ListBySubscription_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_Update_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_Update_MaximumSet_Gen.java index a3525f1a95..fdb2b50e10 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_Update_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_Update_MaximumSet_Gen.java @@ -7,7 +7,7 @@ import java.util.Map; /** Samples for DedicatedHostGroups Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/dedicatedHostExamples/DedicatedHostGroups_Update_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/dedicatedHostExamples/DedicatedHostGroups_Update_MaximumSet_Gen.json */ /** * Sample code: DedicatedHostGroups_Update_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_Update_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_Update_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_Update_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_Update_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_Update_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_Update_MinimumSet_Gen.java index 5ebd62734a..13c6791d43 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_Update_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_Update_MinimumSet_Gen.java @@ -6,7 +6,7 @@ import java.util.Map; /** Samples for DedicatedHostGroups Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/dedicatedHostExamples/DedicatedHostGroups_Update_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/dedicatedHostExamples/DedicatedHostGroups_Update_MinimumSet_Gen.json */ /** * Sample code: DedicatedHostGroups_Update_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_Update_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_Update_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_Update_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHostGroups_Update_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHost_CreateOrUpdate.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHost_CreateOrUpdate.java index b65f43e5c4..f65d7153c5 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHost_CreateOrUpdate.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHost_CreateOrUpdate.java @@ -7,7 +7,7 @@ import java.util.Map; /** Samples for DedicatedHosts CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/dedicatedHostExamples/DedicatedHost_CreateOrUpdate.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/dedicatedHostExamples/DedicatedHost_CreateOrUpdate.json */ /** * Sample code: Create or update a dedicated host . diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHost_CreateOrUpdate.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHost_CreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHost_CreateOrUpdate.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHost_CreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHost_Get.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHost_Get.java index c459cef018..9cf026bd08 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHost_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHost_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for DedicatedHosts Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/dedicatedHostExamples/DedicatedHost_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/dedicatedHostExamples/DedicatedHost_Get.json */ /** * Sample code: Get a dedicated host. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHost_Get.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHost_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHost_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHost_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHost_Restart.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHost_Restart.java index 461089f4e0..9da0762c05 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHost_Restart.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHost_Restart.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for DedicatedHosts Restart. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/dedicatedHostExamples/DedicatedHost_Restart.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/dedicatedHostExamples/DedicatedHost_Restart.json */ /** * Sample code: Restart Dedicated Host. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHost_Restart.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHost_Restart.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHost_Restart.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHost_Restart.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_Delete_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_Delete_MaximumSet_Gen.java index 71bef34abb..787dfbb9cd 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_Delete_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_Delete_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for DedicatedHosts Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/dedicatedHostExamples/DedicatedHosts_Delete_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/dedicatedHostExamples/DedicatedHosts_Delete_MaximumSet_Gen.json */ /** * Sample code: DedicatedHosts_Delete_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_Delete_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_Delete_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_Delete_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_Delete_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_Delete_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_Delete_MinimumSet_Gen.java index c351774d27..969079abc9 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_Delete_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_Delete_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for DedicatedHosts Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/dedicatedHostExamples/DedicatedHosts_Delete_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/dedicatedHostExamples/DedicatedHosts_Delete_MinimumSet_Gen.json */ /** * Sample code: DedicatedHosts_Delete_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_Delete_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_Delete_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_Delete_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_Delete_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_ListByHostGroup_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_ListByHostGroup_MaximumSet_Gen.java index 7e3a2daec0..6555709cd5 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_ListByHostGroup_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_ListByHostGroup_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for DedicatedHosts ListByHostGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/dedicatedHostExamples/DedicatedHosts_ListByHostGroup_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/dedicatedHostExamples/DedicatedHosts_ListByHostGroup_MaximumSet_Gen.json */ /** * Sample code: DedicatedHosts_ListByHostGroup_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_ListByHostGroup_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_ListByHostGroup_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_ListByHostGroup_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_ListByHostGroup_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_ListByHostGroup_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_ListByHostGroup_MinimumSet_Gen.java index 23f1da89e8..aba300fc98 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_ListByHostGroup_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_ListByHostGroup_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for DedicatedHosts ListByHostGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/dedicatedHostExamples/DedicatedHosts_ListByHostGroup_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/dedicatedHostExamples/DedicatedHosts_ListByHostGroup_MinimumSet_Gen.json */ /** * Sample code: DedicatedHosts_ListByHostGroup_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_ListByHostGroup_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_ListByHostGroup_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_ListByHostGroup_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_ListByHostGroup_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_Update_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_Update_MaximumSet_Gen.java index 558202e8b1..8c4f12f2bf 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_Update_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_Update_MaximumSet_Gen.java @@ -7,7 +7,7 @@ import java.util.Map; /** Samples for DedicatedHosts Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/dedicatedHostExamples/DedicatedHosts_Update_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/dedicatedHostExamples/DedicatedHosts_Update_MaximumSet_Gen.json */ /** * Sample code: DedicatedHosts_Update_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_Update_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_Update_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_Update_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_Update_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_Update_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_Update_MinimumSet_Gen.java index a50f12440e..a138053f79 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_Update_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_Update_MinimumSet_Gen.java @@ -6,7 +6,7 @@ import java.util.Map; /** Samples for DedicatedHosts Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/dedicatedHostExamples/DedicatedHosts_Update_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/dedicatedHostExamples/DedicatedHosts_Update_MinimumSet_Gen.json */ /** * Sample code: DedicatedHosts_Update_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_Update_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_Update_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_Update_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/dedicatedHostExamples/DedicatedHosts_Update_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromABlob.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromABlob.java index b94669c05a..59eb881026 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromABlob.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromABlob.java @@ -8,7 +8,7 @@ import com.azure.resourcemanager.compute.models.OperatingSystemTypes; /** Samples for Images CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/imageExamples/Image_CreateFromABlob.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/imageExamples/Image_CreateFromABlob.json */ /** * Sample code: Create a virtual machine image from a blob. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromABlob.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromABlob.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromABlob.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromABlob.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromABlobWithDiskEncryptionSet.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromABlobWithDiskEncryptionSet.java index 032bd6784a..b006f969c5 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromABlobWithDiskEncryptionSet.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromABlobWithDiskEncryptionSet.java @@ -9,7 +9,7 @@ import com.azure.resourcemanager.compute.models.OperatingSystemTypes; /** Samples for Images CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/imageExamples/Image_CreateFromABlobWithDiskEncryptionSet.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/imageExamples/Image_CreateFromABlobWithDiskEncryptionSet.json */ /** * Sample code: Create a virtual machine image from a blob with DiskEncryptionSet resource. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromABlobWithDiskEncryptionSet.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromABlobWithDiskEncryptionSet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromABlobWithDiskEncryptionSet.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromABlobWithDiskEncryptionSet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromAManagedDisk.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromAManagedDisk.java index 5445edd5d3..c249b99e5f 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromAManagedDisk.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromAManagedDisk.java @@ -9,7 +9,7 @@ import com.azure.resourcemanager.compute.models.OperatingSystemTypes; /** Samples for Images CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/imageExamples/Image_CreateFromAManagedDisk.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/imageExamples/Image_CreateFromAManagedDisk.json */ /** * Sample code: Create a virtual machine image from a managed disk. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromAManagedDisk.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromAManagedDisk.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromAManagedDisk.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromAManagedDisk.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromAManagedDiskWithDiskEncryptionSet.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromAManagedDiskWithDiskEncryptionSet.java index ba24b98485..f8c929362b 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromAManagedDiskWithDiskEncryptionSet.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromAManagedDiskWithDiskEncryptionSet.java @@ -10,7 +10,7 @@ import com.azure.resourcemanager.compute.models.OperatingSystemTypes; /** Samples for Images CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/imageExamples/Image_CreateFromAManagedDiskWithDiskEncryptionSet.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/imageExamples/Image_CreateFromAManagedDiskWithDiskEncryptionSet.json */ /** * Sample code: Create a virtual machine image from a managed disk with DiskEncryptionSet resource. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromAManagedDiskWithDiskEncryptionSet.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromAManagedDiskWithDiskEncryptionSet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromAManagedDiskWithDiskEncryptionSet.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromAManagedDiskWithDiskEncryptionSet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromASnapshot.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromASnapshot.java index 534cef755c..b11fde4db3 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromASnapshot.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromASnapshot.java @@ -9,7 +9,7 @@ import com.azure.resourcemanager.compute.models.OperatingSystemTypes; /** Samples for Images CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/imageExamples/Image_CreateFromASnapshot.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/imageExamples/Image_CreateFromASnapshot.json */ /** * Sample code: Create a virtual machine image from a snapshot. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromASnapshot.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromASnapshot.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromASnapshot.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromASnapshot.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromASnapshotWithDiskEncryptionSet.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromASnapshotWithDiskEncryptionSet.java index f36cacf054..35ef4e0252 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromASnapshotWithDiskEncryptionSet.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromASnapshotWithDiskEncryptionSet.java @@ -10,7 +10,7 @@ import com.azure.resourcemanager.compute.models.OperatingSystemTypes; /** Samples for Images CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/imageExamples/Image_CreateFromASnapshotWithDiskEncryptionSet.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/imageExamples/Image_CreateFromASnapshotWithDiskEncryptionSet.json */ /** * Sample code: Create a virtual machine image from a snapshot with DiskEncryptionSet resource. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromASnapshotWithDiskEncryptionSet.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromASnapshotWithDiskEncryptionSet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromASnapshotWithDiskEncryptionSet.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromASnapshotWithDiskEncryptionSet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromAVM.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromAVM.java index 6cd5d06cac..273a364101 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromAVM.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromAVM.java @@ -5,7 +5,7 @@ import com.azure.resourcemanager.compute.fluent.models.ImageInner; /** Samples for Images CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/imageExamples/Image_CreateFromAVM.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/imageExamples/Image_CreateFromAVM.json */ /** * Sample code: Create a virtual machine image from an existing virtual machine. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromAVM.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromAVM.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromAVM.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_CreateFromAVM.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Create_DataDiskFromABlobIncluded.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Create_DataDiskFromABlobIncluded.java index 7fc9be0743..f891bd1f01 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Create_DataDiskFromABlobIncluded.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Create_DataDiskFromABlobIncluded.java @@ -10,7 +10,7 @@ import java.util.Arrays; /** Samples for Images CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/imageExamples/Image_Create_DataDiskFromABlobIncluded.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/imageExamples/Image_Create_DataDiskFromABlobIncluded.json */ /** * Sample code: Create a virtual machine image that includes a data disk from a blob. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Create_DataDiskFromABlobIncluded.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Create_DataDiskFromABlobIncluded.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Create_DataDiskFromABlobIncluded.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Create_DataDiskFromABlobIncluded.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Create_DataDiskFromAManagedDiskIncluded.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Create_DataDiskFromAManagedDiskIncluded.java index 74131e1b90..a90dcc9483 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Create_DataDiskFromAManagedDiskIncluded.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Create_DataDiskFromAManagedDiskIncluded.java @@ -11,7 +11,7 @@ import java.util.Arrays; /** Samples for Images CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/imageExamples/Image_Create_DataDiskFromAManagedDiskIncluded.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/imageExamples/Image_Create_DataDiskFromAManagedDiskIncluded.json */ /** * Sample code: Create a virtual machine image that includes a data disk from a managed disk. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Create_DataDiskFromAManagedDiskIncluded.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Create_DataDiskFromAManagedDiskIncluded.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Create_DataDiskFromAManagedDiskIncluded.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Create_DataDiskFromAManagedDiskIncluded.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Create_DataDiskFromASnapshotIncluded.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Create_DataDiskFromASnapshotIncluded.java index 2fcd6d9d6f..12f2a42c37 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Create_DataDiskFromASnapshotIncluded.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Create_DataDiskFromASnapshotIncluded.java @@ -11,7 +11,7 @@ import java.util.Arrays; /** Samples for Images CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/imageExamples/Image_Create_DataDiskFromASnapshotIncluded.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/imageExamples/Image_Create_DataDiskFromASnapshotIncluded.json */ /** * Sample code: Create a virtual machine image that includes a data disk from a snapshot. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Create_DataDiskFromASnapshotIncluded.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Create_DataDiskFromASnapshotIncluded.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Create_DataDiskFromASnapshotIncluded.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Create_DataDiskFromASnapshotIncluded.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Get.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Get.java index 070bc7d9bb..82e1643f6c 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for Images GetByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/imageExamples/Image_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/imageExamples/Image_Get.json */ /** * Sample code: Get information about a virtual machine image. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Get.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_ListByResourceGroup.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_ListByResourceGroup.java index f64c4d854b..8a3b8e1408 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_ListByResourceGroup.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_ListByResourceGroup.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for Images ListByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/imageExamples/Image_ListByResourceGroup.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/imageExamples/Image_ListByResourceGroup.json */ /** * Sample code: List all virtual machine images in a resource group. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_ListByResourceGroup.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_ListByResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_ListByResourceGroup.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_ListByResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_ListBySubscription.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_ListBySubscription.java index 0fdd90f4f9..a5001461fb 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_ListBySubscription.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_ListBySubscription.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for Images List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/imageExamples/Image_ListBySubscription.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/imageExamples/Image_ListBySubscription.json */ /** * Sample code: List all virtual machine images in a subscription. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_ListBySubscription.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_ListBySubscription.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_ListBySubscription.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_ListBySubscription.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Update.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Update.java index bc89cdad1b..4aa249e679 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Update.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Update.java @@ -8,7 +8,7 @@ import java.util.Map; /** Samples for Images Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/imageExamples/Image_Update.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/imageExamples/Image_Update.json */ /** * Sample code: Updates tags of an Image. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Update.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Update.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Update.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Image_Update.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Images_Delete_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Images_Delete_MaximumSet_Gen.java index 7fc62dca3d..07d6303c00 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Images_Delete_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Images_Delete_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for Images Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/imageExamples/Images_Delete_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/imageExamples/Images_Delete_MaximumSet_Gen.json */ /** * Sample code: Images_Delete_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Images_Delete_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Images_Delete_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Images_Delete_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Images_Delete_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Images_Delete_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Images_Delete_MinimumSet_Gen.java index 25e6e46db7..1ce211f88a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Images_Delete_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Images_Delete_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for Images Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/imageExamples/Images_Delete_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/imageExamples/Images_Delete_MinimumSet_Gen.json */ /** * Sample code: Images_Delete_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Images_Delete_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Images_Delete_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Images_Delete_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/imageExamples/Images_Delete_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_CreateOrUpdate.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_CreateOrUpdate.java index 5521064006..e426dcc5b3 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_CreateOrUpdate.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_CreateOrUpdate.java @@ -7,7 +7,7 @@ import java.util.Arrays; /** Samples for ProximityPlacementGroups CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_CreateOrUpdate.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_CreateOrUpdate.json */ /** * Sample code: Create or Update a proximity placement group. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_CreateOrUpdate.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_CreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_CreateOrUpdate.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_CreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_Delete.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_Delete.java index a489dd8941..387bb5eeea 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_Delete.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_Delete.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for ProximityPlacementGroups Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_Delete.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_Delete.json */ /** * Sample code: Create a proximity placement group. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_Delete.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_Delete.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_Get.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_Get.java index bdf9a6159a..f39da80a02 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for ProximityPlacementGroups GetByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_Get.json */ /** * Sample code: Create a proximity placement group. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_Get.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_ListByResourceGroup.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_ListByResourceGroup.java index 988ac7e587..ce7c3343ee 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_ListByResourceGroup.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_ListByResourceGroup.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for ProximityPlacementGroups ListByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_ListByResourceGroup.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_ListByResourceGroup.json */ /** * Sample code: Create a proximity placement group. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_ListByResourceGroup.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_ListByResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_ListByResourceGroup.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_ListByResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_ListBySubscription.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_ListBySubscription.java index 1978d1cc78..6425e9319f 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_ListBySubscription.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_ListBySubscription.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for ProximityPlacementGroups List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_ListBySubscription.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_ListBySubscription.json */ /** * Sample code: Create a proximity placement group. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_ListBySubscription.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_ListBySubscription.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_ListBySubscription.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_ListBySubscription.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_Patch.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_Patch.java index bf299974a4..02d0261c58 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_Patch.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_Patch.java @@ -6,7 +6,7 @@ import java.util.Map; /** Samples for ProximityPlacementGroups Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_Patch.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_Patch.json */ /** * Sample code: Create a proximity placement group. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_Patch.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_Patch.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_Patch.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/proximityPlacementGroupExamples/ProximityPlacementGroup_Patch.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_CreateOrUpdate.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_CreateOrUpdate.java index 61af6b8ed5..3775740b48 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_CreateOrUpdate.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_CreateOrUpdate.java @@ -7,7 +7,7 @@ import java.util.Map; /** Samples for RestorePointCollections CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/restorePointExamples/RestorePointCollection_CreateOrUpdate.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/restorePointExamples/RestorePointCollection_CreateOrUpdate.json */ /** * Sample code: Create or update a restore point collection. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_CreateOrUpdate.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_CreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_CreateOrUpdate.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_CreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_CreateOrUpdate_ForCrossRegionCopy.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_CreateOrUpdate_ForCrossRegionCopy.java index a9061d818e..7531679d2e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_CreateOrUpdate_ForCrossRegionCopy.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_CreateOrUpdate_ForCrossRegionCopy.java @@ -7,7 +7,7 @@ import java.util.Map; /** Samples for RestorePointCollections CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/restorePointExamples/RestorePointCollection_CreateOrUpdate_ForCrossRegionCopy.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/restorePointExamples/RestorePointCollection_CreateOrUpdate_ForCrossRegionCopy.json */ /** * Sample code: Create or update a restore point collection for cross region copy. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_CreateOrUpdate_ForCrossRegionCopy.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_CreateOrUpdate_ForCrossRegionCopy.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_CreateOrUpdate_ForCrossRegionCopy.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_CreateOrUpdate_ForCrossRegionCopy.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_Get.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_Get.java index 7ed2de7322..df0ce77e60 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for RestorePointCollections GetByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/restorePointExamples/RestorePointCollection_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/restorePointExamples/RestorePointCollection_Get.json */ /** * Sample code: Get a restore point collection (but not the restore points contained in the restore point diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_Get.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_Get_WithContainedRestorePoints.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_Get_WithContainedRestorePoints.java index 81367b87d8..346cfaac4a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_Get_WithContainedRestorePoints.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_Get_WithContainedRestorePoints.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for RestorePointCollections GetByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/restorePointExamples/RestorePointCollection_Get_WithContainedRestorePoints.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/restorePointExamples/RestorePointCollection_Get_WithContainedRestorePoints.json */ /** * Sample code: Get a restore point collection, including the restore points contained in the restore point diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_Get_WithContainedRestorePoints.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_Get_WithContainedRestorePoints.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_Get_WithContainedRestorePoints.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_Get_WithContainedRestorePoints.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_ListByResourceGroup.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_ListByResourceGroup.java index 889279894b..be5824c236 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_ListByResourceGroup.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_ListByResourceGroup.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for RestorePointCollections ListByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/restorePointExamples/RestorePointCollection_ListByResourceGroup.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/restorePointExamples/RestorePointCollection_ListByResourceGroup.json */ /** * Sample code: Gets the list of restore point collections in a resource group. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_ListByResourceGroup.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_ListByResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_ListByResourceGroup.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_ListByResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_ListBySubscription.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_ListBySubscription.java index 317ae25d10..bc5d1b2e8e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_ListBySubscription.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_ListBySubscription.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for RestorePointCollections List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/restorePointExamples/RestorePointCollection_ListBySubscription.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/restorePointExamples/RestorePointCollection_ListBySubscription.json */ /** * Sample code: Gets the list of restore point collections in a subscription. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_ListBySubscription.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_ListBySubscription.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_ListBySubscription.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollection_ListBySubscription.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollections_Delete_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollections_Delete_MaximumSet_Gen.java index f63b5807ed..059620d21d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollections_Delete_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollections_Delete_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for RestorePointCollections Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/restorePointExamples/RestorePointCollections_Delete_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/restorePointExamples/RestorePointCollections_Delete_MaximumSet_Gen.json */ /** * Sample code: RestorePointCollections_Delete_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollections_Delete_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollections_Delete_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollections_Delete_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollections_Delete_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollections_Delete_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollections_Delete_MinimumSet_Gen.java index 1b4c9ef99b..d013f946a1 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollections_Delete_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollections_Delete_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for RestorePointCollections Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/restorePointExamples/RestorePointCollections_Delete_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/restorePointExamples/RestorePointCollections_Delete_MinimumSet_Gen.json */ /** * Sample code: RestorePointCollections_Delete_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollections_Delete_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollections_Delete_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollections_Delete_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollections_Delete_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollections_Update_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollections_Update_MaximumSet_Gen.java index 83e9f96bef..f3f5a8500c 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollections_Update_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollections_Update_MaximumSet_Gen.java @@ -7,7 +7,7 @@ import java.util.Map; /** Samples for RestorePointCollections Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/restorePointExamples/RestorePointCollections_Update_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/restorePointExamples/RestorePointCollections_Update_MaximumSet_Gen.json */ /** * Sample code: RestorePointCollections_Update_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollections_Update_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollections_Update_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollections_Update_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollections_Update_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollections_Update_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollections_Update_MinimumSet_Gen.java index 58185d5c9c..482ca5b57f 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollections_Update_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollections_Update_MinimumSet_Gen.java @@ -6,7 +6,7 @@ import java.util.Map; /** Samples for RestorePointCollections Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/restorePointExamples/RestorePointCollections_Update_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/restorePointExamples/RestorePointCollections_Update_MinimumSet_Gen.json */ /** * Sample code: RestorePointCollections_Update_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollections_Update_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollections_Update_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollections_Update_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePointCollections_Update_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoint_Copy_BetweenRegions.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoint_Copy_BetweenRegions.java index 774a3c8d51..66753bd741 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoint_Copy_BetweenRegions.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoint_Copy_BetweenRegions.java @@ -5,7 +5,7 @@ import com.azure.resourcemanager.compute.models.ApiEntityReference; /** Samples for RestorePoints Create. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/restorePointExamples/RestorePoint_Copy_BetweenRegions.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/restorePointExamples/RestorePoint_Copy_BetweenRegions.json */ /** * Sample code: Copy a restore point to a different region. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoint_Copy_BetweenRegions.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoint_Copy_BetweenRegions.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoint_Copy_BetweenRegions.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoint_Copy_BetweenRegions.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoint_Create.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoint_Create.java index b5699d1c30..0c1225ad43 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoint_Create.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoint_Create.java @@ -6,7 +6,7 @@ import java.util.Arrays; /** Samples for RestorePoints Create. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/restorePointExamples/RestorePoint_Create.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/restorePointExamples/RestorePoint_Create.json */ /** * Sample code: Create a restore point. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoint_Create.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoint_Create.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoint_Create.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoint_Create.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoint_Get.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoint_Get.java index d59489daa3..9c5e728da2 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoint_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoint_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for RestorePoints Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/restorePointExamples/RestorePoint_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/restorePointExamples/RestorePoint_Get.json */ /** * Sample code: Get a restore point. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoint_Get.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoint_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoint_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoint_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoint_Get_WithInstanceView.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoint_Get_WithInstanceView.java index da4a408899..e8833d9152 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoint_Get_WithInstanceView.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoint_Get_WithInstanceView.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for RestorePoints Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/restorePointExamples/RestorePoint_Get_WithInstanceView.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/restorePointExamples/RestorePoint_Get_WithInstanceView.json */ /** * Sample code: Get restore point with instance view. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoint_Get_WithInstanceView.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoint_Get_WithInstanceView.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoint_Get_WithInstanceView.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoint_Get_WithInstanceView.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoints_Delete_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoints_Delete_MaximumSet_Gen.java index 512179bd24..fad69a8a0e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoints_Delete_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoints_Delete_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for RestorePoints Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/restorePointExamples/RestorePoints_Delete_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/restorePointExamples/RestorePoints_Delete_MaximumSet_Gen.json */ /** * Sample code: RestorePoints_Delete_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoints_Delete_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoints_Delete_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoints_Delete_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoints_Delete_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoints_Delete_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoints_Delete_MinimumSet_Gen.java index 3efa79191e..3bc39cc36c 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoints_Delete_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoints_Delete_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for RestorePoints Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/restorePointExamples/RestorePoints_Delete_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/restorePointExamples/RestorePoints_Delete_MinimumSet_Gen.json */ /** * Sample code: RestorePoints_Delete_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoints_Delete_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoints_Delete_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoints_Delete_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/restorePointExamples/RestorePoints_Delete_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/RunCommand_Get.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/RunCommand_Get.java index c8563e3f05..6bb5e851f9 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/RunCommand_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/RunCommand_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineRunCommands Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/runCommandExamples/RunCommand_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/runCommandExamples/RunCommand_Get.json */ /** * Sample code: VirtualMachineRunCommandGet. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/RunCommand_Get.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/RunCommand_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/RunCommand_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/RunCommand_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/RunCommand_List.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/RunCommand_List.java index d7696212e3..a481086544 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/RunCommand_List.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/RunCommand_List.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineRunCommands List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/runCommandExamples/RunCommand_List.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/runCommandExamples/RunCommand_List.json */ /** * Sample code: VirtualMachineRunCommandList. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/RunCommand_List.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/RunCommand_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/RunCommand_List.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/RunCommand_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand.java index 3fd965b2c1..1e3f16b1e2 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand.java @@ -4,7 +4,7 @@ import com.azure.resourcemanager.compute.models.RunCommandInput; /** Samples for VirtualMachines RunCommand. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/runCommandExamples/VirtualMachineRunCommand.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/runCommandExamples/VirtualMachineRunCommand.json */ /** * Sample code: VirtualMachineRunCommand. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_CreateOrUpdate.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_CreateOrUpdate.java index 3913635264..933e1680be 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_CreateOrUpdate.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_CreateOrUpdate.java @@ -7,7 +7,7 @@ import java.util.Arrays; /** Samples for VirtualMachineRunCommands CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/runCommandExamples/VirtualMachineRunCommand_CreateOrUpdate.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/runCommandExamples/VirtualMachineRunCommand_CreateOrUpdate.json */ /** * Sample code: Create or update a run command. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_CreateOrUpdate.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_CreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_CreateOrUpdate.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_CreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_Delete.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_Delete.java index 33a6ba4578..105e19dcc3 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_Delete.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_Delete.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineRunCommands Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/runCommandExamples/VirtualMachineRunCommand_Delete.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/runCommandExamples/VirtualMachineRunCommand_Delete.json */ /** * Sample code: Delete a run command. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_Delete.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_Delete.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_Get.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_Get.java index 6756a29a0f..ef56ca8079 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineRunCommands GetByVirtualMachine. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/runCommandExamples/VirtualMachineRunCommand_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/runCommandExamples/VirtualMachineRunCommand_Get.json */ /** * Sample code: Get a run command. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_Get.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_List.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_List.java index a7addc45b8..dbb75ddede 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_List.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_List.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineRunCommands ListByVirtualMachine. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/runCommandExamples/VirtualMachineRunCommand_List.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/runCommandExamples/VirtualMachineRunCommand_List.json */ /** * Sample code: List run commands in a Virtual Machine. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_List.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_List.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_Update.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_Update.java index 5cba03d9b3..76cf4704ba 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_Update.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_Update.java @@ -5,7 +5,7 @@ import com.azure.resourcemanager.compute.models.VirtualMachineRunCommandUpdate; /** Samples for VirtualMachineRunCommands Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/runCommandExamples/VirtualMachineRunCommand_Update.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/runCommandExamples/VirtualMachineRunCommand_Update.json */ /** * Sample code: Update a run command. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_Update.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_Update.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_Update.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineRunCommand_Update.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand.java index 2ad698808d..84ca755683 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand.java @@ -5,7 +5,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSetVMs RunCommand. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand.json */ /** * Sample code: VirtualMachineScaleSetVMs_RunCommand. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_CreateOrUpdate.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_CreateOrUpdate.java index d808c4c93a..f11a5997c9 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_CreateOrUpdate.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_CreateOrUpdate.java @@ -7,7 +7,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSetVMRunCommands CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand_CreateOrUpdate.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand_CreateOrUpdate.json */ /** * Sample code: Create VirtualMachineScaleSet VM run command. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_CreateOrUpdate.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_CreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_CreateOrUpdate.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_CreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Delete.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Delete.java index ee7763af1a..82e1b4eac6 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Delete.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Delete.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetVMRunCommands Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Delete.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Delete.json */ /** * Sample code: Delete VirtualMachineScaleSet VM run command. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Delete.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Delete.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Get.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Get.java index 54526a2b2b..f5764a52f4 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetVMRunCommands Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Get.json */ /** * Sample code: Get VirtualMachineScaleSet VM run commands. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Get.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_List.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_List.java index 8cb4590a9d..51bdb07590 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_List.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_List.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetVMRunCommands List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand_List.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand_List.json */ /** * Sample code: List run commands in Vmss instance. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_List.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_List.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Update.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Update.java index e045cf7d58..cb638363ef 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Update.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Update.java @@ -5,7 +5,7 @@ import com.azure.resourcemanager.compute.models.VirtualMachineRunCommandUpdate; /** Samples for VirtualMachineScaleSetVMRunCommands Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Update.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Update.json */ /** * Sample code: Update VirtualMachineScaleSet VM run command. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Update.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Update.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Update.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Update.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKey_Create.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKey_Create.java index c3b8c5cc58..79f9280c60 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKey_Create.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKey_Create.java @@ -4,7 +4,7 @@ import com.azure.resourcemanager.compute.fluent.models.SshPublicKeyResourceInner /** Samples for SshPublicKeys Create. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/sshPublicKeyExamples/SshPublicKey_Create.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/sshPublicKeyExamples/SshPublicKey_Create.json */ /** * Sample code: Create a new SSH public key resource. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKey_Create.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKey_Create.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKey_Create.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKey_Create.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKey_Get.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKey_Get.java index 6ba7e04a37..edac70dd2c 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKey_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKey_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for SshPublicKeys GetByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/sshPublicKeyExamples/SshPublicKey_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/sshPublicKeyExamples/SshPublicKey_Get.json */ /** * Sample code: Get an ssh public key. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKey_Get.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKey_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKey_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKey_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_Delete_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_Delete_MaximumSet_Gen.java index b05d7daf05..b4b121d01e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_Delete_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_Delete_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for SshPublicKeys Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/sshPublicKeyExamples/SshPublicKeys_Delete_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/sshPublicKeyExamples/SshPublicKeys_Delete_MaximumSet_Gen.json */ /** * Sample code: SshPublicKeys_Delete_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_Delete_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_Delete_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_Delete_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_Delete_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_Delete_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_Delete_MinimumSet_Gen.java index 02df3d301f..740b8c4f42 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_Delete_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_Delete_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for SshPublicKeys Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/sshPublicKeyExamples/SshPublicKeys_Delete_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/sshPublicKeyExamples/SshPublicKeys_Delete_MinimumSet_Gen.json */ /** * Sample code: SshPublicKeys_Delete_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_Delete_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_Delete_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_Delete_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_Delete_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_GenerateKeyPair.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_GenerateKeyPair.java index 47dfcba7f4..2435c5c332 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_GenerateKeyPair.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_GenerateKeyPair.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for SshPublicKeys GenerateKeyPair. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/sshPublicKeyExamples/SshPublicKeys_GenerateKeyPair.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/sshPublicKeyExamples/SshPublicKeys_GenerateKeyPair.json */ /** * Sample code: Generate an SSH key pair. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_GenerateKeyPair.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_GenerateKeyPair.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_GenerateKeyPair.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_GenerateKeyPair.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_ListByResourceGroup_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_ListByResourceGroup_MaximumSet_Gen.java index 486d2401dd..09198b632d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_ListByResourceGroup_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_ListByResourceGroup_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for SshPublicKeys ListByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/sshPublicKeyExamples/SshPublicKeys_ListByResourceGroup_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/sshPublicKeyExamples/SshPublicKeys_ListByResourceGroup_MaximumSet_Gen.json */ /** * Sample code: SshPublicKeys_ListByResourceGroup_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_ListByResourceGroup_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_ListByResourceGroup_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_ListByResourceGroup_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_ListByResourceGroup_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_ListByResourceGroup_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_ListByResourceGroup_MinimumSet_Gen.java index 43811a5d03..addfe887ff 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_ListByResourceGroup_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_ListByResourceGroup_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for SshPublicKeys ListByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/sshPublicKeyExamples/SshPublicKeys_ListByResourceGroup_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/sshPublicKeyExamples/SshPublicKeys_ListByResourceGroup_MinimumSet_Gen.json */ /** * Sample code: SshPublicKeys_ListByResourceGroup_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_ListByResourceGroup_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_ListByResourceGroup_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_ListByResourceGroup_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_ListByResourceGroup_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_ListBySubscription_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_ListBySubscription_MaximumSet_Gen.java index 470dced94e..6ca53f7b51 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_ListBySubscription_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_ListBySubscription_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for SshPublicKeys List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/sshPublicKeyExamples/SshPublicKeys_ListBySubscription_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/sshPublicKeyExamples/SshPublicKeys_ListBySubscription_MaximumSet_Gen.json */ /** * Sample code: SshPublicKeys_ListBySubscription_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_ListBySubscription_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_ListBySubscription_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_ListBySubscription_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_ListBySubscription_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_ListBySubscription_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_ListBySubscription_MinimumSet_Gen.java index 916d28a16f..c1bbb3607d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_ListBySubscription_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_ListBySubscription_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for SshPublicKeys List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/sshPublicKeyExamples/SshPublicKeys_ListBySubscription_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/sshPublicKeyExamples/SshPublicKeys_ListBySubscription_MinimumSet_Gen.json */ /** * Sample code: SshPublicKeys_ListBySubscription_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_ListBySubscription_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_ListBySubscription_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_ListBySubscription_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_ListBySubscription_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_Update_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_Update_MaximumSet_Gen.java index cb94c3418d..10645c2f28 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_Update_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_Update_MaximumSet_Gen.java @@ -6,7 +6,7 @@ import java.util.Map; /** Samples for SshPublicKeys Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/sshPublicKeyExamples/SshPublicKeys_Update_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/sshPublicKeyExamples/SshPublicKeys_Update_MaximumSet_Gen.json */ /** * Sample code: SshPublicKeys_Update_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_Update_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_Update_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_Update_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_Update_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_Update_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_Update_MinimumSet_Gen.java index 3679f3e6ae..344612b7ba 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_Update_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_Update_MinimumSet_Gen.java @@ -6,7 +6,7 @@ import java.util.Map; /** Samples for SshPublicKeys Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/sshPublicKeyExamples/SshPublicKeys_Update_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/sshPublicKeyExamples/SshPublicKeys_Update_MinimumSet_Gen.json */ /** * Sample code: SshPublicKeys_Update_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_Update_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_Update_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_Update_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/sshPublicKeyExamples/SshPublicKeys_Update_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_CreateOrUpdate_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_CreateOrUpdate_MaximumSet_Gen.java index 4bcc6ba8ed..6094018c4b 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_CreateOrUpdate_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_CreateOrUpdate_MaximumSet_Gen.java @@ -14,7 +14,7 @@ import java.util.Map; /** Samples for VirtualMachineExtensions CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachineExtensions_CreateOrUpdate_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachineExtensions_CreateOrUpdate_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineExtensions_CreateOrUpdate_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_CreateOrUpdate_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_CreateOrUpdate_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_CreateOrUpdate_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_CreateOrUpdate_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_CreateOrUpdate_MinimumSet_Gen.java index b276efcaac..8ab3e0416e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_CreateOrUpdate_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_CreateOrUpdate_MinimumSet_Gen.java @@ -6,7 +6,7 @@ import java.util.Map; /** Samples for VirtualMachineExtensions CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachineExtensions_CreateOrUpdate_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachineExtensions_CreateOrUpdate_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineExtensions_CreateOrUpdate_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_CreateOrUpdate_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_CreateOrUpdate_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_CreateOrUpdate_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_CreateOrUpdate_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Delete_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Delete_MaximumSet_Gen.java index 83abb4e630..85c36dea38 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Delete_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Delete_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineExtensions Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachineExtensions_Delete_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachineExtensions_Delete_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineExtensions_Delete_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Delete_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Delete_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Delete_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Delete_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Delete_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Delete_MinimumSet_Gen.java index fc55f4760c..a3fdb65690 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Delete_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Delete_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineExtensions Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachineExtensions_Delete_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachineExtensions_Delete_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineExtensions_Delete_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Delete_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Delete_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Delete_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Delete_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Get_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Get_MaximumSet_Gen.java index 789764f8e6..13c44ce403 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Get_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Get_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineExtensions Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachineExtensions_Get_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachineExtensions_Get_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineExtensions_Get_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Get_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Get_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Get_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Get_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Get_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Get_MinimumSet_Gen.java index 4afbdb7f77..e2260dc79b 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Get_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Get_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineExtensions Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachineExtensions_Get_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachineExtensions_Get_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineExtensions_Get_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Get_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Get_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Get_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Get_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_List_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_List_MaximumSet_Gen.java index 6776b324f0..228a3dcac0 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_List_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_List_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineExtensions List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachineExtensions_List_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachineExtensions_List_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineExtensions_List_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_List_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_List_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_List_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_List_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_List_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_List_MinimumSet_Gen.java index 150e817185..a7d3af3c5e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_List_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_List_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineExtensions List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachineExtensions_List_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachineExtensions_List_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineExtensions_List_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_List_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_List_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_List_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_List_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Update.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Update.java index 57a6656880..9cdd91e669 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Update.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Update.java @@ -7,7 +7,7 @@ import java.io.IOException; /** Samples for VirtualMachineExtensions Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachineExtensions_Update.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachineExtensions_Update.json */ /** * Sample code: Update VM extension. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Update.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Update.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Update.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachineExtensions_Update.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_AssessPatches.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_AssessPatches.java index 8ddcdb3c62..696e98e537 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_AssessPatches.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_AssessPatches.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachines AssessPatches. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_AssessPatches.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_AssessPatches.json */ /** * Sample code: Assess patch state of a virtual machine. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_AssessPatches.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_AssessPatches.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_AssessPatches.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_AssessPatches.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_CreateWithVMSizeProperties.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_CreateWithVMSizeProperties.java index 31ceae732d..185936c094 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_CreateWithVMSizeProperties.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_CreateWithVMSizeProperties.java @@ -20,7 +20,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_CreateWithVMSizeProperties.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_CreateWithVMSizeProperties.json */ /** * Sample code: Create a VM with VM Size Properties. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_CreateWithVMSizeProperties.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_CreateWithVMSizeProperties.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_CreateWithVMSizeProperties.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_CreateWithVMSizeProperties.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_CustomImageVmFromAnUnmanagedGeneralizedOsImage.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_CustomImageVmFromAnUnmanagedGeneralizedOsImage.java index 65daa97d74..c955896422 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_CustomImageVmFromAnUnmanagedGeneralizedOsImage.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_CustomImageVmFromAnUnmanagedGeneralizedOsImage.java @@ -16,7 +16,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_CustomImageVmFromAnUnmanagedGeneralizedOsImage.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_CustomImageVmFromAnUnmanagedGeneralizedOsImage.json */ /** * Sample code: Create a custom-image vm from an unmanaged generalized os image. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_CustomImageVmFromAnUnmanagedGeneralizedOsImage.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_CustomImageVmFromAnUnmanagedGeneralizedOsImage.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_CustomImageVmFromAnUnmanagedGeneralizedOsImage.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_CustomImageVmFromAnUnmanagedGeneralizedOsImage.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromACommunityGalleryImage.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromACommunityGalleryImage.java index 7f816d52b0..930943feaa 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromACommunityGalleryImage.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromACommunityGalleryImage.java @@ -17,7 +17,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_FromACommunityGalleryImage.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_FromACommunityGalleryImage.json */ /** * Sample code: Create a VM from a community gallery image. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromACommunityGalleryImage.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromACommunityGalleryImage.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromACommunityGalleryImage.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromACommunityGalleryImage.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromACustomImage.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromACustomImage.java index 96de8f59b0..288e7d1f75 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromACustomImage.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromACustomImage.java @@ -17,7 +17,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_FromACustomImage.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_FromACustomImage.json */ /** * Sample code: Create a vm from a custom image. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromACustomImage.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromACustomImage.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromACustomImage.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromACustomImage.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromAGeneralizedSharedImage.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromAGeneralizedSharedImage.java index 86a1e61ba2..ec03aa4345 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromAGeneralizedSharedImage.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromAGeneralizedSharedImage.java @@ -17,7 +17,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_FromAGeneralizedSharedImage.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_FromAGeneralizedSharedImage.json */ /** * Sample code: Create a vm from a generalized shared image. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromAGeneralizedSharedImage.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromAGeneralizedSharedImage.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromAGeneralizedSharedImage.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromAGeneralizedSharedImage.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromASharedGalleryImage.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromASharedGalleryImage.java index 132d7c3603..0990ab5ee4 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromASharedGalleryImage.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromASharedGalleryImage.java @@ -17,7 +17,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_FromASharedGalleryImage.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_FromASharedGalleryImage.json */ /** * Sample code: Create a VM from a shared gallery image. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromASharedGalleryImage.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromASharedGalleryImage.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromASharedGalleryImage.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromASharedGalleryImage.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromASpecializedSharedImage.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromASpecializedSharedImage.java index c36cb84d1c..8b50946b9f 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromASpecializedSharedImage.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromASpecializedSharedImage.java @@ -16,7 +16,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_FromASpecializedSharedImage.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_FromASpecializedSharedImage.json */ /** * Sample code: Create a vm from a specialized shared image. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromASpecializedSharedImage.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromASpecializedSharedImage.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromASpecializedSharedImage.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_FromASpecializedSharedImage.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_InAnAvailabilitySet.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_InAnAvailabilitySet.java index 116d55a294..31aa6098ee 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_InAnAvailabilitySet.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_InAnAvailabilitySet.java @@ -18,7 +18,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_InAnAvailabilitySet.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_InAnAvailabilitySet.json */ /** * Sample code: Create a vm in an availability set. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_InAnAvailabilitySet.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_InAnAvailabilitySet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_InAnAvailabilitySet.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_InAnAvailabilitySet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithAutomaticByPlatformSettings.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithAutomaticByPlatformSettings.java index 127788961a..5e337a9298 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithAutomaticByPlatformSettings.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithAutomaticByPlatformSettings.java @@ -23,7 +23,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithAutomaticByPlatformSettings.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithAutomaticByPlatformSettings.json */ /** * Sample code: Create a Linux vm with a patch setting patchMode of AutomaticByPlatform and diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithAutomaticByPlatformSettings.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithAutomaticByPlatformSettings.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithAutomaticByPlatformSettings.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithAutomaticByPlatformSettings.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingAssessmentModeOfImageDefault.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingAssessmentModeOfImageDefault.java index 9a311d889d..844df6d259 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingAssessmentModeOfImageDefault.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingAssessmentModeOfImageDefault.java @@ -20,7 +20,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingAssessmentModeOfImageDefault.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingAssessmentModeOfImageDefault.json */ /** * Sample code: Create a Linux vm with a patch setting assessmentMode of ImageDefault. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingAssessmentModeOfImageDefault.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingAssessmentModeOfImageDefault.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingAssessmentModeOfImageDefault.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingAssessmentModeOfImageDefault.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModeOfImageDefault.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModeOfImageDefault.java index fc0bfec40f..97655c8547 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModeOfImageDefault.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModeOfImageDefault.java @@ -20,7 +20,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModeOfImageDefault.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModeOfImageDefault.json */ /** * Sample code: Create a Linux vm with a patch setting patchMode of ImageDefault. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModeOfImageDefault.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModeOfImageDefault.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModeOfImageDefault.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModeOfImageDefault.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModesOfAutomaticByPlatform.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModesOfAutomaticByPlatform.java index 3139938140..bad7f9997c 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModesOfAutomaticByPlatform.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModesOfAutomaticByPlatform.java @@ -21,7 +21,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModesOfAutomaticByPlatform.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModesOfAutomaticByPlatform.json */ /** * Sample code: Create a Linux vm with a patch settings patchMode and assessmentMode set to AutomaticByPlatform. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModesOfAutomaticByPlatform.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModesOfAutomaticByPlatform.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModesOfAutomaticByPlatform.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModesOfAutomaticByPlatform.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_PlatformImageVmWithUnmanagedOsAndDataDisks.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_PlatformImageVmWithUnmanagedOsAndDataDisks.java index 8fa833b53b..1a1b0e0217 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_PlatformImageVmWithUnmanagedOsAndDataDisks.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_PlatformImageVmWithUnmanagedOsAndDataDisks.java @@ -17,7 +17,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_PlatformImageVmWithUnmanagedOsAndDataDisks.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_PlatformImageVmWithUnmanagedOsAndDataDisks.json */ /** * Sample code: Create a platform-image vm with unmanaged os and data disks. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_PlatformImageVmWithUnmanagedOsAndDataDisks.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_PlatformImageVmWithUnmanagedOsAndDataDisks.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_PlatformImageVmWithUnmanagedOsAndDataDisks.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_PlatformImageVmWithUnmanagedOsAndDataDisks.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithAutomaticByPlatformSettings.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithAutomaticByPlatformSettings.java index 4b02238aa7..2ce7c527a7 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithAutomaticByPlatformSettings.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithAutomaticByPlatformSettings.java @@ -23,7 +23,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithAutomaticByPlatformSettings.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithAutomaticByPlatformSettings.json */ /** * Sample code: Create a Windows vm with a patch setting patchMode of AutomaticByPlatform and diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithAutomaticByPlatformSettings.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithAutomaticByPlatformSettings.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithAutomaticByPlatformSettings.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithAutomaticByPlatformSettings.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingAssessmentModeOfImageDefault.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingAssessmentModeOfImageDefault.java index 334e9f187d..8bff9de673 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingAssessmentModeOfImageDefault.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingAssessmentModeOfImageDefault.java @@ -20,7 +20,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingAssessmentModeOfImageDefault.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingAssessmentModeOfImageDefault.json */ /** * Sample code: Create a Windows vm with a patch setting assessmentMode of ImageDefault. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingAssessmentModeOfImageDefault.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingAssessmentModeOfImageDefault.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingAssessmentModeOfImageDefault.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingAssessmentModeOfImageDefault.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByOS.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByOS.java index 1654239681..eb5bc8e68b 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByOS.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByOS.java @@ -20,7 +20,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByOS.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByOS.json */ /** * Sample code: Create a Windows vm with a patch setting patchMode of AutomaticByOS. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByOS.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByOS.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByOS.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByOS.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByPlatformAndEnableHotPatchingTrue.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByPlatformAndEnableHotPatchingTrue.java index 27a709738f..2ca6fa46b2 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByPlatformAndEnableHotPatchingTrue.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByPlatformAndEnableHotPatchingTrue.java @@ -20,7 +20,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByPlatformAndEnableHotPatchingTrue.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByPlatformAndEnableHotPatchingTrue.json */ /** * Sample code: Create a Windows vm with a patch setting patchMode of AutomaticByPlatform and enableHotpatching set diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByPlatformAndEnableHotPatchingTrue.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByPlatformAndEnableHotPatchingTrue.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByPlatformAndEnableHotPatchingTrue.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByPlatformAndEnableHotPatchingTrue.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfManual.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfManual.java index c81441777e..c56f6d381d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfManual.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfManual.java @@ -20,7 +20,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfManual.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfManual.json */ /** * Sample code: Create a Windows vm with a patch setting patchMode of Manual. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfManual.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfManual.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfManual.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfManual.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModesOfAutomaticByPlatform.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModesOfAutomaticByPlatform.java index 79284355c6..b834cb55c1 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModesOfAutomaticByPlatform.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModesOfAutomaticByPlatform.java @@ -21,7 +21,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModesOfAutomaticByPlatform.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModesOfAutomaticByPlatform.json */ /** * Sample code: Create a Windows vm with patch settings patchMode and assessmentMode set to AutomaticByPlatform. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModesOfAutomaticByPlatform.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModesOfAutomaticByPlatform.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModesOfAutomaticByPlatform.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModesOfAutomaticByPlatform.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDisk.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDisk.java index 87536946a4..22bfcd314a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDisk.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDisk.java @@ -20,7 +20,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDisk.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDisk.json */ /** * Sample code: Create a vm with ephemeral os disk. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDisk.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDisk.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDisk.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDisk.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsCacheDisk.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsCacheDisk.java index 57b064e1ae..cc8ac86e83 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsCacheDisk.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsCacheDisk.java @@ -21,7 +21,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsCacheDisk.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsCacheDisk.json */ /** * Sample code: Create a vm with ephemeral os disk provisioning in Cache disk using placement property. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsCacheDisk.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsCacheDisk.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsCacheDisk.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsCacheDisk.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsResourceDisk.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsResourceDisk.java index b20cc8448a..572f5295e4 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsResourceDisk.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsResourceDisk.java @@ -21,7 +21,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsResourceDisk.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsResourceDisk.json */ /** * Sample code: Create a vm with ephemeral os disk provisioning in Resource disk using placement property. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsResourceDisk.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsResourceDisk.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsResourceDisk.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsResourceDisk.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithAMarketplaceImagePlan.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithAMarketplaceImagePlan.java index 44cac05175..bf8719b099 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithAMarketplaceImagePlan.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithAMarketplaceImagePlan.java @@ -18,7 +18,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_WithAMarketplaceImagePlan.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithAMarketplaceImagePlan.json */ /** * Sample code: Create a vm with a marketplace image plan. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithAMarketplaceImagePlan.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithAMarketplaceImagePlan.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithAMarketplaceImagePlan.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithAMarketplaceImagePlan.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithApplicationProfile.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithApplicationProfile.java index 043bc667ff..ffc6f27ea1 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithApplicationProfile.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithApplicationProfile.java @@ -19,7 +19,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_WithApplicationProfile.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithApplicationProfile.json */ /** * Sample code: Create a vm with Application Profile. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithApplicationProfile.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithApplicationProfile.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithApplicationProfile.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithApplicationProfile.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithCapacityReservation.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithCapacityReservation.java index 20f5719c63..295b44e82e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithCapacityReservation.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithCapacityReservation.java @@ -20,7 +20,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_WithCapacityReservation.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithCapacityReservation.json */ /** * Sample code: Create or update a VM with capacity reservation. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithCapacityReservation.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithCapacityReservation.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithCapacityReservation.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithCapacityReservation.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithDiskEncryptionSetResource.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithDiskEncryptionSetResource.java index 4e700cb4ab..acbf9b5657 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithDiskEncryptionSetResource.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithDiskEncryptionSetResource.java @@ -19,7 +19,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_WithDiskEncryptionSetResource.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithDiskEncryptionSetResource.json */ /** * Sample code: Create a vm with DiskEncryptionSet resource id in the os disk and data disk. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithDiskEncryptionSetResource.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithDiskEncryptionSetResource.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithDiskEncryptionSetResource.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithDiskEncryptionSetResource.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithEmptyDataDisks.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithEmptyDataDisks.java index 728820ed71..1c66710767 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithEmptyDataDisks.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithEmptyDataDisks.java @@ -18,7 +18,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_WithEmptyDataDisks.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithEmptyDataDisks.json */ /** * Sample code: Create a vm with empty data disks. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithEmptyDataDisks.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithEmptyDataDisks.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithEmptyDataDisks.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithEmptyDataDisks.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithEncryptionAtHost.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithEncryptionAtHost.java index f8a41b11e6..55eda0ebd5 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithEncryptionAtHost.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithEncryptionAtHost.java @@ -19,7 +19,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_WithEncryptionAtHost.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithEncryptionAtHost.json */ /** * Sample code: Create a vm with Host Encryption using encryptionAtHost property. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithEncryptionAtHost.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithEncryptionAtHost.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithEncryptionAtHost.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithEncryptionAtHost.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithExtensionsTimeBudget.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithExtensionsTimeBudget.java index 73d54eff5f..440a50b186 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithExtensionsTimeBudget.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithExtensionsTimeBudget.java @@ -19,7 +19,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_WithExtensionsTimeBudget.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithExtensionsTimeBudget.json */ /** * Sample code: Create a vm with an extensions time budget. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithExtensionsTimeBudget.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithExtensionsTimeBudget.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithExtensionsTimeBudget.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithExtensionsTimeBudget.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithHibernationEnabled.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithHibernationEnabled.java index 5e42a82d50..37cecd293e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithHibernationEnabled.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithHibernationEnabled.java @@ -20,7 +20,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_WithHibernationEnabled.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithHibernationEnabled.json */ /** * Sample code: Create a VM with HibernationEnabled. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithHibernationEnabled.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithHibernationEnabled.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithHibernationEnabled.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithHibernationEnabled.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithManagedBootDiagnostics.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithManagedBootDiagnostics.java index 14b2a882a1..3831e84812 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithManagedBootDiagnostics.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithManagedBootDiagnostics.java @@ -19,7 +19,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_WithManagedBootDiagnostics.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithManagedBootDiagnostics.json */ /** * Sample code: Create a vm with managed boot diagnostics. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithManagedBootDiagnostics.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithManagedBootDiagnostics.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithManagedBootDiagnostics.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithManagedBootDiagnostics.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithNetworkInterfaceConfiguration.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithNetworkInterfaceConfiguration.java index d7fd9e283b..b4ceeaea15 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithNetworkInterfaceConfiguration.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithNetworkInterfaceConfiguration.java @@ -25,7 +25,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_WithNetworkInterfaceConfiguration.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithNetworkInterfaceConfiguration.json */ /** * Sample code: Create a VM with network interface configuration. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithNetworkInterfaceConfiguration.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithNetworkInterfaceConfiguration.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithNetworkInterfaceConfiguration.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithNetworkInterfaceConfiguration.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithPasswordAuthentication.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithPasswordAuthentication.java index ab019c4dac..92a42adff2 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithPasswordAuthentication.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithPasswordAuthentication.java @@ -17,7 +17,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_WithPasswordAuthentication.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithPasswordAuthentication.json */ /** * Sample code: Create a vm with password authentication. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithPasswordAuthentication.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithPasswordAuthentication.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithPasswordAuthentication.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithPasswordAuthentication.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithPremiumStorage.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithPremiumStorage.java index 37345a41fb..bac5da60ea 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithPremiumStorage.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithPremiumStorage.java @@ -17,7 +17,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_WithPremiumStorage.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithPremiumStorage.json */ /** * Sample code: Create a vm with premium storage. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithPremiumStorage.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithPremiumStorage.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithPremiumStorage.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithPremiumStorage.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithScheduledEventsProfile.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithScheduledEventsProfile.java index 1f5b9da3ab..f0f6c0153a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithScheduledEventsProfile.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithScheduledEventsProfile.java @@ -21,7 +21,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_WithScheduledEventsProfile.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithScheduledEventsProfile.json */ /** * Sample code: Create a vm with Scheduled Events Profile. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithScheduledEventsProfile.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithScheduledEventsProfile.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithScheduledEventsProfile.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithScheduledEventsProfile.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVM.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVM.java index ed4b2a9139..c63bc80327 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVM.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVM.java @@ -22,7 +22,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVM.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVM.json */ /** * Sample code: Create a VM with securityType ConfidentialVM with Platform Managed Keys. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVM.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVM.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVM.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVM.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVMWithCustomerManagedKeys.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVMWithCustomerManagedKeys.java index 4880256f31..d015749688 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVMWithCustomerManagedKeys.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVMWithCustomerManagedKeys.java @@ -23,7 +23,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVMWithCustomerManagedKeys.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVMWithCustomerManagedKeys.json */ /** * Sample code: Create a VM with securityType ConfidentialVM with Customer Managed Keys. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVMWithCustomerManagedKeys.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVMWithCustomerManagedKeys.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVMWithCustomerManagedKeys.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVMWithCustomerManagedKeys.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithSshAuthentication.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithSshAuthentication.java index bc2cf7b662..5d6002951e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithSshAuthentication.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithSshAuthentication.java @@ -20,7 +20,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_WithSshAuthentication.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithSshAuthentication.json */ /** * Sample code: Create a vm with ssh authentication. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithSshAuthentication.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithSshAuthentication.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithSshAuthentication.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithSshAuthentication.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithUefiSettings.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithUefiSettings.java index aaf5179ffb..d256efef66 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithUefiSettings.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithUefiSettings.java @@ -20,7 +20,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_WithUefiSettings.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithUefiSettings.json */ /** * Sample code: Create a VM with Uefi Settings of secureBoot and vTPM. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithUefiSettings.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithUefiSettings.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithUefiSettings.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithUefiSettings.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithUserData.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithUserData.java index cf4c7220f1..b2228254d2 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithUserData.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithUserData.java @@ -19,7 +19,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_WithUserData.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Create_WithUserData.json */ /** * Sample code: Create a VM with UserData. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithUserData.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithUserData.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithUserData.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Create_WithUserData.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Delete_Force.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Delete_Force.java index debc2843ee..04d3c9a64f 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Delete_Force.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Delete_Force.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachines Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Delete_Force.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Delete_Force.json */ /** * Sample code: Force delete a VM. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Delete_Force.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Delete_Force.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Delete_Force.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Delete_Force.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Generalize.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Generalize.java index c77963705f..d6927b762a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Generalize.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Generalize.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachines Generalize. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Generalize.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Generalize.json */ /** * Sample code: Generalize a Virtual Machine. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Generalize.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Generalize.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Generalize.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Generalize.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get.java index 92d532c5cb..a794ffe00a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachines GetByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Get.json */ /** * Sample code: Get a Virtual Machine. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get_AutoPlacedOnDedicatedHostGroup.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get_AutoPlacedOnDedicatedHostGroup.java index 6e1f1c68f0..edcef64e01 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get_AutoPlacedOnDedicatedHostGroup.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get_AutoPlacedOnDedicatedHostGroup.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachines GetByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Get_AutoPlacedOnDedicatedHostGroup.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Get_AutoPlacedOnDedicatedHostGroup.json */ /** * Sample code: Get a virtual machine placed on a dedicated host group through automatic placement. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get_AutoPlacedOnDedicatedHostGroup.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get_AutoPlacedOnDedicatedHostGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get_AutoPlacedOnDedicatedHostGroup.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get_AutoPlacedOnDedicatedHostGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get_InstanceView.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get_InstanceView.java index 34999ef721..2bf736009e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get_InstanceView.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get_InstanceView.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachines InstanceView. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Get_InstanceView.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Get_InstanceView.json */ /** * Sample code: Get Virtual Machine Instance View. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get_InstanceView.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get_InstanceView.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get_InstanceView.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get_InstanceView.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get_InstanceViewAutoPlacedOnDedicatedHostGroup.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get_InstanceViewAutoPlacedOnDedicatedHostGroup.java index e9c66c740e..abafe0b1e7 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get_InstanceViewAutoPlacedOnDedicatedHostGroup.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get_InstanceViewAutoPlacedOnDedicatedHostGroup.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachines InstanceView. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Get_InstanceViewAutoPlacedOnDedicatedHostGroup.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Get_InstanceViewAutoPlacedOnDedicatedHostGroup.json */ /** * Sample code: Get instance view of a virtual machine placed on a dedicated host group through automatic placement. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get_InstanceViewAutoPlacedOnDedicatedHostGroup.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get_InstanceViewAutoPlacedOnDedicatedHostGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get_InstanceViewAutoPlacedOnDedicatedHostGroup.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get_InstanceViewAutoPlacedOnDedicatedHostGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get_WithVMSizeProperties.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get_WithVMSizeProperties.java index 8c42b84efe..062c81bfb4 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get_WithVMSizeProperties.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get_WithVMSizeProperties.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachines GetByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Get_WithVMSizeProperties.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Get_WithVMSizeProperties.json */ /** * Sample code: Get a virtual machine with VM Size Properties. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get_WithVMSizeProperties.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get_WithVMSizeProperties.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get_WithVMSizeProperties.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Get_WithVMSizeProperties.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_InstallPatches.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_InstallPatches.java index 4d4ef02b47..8a90bb0d0b 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_InstallPatches.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_InstallPatches.java @@ -9,7 +9,7 @@ import java.util.Arrays; /** Samples for VirtualMachines InstallPatches. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_InstallPatches.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_InstallPatches.json */ /** * Sample code: Install patch state of a virtual machine. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_InstallPatches.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_InstallPatches.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_InstallPatches.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_InstallPatches.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Reapply.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Reapply.java index 9753934301..93a603cf66 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Reapply.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Reapply.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachines Reapply. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Reapply.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Reapply.json */ /** * Sample code: Reapply the state of a virtual machine. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Reapply.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Reapply.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Reapply.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Reapply.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Reimage.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Reimage.java index 0ae5237c82..effc08fb4d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Reimage.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Reimage.java @@ -4,7 +4,7 @@ import com.azure.resourcemanager.compute.models.VirtualMachineReimageParameters; /** Samples for VirtualMachines Reimage. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Reimage.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Reimage.json */ /** * Sample code: Reimage a Virtual Machine. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Reimage.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Reimage.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Reimage.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Reimage.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_RetrieveBootDiagnosticsData.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_RetrieveBootDiagnosticsData.java index 7abf197324..19eda924b6 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_RetrieveBootDiagnosticsData.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_RetrieveBootDiagnosticsData.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachines RetrieveBootDiagnosticsData. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_RetrieveBootDiagnosticsData.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_RetrieveBootDiagnosticsData.json */ /** * Sample code: RetrieveBootDiagnosticsData of a virtual machine. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_RetrieveBootDiagnosticsData.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_RetrieveBootDiagnosticsData.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_RetrieveBootDiagnosticsData.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_RetrieveBootDiagnosticsData.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_SimulateEviction.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_SimulateEviction.java index 8c76a9ef10..79e68f87e6 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_SimulateEviction.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_SimulateEviction.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachines SimulateEviction. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_SimulateEviction.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_SimulateEviction.json */ /** * Sample code: Simulate Eviction a virtual machine. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_SimulateEviction.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_SimulateEviction.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_SimulateEviction.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_SimulateEviction.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Update_DetachDataDiskUsingToBeDetachedProperty.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Update_DetachDataDiskUsingToBeDetachedProperty.java index c514dfec72..1f8ee8af66 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Update_DetachDataDiskUsingToBeDetachedProperty.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Update_DetachDataDiskUsingToBeDetachedProperty.java @@ -18,7 +18,7 @@ import java.util.Arrays; /** Samples for VirtualMachines Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Update_DetachDataDiskUsingToBeDetachedProperty.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Update_DetachDataDiskUsingToBeDetachedProperty.json */ /** * Sample code: Update a VM by detaching data disk. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Update_DetachDataDiskUsingToBeDetachedProperty.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Update_DetachDataDiskUsingToBeDetachedProperty.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Update_DetachDataDiskUsingToBeDetachedProperty.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Update_DetachDataDiskUsingToBeDetachedProperty.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Update_ForceDetachDataDisk.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Update_ForceDetachDataDisk.java index 29c17da349..4170dc27fa 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Update_ForceDetachDataDisk.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Update_ForceDetachDataDisk.java @@ -19,7 +19,7 @@ import java.util.Arrays; /** Samples for VirtualMachines Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Update_ForceDetachDataDisk.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachine_Update_ForceDetachDataDisk.json */ /** * Sample code: Update a VM by force-detaching data disk. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Update_ForceDetachDataDisk.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Update_ForceDetachDataDisk.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Update_ForceDetachDataDisk.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachine_Update_ForceDetachDataDisk.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Capture_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Capture_MaximumSet_Gen.java index e331c9a093..bb8307c5d7 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Capture_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Capture_MaximumSet_Gen.java @@ -4,7 +4,7 @@ import com.azure.resourcemanager.compute.models.VirtualMachineCaptureParameters; /** Samples for VirtualMachines Capture. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachines_Capture_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachines_Capture_MaximumSet_Gen.json */ /** * Sample code: VirtualMachines_Capture_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Capture_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Capture_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Capture_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Capture_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Capture_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Capture_MinimumSet_Gen.java index 5e64090389..4f2ecc1259 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Capture_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Capture_MinimumSet_Gen.java @@ -4,7 +4,7 @@ import com.azure.resourcemanager.compute.models.VirtualMachineCaptureParameters; /** Samples for VirtualMachines Capture. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachines_Capture_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachines_Capture_MinimumSet_Gen.json */ /** * Sample code: VirtualMachines_Capture_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Capture_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Capture_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Capture_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Capture_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ConvertToManagedDisks_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ConvertToManagedDisks_MaximumSet_Gen.java index 0ed06527ef..a5266f0626 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ConvertToManagedDisks_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ConvertToManagedDisks_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachines ConvertToManagedDisks. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachines_ConvertToManagedDisks_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachines_ConvertToManagedDisks_MaximumSet_Gen.json */ /** * Sample code: VirtualMachines_ConvertToManagedDisks_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ConvertToManagedDisks_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ConvertToManagedDisks_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ConvertToManagedDisks_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ConvertToManagedDisks_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ConvertToManagedDisks_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ConvertToManagedDisks_MinimumSet_Gen.java index ce5baf71eb..fa969f4885 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ConvertToManagedDisks_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ConvertToManagedDisks_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachines ConvertToManagedDisks. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachines_ConvertToManagedDisks_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachines_ConvertToManagedDisks_MinimumSet_Gen.json */ /** * Sample code: VirtualMachines_ConvertToManagedDisks_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ConvertToManagedDisks_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ConvertToManagedDisks_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ConvertToManagedDisks_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ConvertToManagedDisks_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Deallocate_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Deallocate_MaximumSet_Gen.java index 6525e4289c..198fcda851 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Deallocate_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Deallocate_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachines Deallocate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachines_Deallocate_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachines_Deallocate_MaximumSet_Gen.json */ /** * Sample code: VirtualMachines_Deallocate_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Deallocate_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Deallocate_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Deallocate_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Deallocate_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Deallocate_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Deallocate_MinimumSet_Gen.java index 36e46b8cb5..fe0d6edf49 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Deallocate_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Deallocate_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachines Deallocate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachines_Deallocate_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachines_Deallocate_MinimumSet_Gen.json */ /** * Sample code: VirtualMachines_Deallocate_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Deallocate_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Deallocate_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Deallocate_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Deallocate_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ListAll_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ListAll_MaximumSet_Gen.java index 60af64254a..2f803e1aac 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ListAll_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ListAll_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachines List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachines_ListAll_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachines_ListAll_MaximumSet_Gen.json */ /** * Sample code: VirtualMachines_ListAll_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ListAll_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ListAll_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ListAll_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ListAll_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ListAll_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ListAll_MinimumSet_Gen.java index 6f6defea8d..1ac1d2be98 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ListAll_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ListAll_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachines List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachines_ListAll_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachines_ListAll_MinimumSet_Gen.json */ /** * Sample code: VirtualMachines_ListAll_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ListAll_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ListAll_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ListAll_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ListAll_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ListAvailableVmSizes.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ListAvailableVmSizes.java index 8adaaead61..843df826fe 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ListAvailableVmSizes.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ListAvailableVmSizes.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachines ListAvailableSizes. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachines_ListAvailableVmSizes.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachines_ListAvailableVmSizes.json */ /** * Sample code: Lists all available virtual machine sizes to which the specified virtual machine can be resized. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ListAvailableVmSizes.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ListAvailableVmSizes.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ListAvailableVmSizes.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ListAvailableVmSizes.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ListBySubscription_ByLocation.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ListBySubscription_ByLocation.java index aa621d68b8..fb006b8c61 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ListBySubscription_ByLocation.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ListBySubscription_ByLocation.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachines ListByLocation. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachines_ListBySubscription_ByLocation.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachines_ListBySubscription_ByLocation.json */ /** * Sample code: Lists all the virtual machines under the specified subscription for the specified location. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ListBySubscription_ByLocation.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ListBySubscription_ByLocation.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ListBySubscription_ByLocation.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_ListBySubscription_ByLocation.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_List_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_List_MaximumSet_Gen.java index 3c0f29b0ee..480361db91 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_List_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_List_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachines ListByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachines_List_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachines_List_MaximumSet_Gen.json */ /** * Sample code: VirtualMachines_List_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_List_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_List_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_List_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_List_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_List_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_List_MinimumSet_Gen.java index 526bbe56e7..a3449e9577 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_List_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_List_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachines ListByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachines_List_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachines_List_MinimumSet_Gen.json */ /** * Sample code: VirtualMachines_List_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_List_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_List_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_List_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_List_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_PerformMaintenance_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_PerformMaintenance_MaximumSet_Gen.java index 0144bb519c..d8b4007401 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_PerformMaintenance_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_PerformMaintenance_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachines PerformMaintenance. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachines_PerformMaintenance_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachines_PerformMaintenance_MaximumSet_Gen.json */ /** * Sample code: VirtualMachines_PerformMaintenance_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_PerformMaintenance_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_PerformMaintenance_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_PerformMaintenance_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_PerformMaintenance_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_PerformMaintenance_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_PerformMaintenance_MinimumSet_Gen.java index 5afccc691b..d2bc2b7e8b 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_PerformMaintenance_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_PerformMaintenance_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachines PerformMaintenance. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachines_PerformMaintenance_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachines_PerformMaintenance_MinimumSet_Gen.json */ /** * Sample code: VirtualMachines_PerformMaintenance_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_PerformMaintenance_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_PerformMaintenance_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_PerformMaintenance_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_PerformMaintenance_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_PowerOff_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_PowerOff_MaximumSet_Gen.java index 3eb8fb54a6..42227ef3a1 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_PowerOff_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_PowerOff_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachines PowerOff. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachines_PowerOff_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachines_PowerOff_MaximumSet_Gen.json */ /** * Sample code: VirtualMachines_PowerOff_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_PowerOff_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_PowerOff_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_PowerOff_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_PowerOff_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_PowerOff_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_PowerOff_MinimumSet_Gen.java index 8523d694eb..5630a75e62 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_PowerOff_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_PowerOff_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachines PowerOff. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachines_PowerOff_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachines_PowerOff_MinimumSet_Gen.json */ /** * Sample code: VirtualMachines_PowerOff_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_PowerOff_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_PowerOff_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_PowerOff_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_PowerOff_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Redeploy_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Redeploy_MaximumSet_Gen.java index 47a53eef0d..718da7120a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Redeploy_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Redeploy_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachines Redeploy. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachines_Redeploy_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachines_Redeploy_MaximumSet_Gen.json */ /** * Sample code: VirtualMachines_Redeploy_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Redeploy_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Redeploy_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Redeploy_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Redeploy_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Redeploy_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Redeploy_MinimumSet_Gen.java index ff9b126155..2c3e867af8 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Redeploy_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Redeploy_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachines Redeploy. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachines_Redeploy_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachines_Redeploy_MinimumSet_Gen.json */ /** * Sample code: VirtualMachines_Redeploy_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Redeploy_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Redeploy_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Redeploy_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Redeploy_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Restart_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Restart_MaximumSet_Gen.java index 8a9f7fb6e3..54568dc0ac 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Restart_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Restart_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachines Restart. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachines_Restart_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachines_Restart_MaximumSet_Gen.json */ /** * Sample code: VirtualMachines_Restart_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Restart_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Restart_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Restart_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Restart_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Restart_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Restart_MinimumSet_Gen.java index 679e69135d..46b1b60c31 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Restart_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Restart_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachines Restart. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachines_Restart_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachines_Restart_MinimumSet_Gen.json */ /** * Sample code: VirtualMachines_Restart_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Restart_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Restart_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Restart_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Restart_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Start_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Start_MaximumSet_Gen.java index 415e685349..0d60c5bb56 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Start_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Start_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachines Start. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachines_Start_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachines_Start_MaximumSet_Gen.json */ /** * Sample code: VirtualMachines_Start_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Start_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Start_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Start_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Start_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Start_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Start_MinimumSet_Gen.java index a75a266585..97866e8d9f 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Start_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Start_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachines Start. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachines_Start_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachines_Start_MinimumSet_Gen.json */ /** * Sample code: VirtualMachines_Start_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Start_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Start_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Start_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMachines_Start_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMacine_Create_InAVmssWithCustomerAssignedPlatformFaultDomain.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMacine_Create_InAVmssWithCustomerAssignedPlatformFaultDomain.java index a5d40d81ec..6ca22d1492 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMacine_Create_InAVmssWithCustomerAssignedPlatformFaultDomain.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMacine_Create_InAVmssWithCustomerAssignedPlatformFaultDomain.java @@ -18,7 +18,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMacine_Create_InAVmssWithCustomerAssignedPlatformFaultDomain.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMacine_Create_InAVmssWithCustomerAssignedPlatformFaultDomain.json */ /** * Sample code: Create a vm in a Virtual Machine Scale Set with customer assigned platformFaultDomain. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMacine_Create_InAVmssWithCustomerAssignedPlatformFaultDomain.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMacine_Create_InAVmssWithCustomerAssignedPlatformFaultDomain.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMacine_Create_InAVmssWithCustomerAssignedPlatformFaultDomain.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMacine_Create_InAVmssWithCustomerAssignedPlatformFaultDomain.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMacine_Create_WithBootDiagnostics.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMacine_Create_WithBootDiagnostics.java index fd81e86037..6d3064c6d7 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMacine_Create_WithBootDiagnostics.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMacine_Create_WithBootDiagnostics.java @@ -19,7 +19,7 @@ import java.util.Arrays; /** Samples for VirtualMachines CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMacine_Create_WithBootDiagnostics.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMacine_Create_WithBootDiagnostics.json */ /** * Sample code: Create a vm with boot diagnostics. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMacine_Create_WithBootDiagnostics.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMacine_Create_WithBootDiagnostics.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMacine_Create_WithBootDiagnostics.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExamples/VirtualMacine_Create_WithBootDiagnostics.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_Get_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_Get_MaximumSet_Gen.java index 4d095f88f0..26296f00a6 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_Get_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_Get_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineExtensionImages Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_Get_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_Get_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineExtensionImages_Get_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_Get_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_Get_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_Get_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_Get_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_Get_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_Get_MinimumSet_Gen.java index 7307907a8d..0fce9d9fa3 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_Get_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_Get_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineExtensionImages Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_Get_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_Get_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineExtensionImages_Get_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_Get_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_Get_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_Get_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_Get_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListTypes_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListTypes_MaximumSet_Gen.java index 70fe6960aa..f83bfe994a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListTypes_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListTypes_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineExtensionImages ListTypes. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListTypes_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListTypes_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineExtensionImages_ListTypes_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListTypes_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListTypes_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListTypes_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListTypes_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListTypes_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListTypes_MinimumSet_Gen.java index 3cdb6c057b..69f5add0ef 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListTypes_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListTypes_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineExtensionImages ListTypes. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListTypes_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListTypes_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineExtensionImages_ListTypes_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListTypes_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListTypes_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListTypes_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListTypes_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListVersions_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListVersions_MaximumSet_Gen.java index 253e88f219..1116d20316 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListVersions_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListVersions_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineExtensionImages ListVersions. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListVersions_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListVersions_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineExtensionImages_ListVersions_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListVersions_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListVersions_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListVersions_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListVersions_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListVersions_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListVersions_MinimumSet_Gen.java index d787b22396..8d5a60aba8 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListVersions_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListVersions_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineExtensionImages ListVersions. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListVersions_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListVersions_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineExtensionImages_ListVersions_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListVersions_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListVersions_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListVersions_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineExtensionImageExamples/VirtualMachineExtensionImages_ListVersions_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_Get_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_Get_MaximumSet_Gen.java index d1ad40ac9e..18e1775287 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_Get_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_Get_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineImagesEdgeZone Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_Get_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_Get_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineImagesEdgeZone_Get_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_Get_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_Get_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_Get_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_Get_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_Get_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_Get_MinimumSet_Gen.java index 68573fe269..17608350c0 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_Get_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_Get_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineImagesEdgeZone Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_Get_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_Get_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineImagesEdgeZone_Get_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_Get_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_Get_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_Get_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_Get_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListByEdgeZone_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListByEdgeZone_MaximumSet_Gen.java index c3a3cf231d..c9c6349fba 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListByEdgeZone_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListByEdgeZone_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineImages ListByEdgeZone. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListByEdgeZone_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListByEdgeZone_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineImagesEdgeZone_ListByEdgeZone_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListByEdgeZone_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListByEdgeZone_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListByEdgeZone_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListByEdgeZone_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListByEdgeZone_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListByEdgeZone_MinimumSet_Gen.java index e64309a636..1ec52c98e2 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListByEdgeZone_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListByEdgeZone_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineImages ListByEdgeZone. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListByEdgeZone_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListByEdgeZone_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineImagesEdgeZone_ListByEdgeZone_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListByEdgeZone_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListByEdgeZone_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListByEdgeZone_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListByEdgeZone_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListOffers_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListOffers_MaximumSet_Gen.java index a43b1da52b..829b8f38c1 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListOffers_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListOffers_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineImagesEdgeZone ListOffers. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListOffers_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListOffers_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineImagesEdgeZone_ListOffers_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListOffers_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListOffers_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListOffers_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListOffers_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListOffers_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListOffers_MinimumSet_Gen.java index 60551a77cb..5ee3e10c9c 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListOffers_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListOffers_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineImagesEdgeZone ListOffers. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListOffers_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListOffers_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineImagesEdgeZone_ListOffers_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListOffers_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListOffers_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListOffers_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListOffers_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListPublishers_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListPublishers_MaximumSet_Gen.java index 1bd4dde777..57786e09ad 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListPublishers_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListPublishers_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineImagesEdgeZone ListPublishers. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListPublishers_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListPublishers_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineImagesEdgeZone_ListPublishers_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListPublishers_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListPublishers_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListPublishers_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListPublishers_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListPublishers_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListPublishers_MinimumSet_Gen.java index 90abdf542d..89f0601edb 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListPublishers_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListPublishers_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineImagesEdgeZone ListPublishers. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListPublishers_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListPublishers_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineImagesEdgeZone_ListPublishers_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListPublishers_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListPublishers_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListPublishers_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListPublishers_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListSkus_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListSkus_MaximumSet_Gen.java index 8b2fa59511..b9ebfa5ab8 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListSkus_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListSkus_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineImagesEdgeZone ListSkus. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListSkus_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListSkus_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineImagesEdgeZone_ListSkus_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListSkus_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListSkus_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListSkus_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListSkus_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListSkus_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListSkus_MinimumSet_Gen.java index 4283d39a54..571d7b701a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListSkus_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListSkus_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineImagesEdgeZone ListSkus. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListSkus_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListSkus_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineImagesEdgeZone_ListSkus_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListSkus_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListSkus_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListSkus_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListSkus_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_List_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_List_MaximumSet_Gen.java index 1675688f0b..834b58941e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_List_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_List_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineImagesEdgeZone List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_List_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_List_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineImagesEdgeZone_List_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_List_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_List_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_List_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_List_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_List_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_List_MinimumSet_Gen.java index 29c960a681..ffc147e0ae 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_List_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_List_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineImagesEdgeZone List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_List_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_List_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineImagesEdgeZone_List_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_List_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_List_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_List_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_List_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_Get_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_Get_MaximumSet_Gen.java index d1a3983e99..80edb32234 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_Get_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_Get_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineImages Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineImageExamples/VirtualMachineImages_Get_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineImageExamples/VirtualMachineImages_Get_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineImages_Get_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_Get_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_Get_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_Get_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_Get_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_Get_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_Get_MinimumSet_Gen.java index f0f7b5e874..1bf56371c7 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_Get_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_Get_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineImages Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineImageExamples/VirtualMachineImages_Get_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineImageExamples/VirtualMachineImages_Get_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineImages_Get_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_Get_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_Get_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_Get_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_Get_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListOffers_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListOffers_MaximumSet_Gen.java index a6f7d1e4c6..a0a6fc742e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListOffers_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListOffers_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineImages ListOffers. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineImageExamples/VirtualMachineImages_ListOffers_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineImageExamples/VirtualMachineImages_ListOffers_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineImages_ListOffers_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListOffers_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListOffers_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListOffers_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListOffers_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListOffers_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListOffers_MinimumSet_Gen.java index 5413a8a41e..367cf28887 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListOffers_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListOffers_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineImages ListOffers. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineImageExamples/VirtualMachineImages_ListOffers_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineImageExamples/VirtualMachineImages_ListOffers_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineImages_ListOffers_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListOffers_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListOffers_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListOffers_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListOffers_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListPublishers_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListPublishers_MaximumSet_Gen.java index a4eaadd5ca..375fca89dd 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListPublishers_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListPublishers_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineImages ListPublishers. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineImageExamples/VirtualMachineImages_ListPublishers_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineImageExamples/VirtualMachineImages_ListPublishers_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineImages_ListPublishers_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListPublishers_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListPublishers_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListPublishers_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListPublishers_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListPublishers_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListPublishers_MinimumSet_Gen.java index 412b14517b..59aa0880bd 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListPublishers_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListPublishers_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineImages ListPublishers. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineImageExamples/VirtualMachineImages_ListPublishers_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineImageExamples/VirtualMachineImages_ListPublishers_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineImages_ListPublishers_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListPublishers_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListPublishers_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListPublishers_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListPublishers_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListSkus_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListSkus_MaximumSet_Gen.java index f6711245a4..8ae8881107 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListSkus_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListSkus_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineImages ListSkus. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineImageExamples/VirtualMachineImages_ListSkus_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineImageExamples/VirtualMachineImages_ListSkus_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineImages_ListSkus_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListSkus_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListSkus_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListSkus_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListSkus_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListSkus_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListSkus_MinimumSet_Gen.java index 95c526e148..3f21d542f0 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListSkus_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListSkus_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineImages ListSkus. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineImageExamples/VirtualMachineImages_ListSkus_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineImageExamples/VirtualMachineImages_ListSkus_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineImages_ListSkus_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListSkus_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListSkus_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListSkus_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_ListSkus_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_List_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_List_MaximumSet_Gen.java index 32f2bceaad..534ae75693 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_List_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_List_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineImages List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineImageExamples/VirtualMachineImages_List_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineImageExamples/VirtualMachineImages_List_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineImages_List_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_List_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_List_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_List_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_List_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_List_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_List_MinimumSet_Gen.java index 38e25fc35f..f6ba3d7365 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_List_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_List_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineImages List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineImageExamples/VirtualMachineImages_List_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineImageExamples/VirtualMachineImages_List_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineImages_List_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_List_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_List_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_List_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineImageExamples/VirtualMachineImages_List_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_RollingUpgrade.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_RollingUpgrade.java index 4cfd533e1b..3cb0ddedc6 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_RollingUpgrade.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_RollingUpgrade.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetRollingUpgrades StartExtensionUpgrade. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_RollingUpgrade.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_RollingUpgrade.json */ /** * Sample code: Start an extension rolling upgrade. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_RollingUpgrade.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_RollingUpgrade.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_RollingUpgrade.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_RollingUpgrade.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_CreateOrUpdate_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_CreateOrUpdate_MaximumSet_Gen.java index 57c00289c6..b0173ca98e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_CreateOrUpdate_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_CreateOrUpdate_MaximumSet_Gen.java @@ -8,7 +8,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSetExtensions CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_CreateOrUpdate_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_CreateOrUpdate_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetExtensions_CreateOrUpdate_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_CreateOrUpdate_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_CreateOrUpdate_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_CreateOrUpdate_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_CreateOrUpdate_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_CreateOrUpdate_MinimumSet_Gen.java index d7cb42e194..f3376ee12b 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_CreateOrUpdate_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_CreateOrUpdate_MinimumSet_Gen.java @@ -4,7 +4,7 @@ import com.azure.resourcemanager.compute.fluent.models.VirtualMachineScaleSetExt /** Samples for VirtualMachineScaleSetExtensions CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_CreateOrUpdate_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_CreateOrUpdate_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetExtensions_CreateOrUpdate_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_CreateOrUpdate_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_CreateOrUpdate_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_CreateOrUpdate_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_CreateOrUpdate_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Delete_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Delete_MaximumSet_Gen.java index 780e6392a5..87e938f00c 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Delete_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Delete_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetExtensions Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Delete_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Delete_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetExtensions_Delete_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Delete_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Delete_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Delete_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Delete_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Delete_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Delete_MinimumSet_Gen.java index 51edfa97f5..725849f66b 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Delete_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Delete_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetExtensions Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Delete_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Delete_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetExtensions_Delete_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Delete_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Delete_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Delete_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Delete_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Get_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Get_MaximumSet_Gen.java index 7f72ee4e3b..8d27500832 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Get_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Get_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetExtensions Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Get_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Get_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetExtensions_Get_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Get_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Get_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Get_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Get_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Get_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Get_MinimumSet_Gen.java index 7cbf5a3049..1b6f410b79 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Get_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Get_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetExtensions Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Get_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Get_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetExtensions_Get_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Get_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Get_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Get_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Get_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_List_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_List_MaximumSet_Gen.java index 2ee8c6148e..7d5d52ec59 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_List_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_List_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetExtensions List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_List_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_List_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetExtensions_List_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_List_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_List_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_List_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_List_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_List_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_List_MinimumSet_Gen.java index 72910f28fa..583f56ed3a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_List_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_List_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetExtensions List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_List_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_List_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetExtensions_List_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_List_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_List_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_List_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_List_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Update_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Update_MaximumSet_Gen.java index 678cf59175..24abc98736 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Update_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Update_MaximumSet_Gen.java @@ -8,7 +8,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSetExtensions Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Update_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Update_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetExtensions_Update_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Update_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Update_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Update_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Update_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Update_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Update_MinimumSet_Gen.java index 9985983ca4..e9cafad81d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Update_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Update_MinimumSet_Gen.java @@ -4,7 +4,7 @@ import com.azure.resourcemanager.compute.models.VirtualMachineScaleSetExtensionU /** Samples for VirtualMachineScaleSetExtensions Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Update_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Update_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetExtensions_Update_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Update_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Update_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Update_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtensions_Update_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_Cancel_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_Cancel_MaximumSet_Gen.java index 0111eb7d8c..3bb67e4e5a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_Cancel_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_Cancel_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetRollingUpgrades Cancel. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_Cancel_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_Cancel_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetRollingUpgrades_Cancel_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_Cancel_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_Cancel_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_Cancel_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_Cancel_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_Cancel_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_Cancel_MinimumSet_Gen.java index 0b3712c15d..6cc411584b 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_Cancel_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_Cancel_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetRollingUpgrades Cancel. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_Cancel_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_Cancel_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetRollingUpgrades_Cancel_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_Cancel_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_Cancel_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_Cancel_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_Cancel_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_GetLatest_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_GetLatest_MaximumSet_Gen.java index 6194d8805e..04e21702e6 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_GetLatest_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_GetLatest_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetRollingUpgrades GetLatest. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_GetLatest_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_GetLatest_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetRollingUpgrades_GetLatest_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_GetLatest_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_GetLatest_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_GetLatest_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_GetLatest_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_GetLatest_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_GetLatest_MinimumSet_Gen.java index 672e29beb1..d807400468 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_GetLatest_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_GetLatest_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetRollingUpgrades GetLatest. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_GetLatest_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_GetLatest_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetRollingUpgrades_GetLatest_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_GetLatest_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_GetLatest_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_GetLatest_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_GetLatest_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_StartOSUpgrade_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_StartOSUpgrade_MaximumSet_Gen.java index 0602edbaa2..7b12dd9b8a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_StartOSUpgrade_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_StartOSUpgrade_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetRollingUpgrades StartOSUpgrade. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_StartOSUpgrade_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_StartOSUpgrade_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetRollingUpgrades_StartOSUpgrade_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_StartOSUpgrade_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_StartOSUpgrade_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_StartOSUpgrade_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_StartOSUpgrade_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_StartOSUpgrade_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_StartOSUpgrade_MinimumSet_Gen.java index 53e3c8e592..49605ae859 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_StartOSUpgrade_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_StartOSUpgrade_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetRollingUpgrades StartOSUpgrade. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_StartOSUpgrade_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_StartOSUpgrade_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetRollingUpgrades_StartOSUpgrade_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_StartOSUpgrade_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_StartOSUpgrade_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_StartOSUpgrade_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrades_StartOSUpgrade_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Create.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Create.java index fc49f8171f..56113d3e3e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Create.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Create.java @@ -7,7 +7,7 @@ import java.io.IOException; /** Samples for VirtualMachineScaleSetVMExtensions CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Create.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Create.json */ /** * Sample code: Create VirtualMachineScaleSet VM extension. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Create.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Create.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Create.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Create.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Delete.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Delete.java index 87296f497d..41d8357c9f 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Delete.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Delete.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetVMExtensions Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Delete.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Delete.json */ /** * Sample code: Delete VirtualMachineScaleSet VM extension. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Delete.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Delete.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Get.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Get.java index 1f61fe7f59..0de1d6901e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetVMExtensions Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Get.json */ /** * Sample code: Get VirtualMachineScaleSet VM extension. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Get.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_List.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_List.java index 2784d945d7..aa1c55095c 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_List.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_List.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetVMExtensions List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_List.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_List.json */ /** * Sample code: List extensions in Vmss instance. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_List.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_List.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Update.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Update.java index 623c901e1e..5070ae4397 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Update.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Update.java @@ -7,7 +7,7 @@ import java.io.IOException; /** Samples for VirtualMachineScaleSetVMExtensions Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Update.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Update.json */ /** * Sample code: Update VirtualMachineScaleSet VM extension. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Update.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Update.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Update.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtensions_Update.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Delete_Force.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Delete_Force.java index ede1c4fb66..9868393347 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Delete_Force.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Delete_Force.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetVMs Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Delete_Force.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Delete_Force.json */ /** * Sample code: Force Delete a virtual machine from a VM scale set. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Delete_Force.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Delete_Force.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Delete_Force.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Delete_Force.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithUserData.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithUserData.java index 6d4444ac70..a7bd028b3c 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithUserData.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithUserData.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetVMs Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithUserData.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithUserData.json */ /** * Sample code: Get VM scale set VM with UserData. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithUserData.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithUserData.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithUserData.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithUserData.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithVMSizeProperties.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithVMSizeProperties.java index 6c53a8f85d..5eb0d81e23 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithVMSizeProperties.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithVMSizeProperties.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetVMs Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithVMSizeProperties.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithVMSizeProperties.json */ /** * Sample code: Get VM scale set VM with VMSizeProperties. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithVMSizeProperties.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithVMSizeProperties.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithVMSizeProperties.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithVMSizeProperties.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_RetrieveBootDiagnosticsData.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_RetrieveBootDiagnosticsData.java index ab14900321..f30edaaf52 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_RetrieveBootDiagnosticsData.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_RetrieveBootDiagnosticsData.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetVMs RetrieveBootDiagnosticsData. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_RetrieveBootDiagnosticsData.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_RetrieveBootDiagnosticsData.json */ /** * Sample code: RetrieveBootDiagnosticsData of a virtual machine. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_RetrieveBootDiagnosticsData.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_RetrieveBootDiagnosticsData.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_RetrieveBootDiagnosticsData.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_RetrieveBootDiagnosticsData.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_SimulateEviction.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_SimulateEviction.java index a2a8551389..aea3aaaa1d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_SimulateEviction.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_SimulateEviction.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetVMs SimulateEviction. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_SimulateEviction.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_SimulateEviction.json */ /** * Sample code: Simulate Eviction a virtual machine. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_SimulateEviction.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_SimulateEviction.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_SimulateEviction.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_SimulateEviction.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Deallocate_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Deallocate_MaximumSet_Gen.java index 4bac9e9dd7..752685aced 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Deallocate_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Deallocate_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetVMs Deallocate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Deallocate_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Deallocate_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetVMs_Deallocate_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Deallocate_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Deallocate_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Deallocate_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Deallocate_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Deallocate_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Deallocate_MinimumSet_Gen.java index 560506c705..1d272020e8 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Deallocate_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Deallocate_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetVMs Deallocate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Deallocate_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Deallocate_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetVMs_Deallocate_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Deallocate_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Deallocate_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Deallocate_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Deallocate_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_List_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_List_MaximumSet_Gen.java index a68f4520ac..af22c19924 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_List_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_List_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetVMs List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_List_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_List_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetVMs_List_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_List_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_List_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_List_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_List_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_List_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_List_MinimumSet_Gen.java index 8690bac732..73331dda4b 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_List_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_List_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetVMs List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_List_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_List_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetVMs_List_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_List_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_List_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_List_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_List_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PerformMaintenance_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PerformMaintenance_MaximumSet_Gen.java index 72e1b4f38f..f8f69cd9cd 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PerformMaintenance_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PerformMaintenance_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetVMs PerformMaintenance. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PerformMaintenance_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PerformMaintenance_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetVMs_PerformMaintenance_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PerformMaintenance_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PerformMaintenance_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PerformMaintenance_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PerformMaintenance_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PerformMaintenance_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PerformMaintenance_MinimumSet_Gen.java index 26ad1920e1..712431480a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PerformMaintenance_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PerformMaintenance_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetVMs PerformMaintenance. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PerformMaintenance_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PerformMaintenance_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetVMs_PerformMaintenance_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PerformMaintenance_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PerformMaintenance_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PerformMaintenance_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PerformMaintenance_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PowerOff_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PowerOff_MaximumSet_Gen.java index b53e83fde7..0f2cab8c5d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PowerOff_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PowerOff_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetVMs PowerOff. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PowerOff_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PowerOff_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetVMs_PowerOff_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PowerOff_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PowerOff_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PowerOff_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PowerOff_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PowerOff_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PowerOff_MinimumSet_Gen.java index 2c6d4c9f9a..c0b8536978 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PowerOff_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PowerOff_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetVMs PowerOff. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PowerOff_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PowerOff_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetVMs_PowerOff_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PowerOff_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PowerOff_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PowerOff_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_PowerOff_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Redeploy_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Redeploy_MaximumSet_Gen.java index 4b90ea390d..2de7cb6a78 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Redeploy_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Redeploy_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetVMs Redeploy. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Redeploy_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Redeploy_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetVMs_Redeploy_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Redeploy_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Redeploy_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Redeploy_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Redeploy_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Redeploy_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Redeploy_MinimumSet_Gen.java index 745ee93141..57d8d62bb5 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Redeploy_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Redeploy_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetVMs Redeploy. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Redeploy_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Redeploy_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetVMs_Redeploy_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Redeploy_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Redeploy_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Redeploy_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Redeploy_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_ReimageAll_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_ReimageAll_MaximumSet_Gen.java index 76e305f42e..8f02ddab34 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_ReimageAll_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_ReimageAll_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetVMs ReimageAll. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_ReimageAll_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_ReimageAll_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetVMs_ReimageAll_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_ReimageAll_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_ReimageAll_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_ReimageAll_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_ReimageAll_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_ReimageAll_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_ReimageAll_MinimumSet_Gen.java index e8e703f4ab..a2607d463e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_ReimageAll_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_ReimageAll_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetVMs ReimageAll. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_ReimageAll_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_ReimageAll_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetVMs_ReimageAll_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_ReimageAll_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_ReimageAll_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_ReimageAll_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_ReimageAll_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Reimage_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Reimage_MaximumSet_Gen.java index 0cb454f691..3ee26ae663 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Reimage_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Reimage_MaximumSet_Gen.java @@ -4,7 +4,7 @@ import com.azure.resourcemanager.compute.models.VirtualMachineScaleSetVMReimageP /** Samples for VirtualMachineScaleSetVMs Reimage. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Reimage_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Reimage_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetVMs_Reimage_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Reimage_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Reimage_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Reimage_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Reimage_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Reimage_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Reimage_MinimumSet_Gen.java index a87c39e6af..11d41f01b1 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Reimage_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Reimage_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetVMs Reimage. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Reimage_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Reimage_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetVMs_Reimage_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Reimage_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Reimage_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Reimage_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Reimage_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Restart_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Restart_MaximumSet_Gen.java index 2a4d2b5f05..c12f95067f 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Restart_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Restart_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetVMs Restart. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Restart_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Restart_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetVMs_Restart_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Restart_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Restart_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Restart_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Restart_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Restart_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Restart_MinimumSet_Gen.java index 1f3ec90163..79b509608f 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Restart_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Restart_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetVMs Restart. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Restart_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Restart_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetVMs_Restart_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Restart_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Restart_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Restart_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Restart_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Start_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Start_MaximumSet_Gen.java index 58f386e223..45cf8fa36d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Start_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Start_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetVMs Start. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Start_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Start_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetVMs_Start_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Start_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Start_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Start_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Start_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Start_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Start_MinimumSet_Gen.java index 994c96d817..96d21dadd9 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Start_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Start_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSetVMs Start. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Start_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Start_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetVMs_Start_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Start_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Start_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Start_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Start_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Update_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Update_MaximumSet_Gen.java index 5689c96a00..868ee2c11a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Update_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Update_MaximumSet_Gen.java @@ -80,7 +80,7 @@ import java.util.Map; /** Samples for VirtualMachineScaleSetVMs Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Update_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Update_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetVMs_Update_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Update_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Update_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Update_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Update_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Update_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Update_MinimumSet_Gen.java index bf6fe78223..adf1c105d7 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Update_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Update_MinimumSet_Gen.java @@ -6,7 +6,7 @@ import java.util.Map; /** Samples for VirtualMachineScaleSetVMs Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Update_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Update_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSetVMs_Update_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Update_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Update_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Update_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMs_Update_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_CreateA_WithDiffOsDiskUsingDiffDiskPlacement.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_CreateA_WithDiffOsDiskUsingDiffDiskPlacement.java index edcf017dc3..6bd1e5ff25 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_CreateA_WithDiffOsDiskUsingDiffDiskPlacement.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_CreateA_WithDiffOsDiskUsingDiffDiskPlacement.java @@ -25,7 +25,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_CreateA_WithDiffOsDiskUsingDiffDiskPlacement.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_CreateA_WithDiffOsDiskUsingDiffDiskPlacement.json */ /** * Sample code: Create a scale set with ephemeral os disks using placement property. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_CreateA_WithDiffOsDiskUsingDiffDiskPlacement.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_CreateA_WithDiffOsDiskUsingDiffDiskPlacement.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_CreateA_WithDiffOsDiskUsingDiffDiskPlacement.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_CreateA_WithDiffOsDiskUsingDiffDiskPlacement.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_CustomImageFromAnUnmanagedGeneralizedOsImage.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_CustomImageFromAnUnmanagedGeneralizedOsImage.java index 82ea8cc43c..198a7c4595 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_CustomImageFromAnUnmanagedGeneralizedOsImage.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_CustomImageFromAnUnmanagedGeneralizedOsImage.java @@ -19,7 +19,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_CustomImageFromAnUnmanagedGeneralizedOsImage.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_CustomImageFromAnUnmanagedGeneralizedOsImage.json */ /** * Sample code: Create a custom-image scale set from an unmanaged generalized os image. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_CustomImageFromAnUnmanagedGeneralizedOsImage.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_CustomImageFromAnUnmanagedGeneralizedOsImage.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_CustomImageFromAnUnmanagedGeneralizedOsImage.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_CustomImageFromAnUnmanagedGeneralizedOsImage.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromACustomImage.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromACustomImage.java index c38f7b775b..0811adb335 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromACustomImage.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromACustomImage.java @@ -21,7 +21,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromACustomImage.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromACustomImage.json */ /** * Sample code: Create a scale set from a custom image. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromACustomImage.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromACustomImage.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromACustomImage.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromACustomImage.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromAGeneralizedSharedImage.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromAGeneralizedSharedImage.java index c33dd0540b..8c5836e4c1 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromAGeneralizedSharedImage.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromAGeneralizedSharedImage.java @@ -21,7 +21,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromAGeneralizedSharedImage.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromAGeneralizedSharedImage.json */ /** * Sample code: Create a scale set from a generalized shared image. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromAGeneralizedSharedImage.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromAGeneralizedSharedImage.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromAGeneralizedSharedImage.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromAGeneralizedSharedImage.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromASpecializedSharedImage.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromASpecializedSharedImage.java index 3d61bafaca..76e799ec00 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromASpecializedSharedImage.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromASpecializedSharedImage.java @@ -20,7 +20,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromASpecializedSharedImage.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromASpecializedSharedImage.json */ /** * Sample code: Create a scale set from a specialized shared image. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromASpecializedSharedImage.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromASpecializedSharedImage.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromASpecializedSharedImage.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromASpecializedSharedImage.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromWithFpgaNetworkInterface.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromWithFpgaNetworkInterface.java index 8fca2f881e..601c06ee40 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromWithFpgaNetworkInterface.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromWithFpgaNetworkInterface.java @@ -22,7 +22,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromWithFpgaNetworkInterface.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromWithFpgaNetworkInterface.json */ /** * Sample code: Create a scale set with Fpga Network Interfaces. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromWithFpgaNetworkInterface.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromWithFpgaNetworkInterface.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromWithFpgaNetworkInterface.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromWithFpgaNetworkInterface.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_PlatformImageWithUnmanagedOsDisks.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_PlatformImageWithUnmanagedOsDisks.java index a8a72b6004..1dff43b4b9 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_PlatformImageWithUnmanagedOsDisks.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_PlatformImageWithUnmanagedOsDisks.java @@ -19,7 +19,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_PlatformImageWithUnmanagedOsDisks.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_PlatformImageWithUnmanagedOsDisks.json */ /** * Sample code: Create a platform-image scale set with unmanaged os disks. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_PlatformImageWithUnmanagedOsDisks.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_PlatformImageWithUnmanagedOsDisks.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_PlatformImageWithUnmanagedOsDisks.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_PlatformImageWithUnmanagedOsDisks.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAMarketplaceImagePlan.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAMarketplaceImagePlan.java index 75308fdfdb..cc85a6d180 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAMarketplaceImagePlan.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAMarketplaceImagePlan.java @@ -22,7 +22,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAMarketplaceImagePlan.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAMarketplaceImagePlan.json */ /** * Sample code: Create a scale set with a marketplace image plan. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAMarketplaceImagePlan.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAMarketplaceImagePlan.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAMarketplaceImagePlan.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAMarketplaceImagePlan.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithApplicationProfile.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithApplicationProfile.java index 7c93f8f955..e1708fd23e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithApplicationProfile.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithApplicationProfile.java @@ -23,7 +23,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithApplicationProfile.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithApplicationProfile.json */ /** * Sample code: Create a scale set with Application Profile. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithApplicationProfile.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithApplicationProfile.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithApplicationProfile.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithApplicationProfile.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAutomaticRepairs.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAutomaticRepairs.java index 7293b44604..30f7c9e3c2 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAutomaticRepairs.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAutomaticRepairs.java @@ -22,7 +22,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAutomaticRepairs.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAutomaticRepairs.json */ /** * Sample code: Create a scale set with automatic repairs enabled. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAutomaticRepairs.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAutomaticRepairs.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAutomaticRepairs.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAutomaticRepairs.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAzureApplicationGateway.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAzureApplicationGateway.java index 166ec39591..a4b4307cb6 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAzureApplicationGateway.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAzureApplicationGateway.java @@ -22,7 +22,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAzureApplicationGateway.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAzureApplicationGateway.json */ /** * Sample code: Create a scale set with an azure application gateway. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAzureApplicationGateway.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAzureApplicationGateway.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAzureApplicationGateway.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAzureApplicationGateway.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAzureLoadBalancer.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAzureLoadBalancer.java index 6700808772..ce7e4a253b 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAzureLoadBalancer.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAzureLoadBalancer.java @@ -24,7 +24,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAzureLoadBalancer.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAzureLoadBalancer.json */ /** * Sample code: Create a scale set with an azure load balancer. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAzureLoadBalancer.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAzureLoadBalancer.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAzureLoadBalancer.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAzureLoadBalancer.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithBootDiagnostics.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithBootDiagnostics.java index 01148d804b..be1ab5ad22 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithBootDiagnostics.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithBootDiagnostics.java @@ -23,7 +23,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithBootDiagnostics.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithBootDiagnostics.json */ /** * Sample code: Create a scale set with boot diagnostics. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithBootDiagnostics.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithBootDiagnostics.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithBootDiagnostics.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithBootDiagnostics.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithCapacityReservation.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithCapacityReservation.java index b26d548e82..d624504e54 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithCapacityReservation.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithCapacityReservation.java @@ -23,7 +23,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithCapacityReservation.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithCapacityReservation.json */ /** * Sample code: Create or update a scale set with capacity reservation. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithCapacityReservation.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithCapacityReservation.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithCapacityReservation.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithCapacityReservation.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiffOsDisk.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiffOsDisk.java index b28321e7bd..d31e9162ac 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiffOsDisk.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiffOsDisk.java @@ -24,7 +24,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiffOsDisk.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiffOsDisk.json */ /** * Sample code: Create a scale set with ephemeral os disks. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiffOsDisk.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiffOsDisk.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiffOsDisk.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiffOsDisk.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiskEncryptionSetResource.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiskEncryptionSetResource.java index 92924d08b8..343a133c4d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiskEncryptionSetResource.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiskEncryptionSetResource.java @@ -23,7 +23,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiskEncryptionSetResource.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiskEncryptionSetResource.json */ /** * Sample code: Create a scale set with DiskEncryptionSet resource in os disk and data disk. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiskEncryptionSetResource.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiskEncryptionSetResource.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiskEncryptionSetResource.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiskEncryptionSetResource.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithEmptyDataDisksOnEachVm.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithEmptyDataDisksOnEachVm.java index 464378fea6..a6782fa647 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithEmptyDataDisksOnEachVm.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithEmptyDataDisksOnEachVm.java @@ -22,7 +22,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithEmptyDataDisksOnEachVm.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithEmptyDataDisksOnEachVm.json */ /** * Sample code: Create a scale set with empty data disks on each vm. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithEmptyDataDisksOnEachVm.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithEmptyDataDisksOnEachVm.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithEmptyDataDisksOnEachVm.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithEmptyDataDisksOnEachVm.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithEncryptionAtHost.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithEncryptionAtHost.java index beb8d7f371..a118a2e36f 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithEncryptionAtHost.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithEncryptionAtHost.java @@ -23,7 +23,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithEncryptionAtHost.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithEncryptionAtHost.json */ /** * Sample code: Create a scale set with Host Encryption using encryptionAtHost property. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithEncryptionAtHost.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithEncryptionAtHost.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithEncryptionAtHost.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithEncryptionAtHost.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithExtensionsSuppressFailuresEnabled.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithExtensionsSuppressFailuresEnabled.java index f7890af6fe..761a61ffa1 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithExtensionsSuppressFailuresEnabled.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithExtensionsSuppressFailuresEnabled.java @@ -28,7 +28,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithExtensionsSuppressFailuresEnabled.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithExtensionsSuppressFailuresEnabled.json */ /** * Sample code: Create a VMSS with an extension that has suppressFailures enabled. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithExtensionsSuppressFailuresEnabled.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithExtensionsSuppressFailuresEnabled.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithExtensionsSuppressFailuresEnabled.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithExtensionsSuppressFailuresEnabled.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithExtensionsTimeBudget.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithExtensionsTimeBudget.java index 6b324efa17..a6bdae9ea2 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithExtensionsTimeBudget.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithExtensionsTimeBudget.java @@ -28,7 +28,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithExtensionsTimeBudget.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithExtensionsTimeBudget.json */ /** * Sample code: Create a scale set with extension time budget. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithExtensionsTimeBudget.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithExtensionsTimeBudget.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithExtensionsTimeBudget.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithExtensionsTimeBudget.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithManagedBootDiagnostics.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithManagedBootDiagnostics.java index 7b9f209f07..4be470cdcf 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithManagedBootDiagnostics.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithManagedBootDiagnostics.java @@ -23,7 +23,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithManagedBootDiagnostics.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithManagedBootDiagnostics.json */ /** * Sample code: Create a scale set with managed boot diagnostics. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithManagedBootDiagnostics.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithManagedBootDiagnostics.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithManagedBootDiagnostics.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithManagedBootDiagnostics.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPasswordAuthentication.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPasswordAuthentication.java index dd0c7ca101..28cf6c7624 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPasswordAuthentication.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPasswordAuthentication.java @@ -21,7 +21,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPasswordAuthentication.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPasswordAuthentication.json */ /** * Sample code: Create a scale set with password authentication. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPasswordAuthentication.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPasswordAuthentication.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPasswordAuthentication.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPasswordAuthentication.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPremiumStorage.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPremiumStorage.java index fe50af43c8..868f4ea9b6 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPremiumStorage.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPremiumStorage.java @@ -21,7 +21,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPremiumStorage.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPremiumStorage.json */ /** * Sample code: Create a scale set with premium storage. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPremiumStorage.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPremiumStorage.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPremiumStorage.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPremiumStorage.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithProtectedSettingsFromKeyVault.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithProtectedSettingsFromKeyVault.java index 5cc8598c62..f38c5f8cb0 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithProtectedSettingsFromKeyVault.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithProtectedSettingsFromKeyVault.java @@ -28,7 +28,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithProtectedSettingsFromKeyVault.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithProtectedSettingsFromKeyVault.json */ /** * Sample code: Create a VMSS with an extension with protectedSettingsFromKeyVault. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithProtectedSettingsFromKeyVault.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithProtectedSettingsFromKeyVault.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithProtectedSettingsFromKeyVault.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithProtectedSettingsFromKeyVault.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithScaleInPolicy.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithScaleInPolicy.java index cc04296402..f5ba103a5c 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithScaleInPolicy.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithScaleInPolicy.java @@ -23,7 +23,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithScaleInPolicy.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithScaleInPolicy.json */ /** * Sample code: Create a scale set with scaleInPolicy. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithScaleInPolicy.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithScaleInPolicy.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithScaleInPolicy.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithScaleInPolicy.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSecurityTypeConfidentialVM.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSecurityTypeConfidentialVM.java index a9af4a37c9..aa8679f8b2 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSecurityTypeConfidentialVM.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSecurityTypeConfidentialVM.java @@ -26,7 +26,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSecurityTypeConfidentialVM.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSecurityTypeConfidentialVM.json */ /** * Sample code: Create a scale set with SecurityType as ConfidentialVM. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSecurityTypeConfidentialVM.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSecurityTypeConfidentialVM.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSecurityTypeConfidentialVM.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSecurityTypeConfidentialVM.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSpotRestorePolicy.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSpotRestorePolicy.java index b83f2c29f5..a896fd0be8 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSpotRestorePolicy.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSpotRestorePolicy.java @@ -25,7 +25,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSpotRestorePolicy.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSpotRestorePolicy.json */ /** * Sample code: Create a scale set with spot restore policy. @@ -87,7 +87,7 @@ public final class Main { .withEnableIpForwarding(true)))) .withPriority(VirtualMachinePriorityTypes.SPOT) .withEvictionPolicy(VirtualMachineEvictionPolicyTypes.DEALLOCATE) - .withBillingProfile(new BillingProfile().withMaxPrice(-1.0))) + .withBillingProfile(new BillingProfile().withMaxPrice(-1.0D))) .withOverprovision(true) .withSpotRestorePolicy(new SpotRestorePolicy().withEnabled(true).withRestoreTimeout("PT1H")), Context.NONE); diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSpotRestorePolicy.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSpotRestorePolicy.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSpotRestorePolicy.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSpotRestorePolicy.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSshAuthentication.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSshAuthentication.java index de25565121..11d0027bcd 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSshAuthentication.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSshAuthentication.java @@ -24,7 +24,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSshAuthentication.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSshAuthentication.json */ /** * Sample code: Create a scale set with ssh authentication. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSshAuthentication.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSshAuthentication.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSshAuthentication.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSshAuthentication.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithTerminateScheduledEventEnabled.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithTerminateScheduledEventEnabled.java index 472f41424c..6a8ffa3493 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithTerminateScheduledEventEnabled.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithTerminateScheduledEventEnabled.java @@ -23,7 +23,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithTerminateScheduledEventEnabled.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithTerminateScheduledEventEnabled.json */ /** * Sample code: Create a scale set with terminate scheduled events enabled. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithTerminateScheduledEventEnabled.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithTerminateScheduledEventEnabled.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithTerminateScheduledEventEnabled.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithTerminateScheduledEventEnabled.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithUefiSettings.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithUefiSettings.java index 8a9a2bd109..3b62fa1a35 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithUefiSettings.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithUefiSettings.java @@ -24,7 +24,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithUefiSettings.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithUefiSettings.json */ /** * Sample code: Create a scale set with Uefi Settings of secureBoot and vTPM. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithUefiSettings.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithUefiSettings.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithUefiSettings.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithUefiSettings.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithUserData.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithUserData.java index 9830837590..136ea78bff 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithUserData.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithUserData.java @@ -21,7 +21,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithUserData.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithUserData.json */ /** * Sample code: Create a scale set with userData. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithUserData.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithUserData.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithUserData.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithUserData.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithVMSizeProperties.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithVMSizeProperties.java index 0a9ca54a87..1938861f5c 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithVMSizeProperties.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithVMSizeProperties.java @@ -23,7 +23,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithVMSizeProperties.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithVMSizeProperties.json */ /** * Sample code: Create a scale set with vm size properties. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithVMSizeProperties.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithVMSizeProperties.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithVMSizeProperties.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithVMSizeProperties.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithVMsInDifferentZones.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithVMsInDifferentZones.java index f45c49c2d2..f628631607 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithVMsInDifferentZones.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithVMsInDifferentZones.java @@ -22,7 +22,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithVMsInDifferentZones.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithVMsInDifferentZones.json */ /** * Sample code: Create a scale set with virtual machines in different zones. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithVMsInDifferentZones.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithVMsInDifferentZones.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithVMsInDifferentZones.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithVMsInDifferentZones.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Delete_Force.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Delete_Force.java index fad2351194..6ab66fbee9 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Delete_Force.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Delete_Force.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSets Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Delete_Force.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Delete_Force.json */ /** * Sample code: Force Delete a VM scale set. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Delete_Force.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Delete_Force.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Delete_Force.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Delete_Force.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get.java index f7f302247b..13735a459b 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSets GetByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get.json */ /** * Sample code: Get a virtual machine scale set. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_AutoPlacedOnDedicatedHostGroup.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_AutoPlacedOnDedicatedHostGroup.java index 3ddfb82673..0cff990dd6 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_AutoPlacedOnDedicatedHostGroup.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_AutoPlacedOnDedicatedHostGroup.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSets GetByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_AutoPlacedOnDedicatedHostGroup.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_AutoPlacedOnDedicatedHostGroup.json */ /** * Sample code: Get a virtual machine scale set placed on a dedicated host group through automatic placement. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_AutoPlacedOnDedicatedHostGroup.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_AutoPlacedOnDedicatedHostGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_AutoPlacedOnDedicatedHostGroup.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_AutoPlacedOnDedicatedHostGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithUserData.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithUserData.java index a60630aff6..b601aaf5c6 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithUserData.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithUserData.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSets GetByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithUserData.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithUserData.json */ /** * Sample code: Get a virtual machine scale set with UserData. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithUserData.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithUserData.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithUserData.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithUserData.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ConvertToSinglePlacementGroup_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ConvertToSinglePlacementGroup_MaximumSet_Gen.java index 2239b80bf4..35e9e2932e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ConvertToSinglePlacementGroup_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ConvertToSinglePlacementGroup_MaximumSet_Gen.java @@ -4,7 +4,7 @@ import com.azure.resourcemanager.compute.models.VMScaleSetConvertToSinglePlaceme /** Samples for VirtualMachineScaleSets ConvertToSinglePlacementGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ConvertToSinglePlacementGroup_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ConvertToSinglePlacementGroup_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_ConvertToSinglePlacementGroup_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ConvertToSinglePlacementGroup_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ConvertToSinglePlacementGroup_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ConvertToSinglePlacementGroup_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ConvertToSinglePlacementGroup_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ConvertToSinglePlacementGroup_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ConvertToSinglePlacementGroup_MinimumSet_Gen.java index 11cdf2a4d1..20244c3fac 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ConvertToSinglePlacementGroup_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ConvertToSinglePlacementGroup_MinimumSet_Gen.java @@ -4,7 +4,7 @@ import com.azure.resourcemanager.compute.models.VMScaleSetConvertToSinglePlaceme /** Samples for VirtualMachineScaleSets ConvertToSinglePlacementGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ConvertToSinglePlacementGroup_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ConvertToSinglePlacementGroup_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_ConvertToSinglePlacementGroup_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ConvertToSinglePlacementGroup_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ConvertToSinglePlacementGroup_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ConvertToSinglePlacementGroup_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ConvertToSinglePlacementGroup_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Deallocate_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Deallocate_MaximumSet_Gen.java index 8f12a61930..38637c6c23 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Deallocate_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Deallocate_MaximumSet_Gen.java @@ -5,7 +5,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets Deallocate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Deallocate_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Deallocate_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_Deallocate_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Deallocate_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Deallocate_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Deallocate_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Deallocate_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Deallocate_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Deallocate_MinimumSet_Gen.java index 8aa89f025a..4dff33c936 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Deallocate_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Deallocate_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSets Deallocate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Deallocate_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Deallocate_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_Deallocate_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Deallocate_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Deallocate_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Deallocate_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Deallocate_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_DeleteInstances_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_DeleteInstances_MaximumSet_Gen.java index da3cfc16a8..8bc5dfec72 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_DeleteInstances_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_DeleteInstances_MaximumSet_Gen.java @@ -5,7 +5,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets DeleteInstances. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_DeleteInstances_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_DeleteInstances_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_DeleteInstances_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_DeleteInstances_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_DeleteInstances_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_DeleteInstances_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_DeleteInstances_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_DeleteInstances_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_DeleteInstances_MinimumSet_Gen.java index c5ee170f71..5a21749901 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_DeleteInstances_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_DeleteInstances_MinimumSet_Gen.java @@ -5,7 +5,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets DeleteInstances. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_DeleteInstances_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_DeleteInstances_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_DeleteInstances_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_DeleteInstances_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_DeleteInstances_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_DeleteInstances_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_DeleteInstances_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MaximumSet_Gen.java index a33492cb39..6139344003 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSets ForceRecoveryServiceFabricPlatformUpdateDomainWalk. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MinimumSet_Gen.java index 8a8b1c62a9..9ea9cfa49d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSets ForceRecoveryServiceFabricPlatformUpdateDomainWalk. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetInstanceView_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetInstanceView_MaximumSet_Gen.java index 0cb98f09e2..65f9ce6b43 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetInstanceView_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetInstanceView_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSets GetInstanceView. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetInstanceView_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetInstanceView_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_GetInstanceView_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetInstanceView_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetInstanceView_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetInstanceView_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetInstanceView_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetInstanceView_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetInstanceView_MinimumSet_Gen.java index 0f62cd49e7..259cf62505 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetInstanceView_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetInstanceView_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSets GetInstanceView. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetInstanceView_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetInstanceView_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_GetInstanceView_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetInstanceView_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetInstanceView_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetInstanceView_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetInstanceView_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetOSUpgradeHistory_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetOSUpgradeHistory_MaximumSet_Gen.java index 5581336a01..9311e3c18b 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetOSUpgradeHistory_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetOSUpgradeHistory_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSets GetOSUpgradeHistory. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetOSUpgradeHistory_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetOSUpgradeHistory_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_GetOSUpgradeHistory_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetOSUpgradeHistory_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetOSUpgradeHistory_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetOSUpgradeHistory_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetOSUpgradeHistory_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetOSUpgradeHistory_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetOSUpgradeHistory_MinimumSet_Gen.java index 4ab0218f07..6c854a9a76 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetOSUpgradeHistory_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetOSUpgradeHistory_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSets GetOSUpgradeHistory. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetOSUpgradeHistory_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetOSUpgradeHistory_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_GetOSUpgradeHistory_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetOSUpgradeHistory_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetOSUpgradeHistory_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetOSUpgradeHistory_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_GetOSUpgradeHistory_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListAll_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListAll_MaximumSet_Gen.java index 65c9cb3226..7ee31c4de1 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListAll_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListAll_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSets List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListAll_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListAll_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_ListAll_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListAll_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListAll_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListAll_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListAll_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListAll_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListAll_MinimumSet_Gen.java index f52d519b84..5b555a2948 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListAll_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListAll_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSets List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListAll_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListAll_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_ListAll_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListAll_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListAll_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListAll_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListAll_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListBySubscription_ByLocation.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListBySubscription_ByLocation.java index c5079a4692..318b676008 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListBySubscription_ByLocation.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListBySubscription_ByLocation.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSets ListByLocation. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListBySubscription_ByLocation.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListBySubscription_ByLocation.json */ /** * Sample code: Lists all the VM scale sets under the specified subscription for the specified location. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListBySubscription_ByLocation.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListBySubscription_ByLocation.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListBySubscription_ByLocation.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListBySubscription_ByLocation.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListSkus_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListSkus_MaximumSet_Gen.java index ecc0f3dc6d..8829ff9e4a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListSkus_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListSkus_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSets ListSkus. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListSkus_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListSkus_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_ListSkus_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListSkus_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListSkus_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListSkus_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListSkus_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListSkus_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListSkus_MinimumSet_Gen.java index 2f05b5e8a0..73a20e7d8e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListSkus_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListSkus_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSets ListSkus. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListSkus_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListSkus_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_ListSkus_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListSkus_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListSkus_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListSkus_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ListSkus_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_List_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_List_MaximumSet_Gen.java index 723713a754..92ef33b0f3 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_List_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_List_MaximumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSets ListByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_List_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_List_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_List_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_List_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_List_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_List_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_List_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_List_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_List_MinimumSet_Gen.java index 8474c487cf..e0f00c4cf6 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_List_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_List_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSets ListByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_List_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_List_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_List_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_List_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_List_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_List_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_List_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PerformMaintenance_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PerformMaintenance_MaximumSet_Gen.java index a7d2ca3b1a..921e5596b1 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PerformMaintenance_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PerformMaintenance_MaximumSet_Gen.java @@ -5,7 +5,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets PerformMaintenance. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PerformMaintenance_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PerformMaintenance_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_PerformMaintenance_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PerformMaintenance_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PerformMaintenance_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PerformMaintenance_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PerformMaintenance_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PerformMaintenance_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PerformMaintenance_MinimumSet_Gen.java index 0d70373606..cc7fbcd02d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PerformMaintenance_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PerformMaintenance_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSets PerformMaintenance. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PerformMaintenance_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PerformMaintenance_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_PerformMaintenance_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PerformMaintenance_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PerformMaintenance_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PerformMaintenance_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PerformMaintenance_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PowerOff_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PowerOff_MaximumSet_Gen.java index c82fd98916..09f2feaea3 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PowerOff_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PowerOff_MaximumSet_Gen.java @@ -5,7 +5,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets PowerOff. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PowerOff_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PowerOff_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_PowerOff_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PowerOff_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PowerOff_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PowerOff_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PowerOff_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PowerOff_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PowerOff_MinimumSet_Gen.java index 46484a5c70..17c6ec5af7 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PowerOff_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PowerOff_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSets PowerOff. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PowerOff_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PowerOff_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_PowerOff_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PowerOff_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PowerOff_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PowerOff_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_PowerOff_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Redeploy_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Redeploy_MaximumSet_Gen.java index 64fe832f5a..61e6088347 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Redeploy_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Redeploy_MaximumSet_Gen.java @@ -5,7 +5,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets Redeploy. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Redeploy_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Redeploy_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_Redeploy_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Redeploy_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Redeploy_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Redeploy_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Redeploy_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Redeploy_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Redeploy_MinimumSet_Gen.java index dc499a6d8d..dc45079dba 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Redeploy_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Redeploy_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSets Redeploy. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Redeploy_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Redeploy_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_Redeploy_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Redeploy_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Redeploy_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Redeploy_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Redeploy_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ReimageAll_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ReimageAll_MaximumSet_Gen.java index a3a1ebb8b5..21bee02666 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ReimageAll_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ReimageAll_MaximumSet_Gen.java @@ -5,7 +5,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets ReimageAll. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ReimageAll_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ReimageAll_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_ReimageAll_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ReimageAll_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ReimageAll_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ReimageAll_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ReimageAll_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ReimageAll_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ReimageAll_MinimumSet_Gen.java index fac78dbf64..bc2cbc5e88 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ReimageAll_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ReimageAll_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSets ReimageAll. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ReimageAll_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ReimageAll_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_ReimageAll_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ReimageAll_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ReimageAll_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ReimageAll_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_ReimageAll_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Reimage_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Reimage_MaximumSet_Gen.java index fb874c9125..8090009738 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Reimage_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Reimage_MaximumSet_Gen.java @@ -5,7 +5,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets Reimage. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Reimage_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Reimage_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_Reimage_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Reimage_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Reimage_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Reimage_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Reimage_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Reimage_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Reimage_MinimumSet_Gen.java index e83eb6f8b7..4018b23f0d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Reimage_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Reimage_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSets Reimage. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Reimage_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Reimage_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_Reimage_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Reimage_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Reimage_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Reimage_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Reimage_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Restart_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Restart_MaximumSet_Gen.java index e84f553ca6..b5fff71870 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Restart_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Restart_MaximumSet_Gen.java @@ -5,7 +5,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets Restart. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Restart_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Restart_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_Restart_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Restart_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Restart_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Restart_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Restart_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Restart_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Restart_MinimumSet_Gen.java index 8689e42967..22879bba5f 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Restart_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Restart_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSets Restart. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Restart_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Restart_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_Restart_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Restart_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Restart_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Restart_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Restart_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_SetOrchestrationServiceState_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_SetOrchestrationServiceState_MaximumSet_Gen.java index 18ccf1b3a3..26d57ce8d2 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_SetOrchestrationServiceState_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_SetOrchestrationServiceState_MaximumSet_Gen.java @@ -6,7 +6,7 @@ import com.azure.resourcemanager.compute.models.OrchestrationServiceStateInput; /** Samples for VirtualMachineScaleSets SetOrchestrationServiceState. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_SetOrchestrationServiceState_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_SetOrchestrationServiceState_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_SetOrchestrationServiceState_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_SetOrchestrationServiceState_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_SetOrchestrationServiceState_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_SetOrchestrationServiceState_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_SetOrchestrationServiceState_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_SetOrchestrationServiceState_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_SetOrchestrationServiceState_MinimumSet_Gen.java index 94b3e00f4e..7a059547da 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_SetOrchestrationServiceState_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_SetOrchestrationServiceState_MinimumSet_Gen.java @@ -6,7 +6,7 @@ import com.azure.resourcemanager.compute.models.OrchestrationServiceStateInput; /** Samples for VirtualMachineScaleSets SetOrchestrationServiceState. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_SetOrchestrationServiceState_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_SetOrchestrationServiceState_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_SetOrchestrationServiceState_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_SetOrchestrationServiceState_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_SetOrchestrationServiceState_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_SetOrchestrationServiceState_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_SetOrchestrationServiceState_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Start_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Start_MaximumSet_Gen.java index a5de4307d6..051445f9d3 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Start_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Start_MaximumSet_Gen.java @@ -5,7 +5,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets Start. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Start_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Start_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_Start_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Start_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Start_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Start_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Start_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Start_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Start_MinimumSet_Gen.java index 80d4c741ad..8928f85be7 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Start_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Start_MinimumSet_Gen.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for VirtualMachineScaleSets Start. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Start_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Start_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_Start_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Start_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Start_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Start_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Start_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_UpdateInstances_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_UpdateInstances_MaximumSet_Gen.java index 62e4ed92d9..7c3e33a4fc 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_UpdateInstances_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_UpdateInstances_MaximumSet_Gen.java @@ -5,7 +5,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets UpdateInstances. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_UpdateInstances_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_UpdateInstances_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_UpdateInstances_MaximumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_UpdateInstances_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_UpdateInstances_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_UpdateInstances_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_UpdateInstances_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_UpdateInstances_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_UpdateInstances_MinimumSet_Gen.java index 995c10b596..adf78a1ed4 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_UpdateInstances_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_UpdateInstances_MinimumSet_Gen.java @@ -5,7 +5,7 @@ import java.util.Arrays; /** Samples for VirtualMachineScaleSets UpdateInstances. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_UpdateInstances_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_UpdateInstances_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_UpdateInstances_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_UpdateInstances_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_UpdateInstances_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_UpdateInstances_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_UpdateInstances_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Update_MaximumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Update_MaximumSet_Gen.java index 19903cc0e6..989f2c105d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Update_MaximumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Update_MaximumSet_Gen.java @@ -77,7 +77,7 @@ import java.util.Map; /** Samples for VirtualMachineScaleSets Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Update_MaximumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Update_MaximumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_Update_MaximumSet_Gen. @@ -346,7 +346,7 @@ public final class Main { .withSuppressFailures(true))) .withExtensionsTimeBudget("PT1H20M")) .withLicenseType("aaaaaaaaaaaa") - .withBillingProfile(new BillingProfile().withMaxPrice(-1.0)) + .withBillingProfile(new BillingProfile().withMaxPrice(-1.0D)) .withScheduledEventsProfile( new ScheduledEventsProfile() .withTerminateNotificationProfile( diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Update_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Update_MaximumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Update_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Update_MaximumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Update_MinimumSet_Gen.java b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Update_MinimumSet_Gen.java index bb18f10595..7c3ccf18fc 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Update_MinimumSet_Gen.java +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Update_MinimumSet_Gen.java @@ -6,7 +6,7 @@ import java.util.Map; /** Samples for VirtualMachineScaleSets Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Update_MinimumSet_Gen.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Update_MinimumSet_Gen.json */ /** * Sample code: VirtualMachineScaleSets_Update_MinimumSet_Gen. diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Update_MinimumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Update_MinimumSet_Gen.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Update_MinimumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples-java/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Update_MinimumSet_Gen.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateEndpointConnection_Approve.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateEndpointConnection_Approve.java index 07172af608..007702d867 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateEndpointConnection_Approve.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateEndpointConnection_Approve.java @@ -6,7 +6,7 @@ import com.azure.resourcemanager.compute.models.PrivateLinkServiceConnectionStat /** Samples for DiskAccesses UpdateAPrivateEndpointConnection. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskAccessExamples/DiskAccessPrivateEndpointConnection_Approve.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskAccessExamples/DiskAccessPrivateEndpointConnection_Approve.json */ /** * Sample code: Approve a Private Endpoint Connection under a disk access resource. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateEndpointConnection_Approve.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateEndpointConnection_Approve.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateEndpointConnection_Approve.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateEndpointConnection_Approve.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateEndpointConnection_Delete.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateEndpointConnection_Delete.java index 3b9ce9720a..4f0471612d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateEndpointConnection_Delete.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateEndpointConnection_Delete.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for DiskAccesses DeleteAPrivateEndpointConnection. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskAccessExamples/DiskAccessPrivateEndpointConnection_Delete.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskAccessExamples/DiskAccessPrivateEndpointConnection_Delete.json */ /** * Sample code: Delete a private endpoint connection under a disk access resource. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateEndpointConnection_Delete.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateEndpointConnection_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateEndpointConnection_Delete.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateEndpointConnection_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateEndpointConnection_Get.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateEndpointConnection_Get.java index 6438683a05..46ebcbed16 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateEndpointConnection_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateEndpointConnection_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for DiskAccesses GetAPrivateEndpointConnection. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskAccessExamples/DiskAccessPrivateEndpointConnection_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskAccessExamples/DiskAccessPrivateEndpointConnection_Get.json */ /** * Sample code: Get information about a private endpoint connection under a disk access resource. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateEndpointConnection_Get.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateEndpointConnection_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateEndpointConnection_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateEndpointConnection_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateEndpointConnection_ListByDiskAccess.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateEndpointConnection_ListByDiskAccess.java index c23acdf2ce..8573c7b026 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateEndpointConnection_ListByDiskAccess.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateEndpointConnection_ListByDiskAccess.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for DiskAccesses ListPrivateEndpointConnections. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskAccessExamples/DiskAccessPrivateEndpointConnection_ListByDiskAccess.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskAccessExamples/DiskAccessPrivateEndpointConnection_ListByDiskAccess.json */ /** * Sample code: Get information about a private endpoint connection under a disk access resource. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateEndpointConnection_ListByDiskAccess.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateEndpointConnection_ListByDiskAccess.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateEndpointConnection_ListByDiskAccess.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateEndpointConnection_ListByDiskAccess.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateLinkResources_Get.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateLinkResources_Get.java index 3530ec2a0d..3b85716cb8 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateLinkResources_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateLinkResources_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for DiskAccesses GetPrivateLinkResources. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskAccessExamples/DiskAccessPrivateLinkResources_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskAccessExamples/DiskAccessPrivateLinkResources_Get.json */ /** * Sample code: List all possible private link resources under disk access resource. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateLinkResources_Get.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateLinkResources_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateLinkResources_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccessPrivateLinkResources_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Create.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Create.java index 752c5ab34b..8ad602e92a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Create.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Create.java @@ -4,7 +4,7 @@ import com.azure.resourcemanager.compute.fluent.models.DiskAccessInner; /** Samples for DiskAccesses CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskAccessExamples/DiskAccess_Create.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskAccessExamples/DiskAccess_Create.json */ /** * Sample code: Create a disk access resource. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Create.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Create.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Create.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Create.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Delete.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Delete.java index e97209a5d5..efe625bf7d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Delete.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Delete.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for DiskAccesses Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskAccessExamples/DiskAccess_Delete.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskAccessExamples/DiskAccess_Delete.json */ /** * Sample code: Delete a disk access resource. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Delete.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Delete.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Get.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Get.java index bdbd96864e..af2520ba7e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for DiskAccesses GetByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskAccessExamples/DiskAccess_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskAccessExamples/DiskAccess_Get.json */ /** * Sample code: Get information about a disk access resource. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Get.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Get_WithPrivateEndpoints.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Get_WithPrivateEndpoints.java index f3ab00de29..d3eed38222 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Get_WithPrivateEndpoints.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Get_WithPrivateEndpoints.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for DiskAccesses GetByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskAccessExamples/DiskAccess_Get_WithPrivateEndpoints.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskAccessExamples/DiskAccess_Get_WithPrivateEndpoints.json */ /** * Sample code: Get information about a disk access resource with private endpoints. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Get_WithPrivateEndpoints.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Get_WithPrivateEndpoints.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Get_WithPrivateEndpoints.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Get_WithPrivateEndpoints.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_ListByResourceGroup.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_ListByResourceGroup.java index e291ef770c..0bfec056d7 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_ListByResourceGroup.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_ListByResourceGroup.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for DiskAccesses ListByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskAccessExamples/DiskAccess_ListByResourceGroup.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskAccessExamples/DiskAccess_ListByResourceGroup.json */ /** * Sample code: List all disk access resources in a resource group. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_ListByResourceGroup.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_ListByResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_ListByResourceGroup.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_ListByResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_ListBySubscription.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_ListBySubscription.java index 2ea63bb661..9916e75419 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_ListBySubscription.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_ListBySubscription.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for DiskAccesses List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskAccessExamples/DiskAccess_ListBySubscription.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskAccessExamples/DiskAccess_ListBySubscription.json */ /** * Sample code: List all disk access resources in a subscription. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_ListBySubscription.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_ListBySubscription.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_ListBySubscription.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_ListBySubscription.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Update.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Update.java index ed5f66db77..e4d4e7c5cd 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Update.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Update.java @@ -6,7 +6,7 @@ import java.util.Map; /** Samples for DiskAccesses Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskAccessExamples/DiskAccess_Update.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskAccessExamples/DiskAccess_Update.json */ /** * Sample code: Update a disk access resource. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Update.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Update.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Update.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskAccessExamples/DiskAccess_Update.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Create.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Create.java index 89d278de25..16f29bb0b1 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Create.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Create.java @@ -11,7 +11,7 @@ import java.util.Map; /** Samples for DiskEncryptionSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskEncryptionSetExamples/DiskEncryptionSet_Create.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Create.json */ /** * Sample code: Create a disk encryption set. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Create.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Create.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Create.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Create.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Create_WithKeyVaultFromADifferentSubscription.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Create_WithKeyVaultFromADifferentSubscription.java index f4ede88f6c..bbcb8a4b66 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Create_WithKeyVaultFromADifferentSubscription.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Create_WithKeyVaultFromADifferentSubscription.java @@ -10,7 +10,7 @@ import java.util.Map; /** Samples for DiskEncryptionSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskEncryptionSetExamples/DiskEncryptionSet_Create_WithKeyVaultFromADifferentSubscription.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Create_WithKeyVaultFromADifferentSubscription.json */ /** * Sample code: Create a disk encryption set with key vault from a different subscription. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Create_WithKeyVaultFromADifferentSubscription.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Create_WithKeyVaultFromADifferentSubscription.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Create_WithKeyVaultFromADifferentSubscription.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Create_WithKeyVaultFromADifferentSubscription.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Create_WithKeyVaultFromADifferentTenant.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Create_WithKeyVaultFromADifferentTenant.java index 312a123c47..e8f11b44b4 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Create_WithKeyVaultFromADifferentTenant.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Create_WithKeyVaultFromADifferentTenant.java @@ -11,7 +11,7 @@ import java.util.Map; /** Samples for DiskEncryptionSets CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskEncryptionSetExamples/DiskEncryptionSet_Create_WithKeyVaultFromADifferentTenant.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Create_WithKeyVaultFromADifferentTenant.json */ /** * Sample code: Create a disk encryption set with key vault from a different tenant. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Create_WithKeyVaultFromADifferentTenant.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Create_WithKeyVaultFromADifferentTenant.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Create_WithKeyVaultFromADifferentTenant.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Create_WithKeyVaultFromADifferentTenant.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Delete.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Delete.java index 419d34970e..3fcf0e1330 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Delete.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Delete.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for DiskEncryptionSets Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskEncryptionSetExamples/DiskEncryptionSet_Delete.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Delete.json */ /** * Sample code: Delete a disk encryption set. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Delete.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Delete.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Get.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Get.java index 80725032db..bf5d9ed2d6 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for DiskEncryptionSets GetByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskEncryptionSetExamples/DiskEncryptionSet_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Get.json */ /** * Sample code: Get information about a disk encryption set. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Get.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Get_WithAutoKeyRotationError.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Get_WithAutoKeyRotationError.java index 5e47459a9a..3125e3d4f1 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Get_WithAutoKeyRotationError.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Get_WithAutoKeyRotationError.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for DiskEncryptionSets GetByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskEncryptionSetExamples/DiskEncryptionSet_Get_WithAutoKeyRotationError.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Get_WithAutoKeyRotationError.json */ /** * Sample code: Get information about a disk encryption set when auto-key rotation failed. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Get_WithAutoKeyRotationError.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Get_WithAutoKeyRotationError.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Get_WithAutoKeyRotationError.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Get_WithAutoKeyRotationError.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_ListAssociatedResources.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_ListAssociatedResources.java index a40584705c..3540d24888 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_ListAssociatedResources.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_ListAssociatedResources.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for DiskEncryptionSets ListAssociatedResources. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskEncryptionSetExamples/DiskEncryptionSet_ListAssociatedResources.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_ListAssociatedResources.json */ /** * Sample code: List all resources that are encrypted with this disk encryption set. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_ListAssociatedResources.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_ListAssociatedResources.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_ListAssociatedResources.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_ListAssociatedResources.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_ListByResourceGroup.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_ListByResourceGroup.java index 2dab077d6b..f47f44ef3d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_ListByResourceGroup.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_ListByResourceGroup.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for DiskEncryptionSets ListByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskEncryptionSetExamples/DiskEncryptionSet_ListByResourceGroup.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_ListByResourceGroup.json */ /** * Sample code: List all disk encryption sets in a resource group. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_ListByResourceGroup.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_ListByResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_ListByResourceGroup.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_ListByResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_ListBySubscription.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_ListBySubscription.java index dcf3ab737b..06e3a62ef1 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_ListBySubscription.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_ListBySubscription.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for DiskEncryptionSets List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskEncryptionSetExamples/DiskEncryptionSet_ListBySubscription.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_ListBySubscription.json */ /** * Sample code: List all disk encryption sets in a subscription. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_ListBySubscription.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_ListBySubscription.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_ListBySubscription.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_ListBySubscription.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Update.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Update.java index 9da2f494b1..86551e6ab7 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Update.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Update.java @@ -9,7 +9,7 @@ import java.util.Map; /** Samples for DiskEncryptionSets Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskEncryptionSetExamples/DiskEncryptionSet_Update.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Update.json */ /** * Sample code: Update a disk encryption set. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Update.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Update.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Update.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Update.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Update_WithRotationToLatestKeyVersionEnabled.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Update_WithRotationToLatestKeyVersionEnabled.java index 3df2d5f1ad..0949e8a353 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Update_WithRotationToLatestKeyVersionEnabled.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Update_WithRotationToLatestKeyVersionEnabled.java @@ -10,7 +10,7 @@ import java.util.Map; /** Samples for DiskEncryptionSets Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskEncryptionSetExamples/DiskEncryptionSet_Update_WithRotationToLatestKeyVersionEnabled.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Update_WithRotationToLatestKeyVersionEnabled.json */ /** * Sample code: Update a disk encryption set with rotationToLatestKeyVersionEnabled set to true - Succeeded. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Update_WithRotationToLatestKeyVersionEnabled.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Update_WithRotationToLatestKeyVersionEnabled.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Update_WithRotationToLatestKeyVersionEnabled.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Update_WithRotationToLatestKeyVersionEnabled.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Update_WithRotationToLatestKeyVersionEnabledInProgress.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Update_WithRotationToLatestKeyVersionEnabledInProgress.java index c8f730187a..9aca8262d6 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Update_WithRotationToLatestKeyVersionEnabledInProgress.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Update_WithRotationToLatestKeyVersionEnabledInProgress.java @@ -10,7 +10,7 @@ import java.util.Map; /** Samples for DiskEncryptionSets Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskEncryptionSetExamples/DiskEncryptionSet_Update_WithRotationToLatestKeyVersionEnabledInProgress.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Update_WithRotationToLatestKeyVersionEnabledInProgress.json */ /** * Sample code: Update a disk encryption set with rotationToLatestKeyVersionEnabled set to true - Updating. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Update_WithRotationToLatestKeyVersionEnabledInProgress.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Update_WithRotationToLatestKeyVersionEnabledInProgress.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Update_WithRotationToLatestKeyVersionEnabledInProgress.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskEncryptionSetExamples/DiskEncryptionSet_Update_WithRotationToLatestKeyVersionEnabledInProgress.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_BeginGetAccess.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_BeginGetAccess.java index 7fce07e811..071d565ad9 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_BeginGetAccess.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_BeginGetAccess.java @@ -5,7 +5,7 @@ import com.azure.resourcemanager.compute.models.GrantAccessData; /** Samples for Disks GrantAccess. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_BeginGetAccess.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_BeginGetAccess.json */ /** * Sample code: Get a sas on a managed disk. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_BeginGetAccess.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_BeginGetAccess.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_BeginGetAccess.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_BeginGetAccess.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_BeginGetAccess_WithVMGuestState.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_BeginGetAccess_WithVMGuestState.java index ab4058c1f6..62e232abf8 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_BeginGetAccess_WithVMGuestState.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_BeginGetAccess_WithVMGuestState.java @@ -5,7 +5,7 @@ import com.azure.resourcemanager.compute.models.GrantAccessData; /** Samples for Disks GrantAccess. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_BeginGetAccess_WithVMGuestState.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_BeginGetAccess_WithVMGuestState.json */ /** * Sample code: Get sas on managed disk and VM guest state. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_BeginGetAccess_WithVMGuestState.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_BeginGetAccess_WithVMGuestState.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_BeginGetAccess_WithVMGuestState.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_BeginGetAccess_WithVMGuestState.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_CreateOrUpdate_BurstingEnabled.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_CreateOrUpdate_BurstingEnabled.java index f600745fda..bc2fe4fc6a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_CreateOrUpdate_BurstingEnabled.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_CreateOrUpdate_BurstingEnabled.java @@ -4,7 +4,7 @@ import com.azure.resourcemanager.compute.models.DiskUpdate; /** Samples for Disks Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_CreateOrUpdate_BurstingEnabled.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_CreateOrUpdate_BurstingEnabled.json */ /** * Sample code: Create or update a bursting enabled managed disk. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_CreateOrUpdate_BurstingEnabled.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_CreateOrUpdate_BurstingEnabled.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_CreateOrUpdate_BurstingEnabled.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_CreateOrUpdate_BurstingEnabled.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_ByCopyingASnapshot.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_ByCopyingASnapshot.java index c48d4ac184..ef1a9ab669 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_ByCopyingASnapshot.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_ByCopyingASnapshot.java @@ -6,7 +6,7 @@ import com.azure.resourcemanager.compute.models.DiskCreateOption; /** Samples for Disks CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_Create_ByCopyingASnapshot.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_Create_ByCopyingASnapshot.json */ /** * Sample code: Create a managed disk by copying a snapshot. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_ByCopyingASnapshot.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_ByCopyingASnapshot.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_ByCopyingASnapshot.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_ByCopyingASnapshot.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_ByImportingBlobFromADifferentSubscription.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_ByImportingBlobFromADifferentSubscription.java index f94339ae72..cf63f5df01 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_ByImportingBlobFromADifferentSubscription.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_ByImportingBlobFromADifferentSubscription.java @@ -6,7 +6,7 @@ import com.azure.resourcemanager.compute.models.DiskCreateOption; /** Samples for Disks CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_Create_ByImportingBlobFromADifferentSubscription.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_Create_ByImportingBlobFromADifferentSubscription.json */ /** * Sample code: Create a managed disk by importing an unmanaged blob from a different subscription. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_ByImportingBlobFromADifferentSubscription.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_ByImportingBlobFromADifferentSubscription.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_ByImportingBlobFromADifferentSubscription.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_ByImportingBlobFromADifferentSubscription.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_ByImportingBlobFromTheSameSubscription.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_ByImportingBlobFromTheSameSubscription.java index 567727e098..bc09211d03 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_ByImportingBlobFromTheSameSubscription.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_ByImportingBlobFromTheSameSubscription.java @@ -6,7 +6,7 @@ import com.azure.resourcemanager.compute.models.DiskCreateOption; /** Samples for Disks CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_Create_ByImportingBlobFromTheSameSubscription.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_Create_ByImportingBlobFromTheSameSubscription.json */ /** * Sample code: Create a managed disk by importing an unmanaged blob from the same subscription. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_ByImportingBlobFromTheSameSubscription.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_ByImportingBlobFromTheSameSubscription.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_ByImportingBlobFromTheSameSubscription.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_ByImportingBlobFromTheSameSubscription.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_ConfidentialVMSupportedDiskEncryptedWithCMK.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_ConfidentialVMSupportedDiskEncryptedWithCMK.java index e907899434..4425c44b73 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_ConfidentialVMSupportedDiskEncryptedWithCMK.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_ConfidentialVMSupportedDiskEncryptedWithCMK.java @@ -10,7 +10,7 @@ import com.azure.resourcemanager.compute.models.OperatingSystemTypes; /** Samples for Disks CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_Create_ConfidentialVMSupportedDiskEncryptedWithCMK.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_Create_ConfidentialVMSupportedDiskEncryptedWithCMK.json */ /** * Sample code: Create a confidential VM supported disk encrypted with customer managed key. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_ConfidentialVMSupportedDiskEncryptedWithCMK.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_ConfidentialVMSupportedDiskEncryptedWithCMK.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_ConfidentialVMSupportedDiskEncryptedWithCMK.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_ConfidentialVMSupportedDiskEncryptedWithCMK.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_Empty.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_Empty.java index f4e9fdc367..f2ad67703a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_Empty.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_Empty.java @@ -6,7 +6,7 @@ import com.azure.resourcemanager.compute.models.DiskCreateOption; /** Samples for Disks CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_Create_Empty.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_Create_Empty.json */ /** * Sample code: Create an empty managed disk. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_Empty.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_Empty.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_Empty.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_Empty.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAPlatformImage.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAPlatformImage.java index 2ac3baf44f..16fab7a58f 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAPlatformImage.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAPlatformImage.java @@ -8,7 +8,7 @@ import com.azure.resourcemanager.compute.models.OperatingSystemTypes; /** Samples for Disks CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_Create_FromAPlatformImage.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_Create_FromAPlatformImage.json */ /** * Sample code: Create a managed disk from a platform image. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAPlatformImage.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAPlatformImage.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAPlatformImage.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAPlatformImage.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAnAzureComputeGalleryCommunityImage.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAnAzureComputeGalleryCommunityImage.java index 61170aa8a4..2edec84880 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAnAzureComputeGalleryCommunityImage.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAnAzureComputeGalleryCommunityImage.java @@ -8,7 +8,7 @@ import com.azure.resourcemanager.compute.models.OperatingSystemTypes; /** Samples for Disks CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_Create_FromAnAzureComputeGalleryCommunityImage.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_Create_FromAnAzureComputeGalleryCommunityImage.json */ /** * Sample code: Create a managed disk from an Azure Compute Gallery community image. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAnAzureComputeGalleryCommunityImage.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAnAzureComputeGalleryCommunityImage.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAnAzureComputeGalleryCommunityImage.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAnAzureComputeGalleryCommunityImage.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAnAzureComputeGalleryDirectSharedImage.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAnAzureComputeGalleryDirectSharedImage.java index 2cf86da698..4b8ce72ef7 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAnAzureComputeGalleryDirectSharedImage.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAnAzureComputeGalleryDirectSharedImage.java @@ -8,7 +8,7 @@ import com.azure.resourcemanager.compute.models.OperatingSystemTypes; /** Samples for Disks CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_Create_FromAnAzureComputeGalleryDirectSharedImage.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_Create_FromAnAzureComputeGalleryDirectSharedImage.json */ /** * Sample code: Create a managed disk from an Azure Compute Gallery direct shared image. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAnAzureComputeGalleryDirectSharedImage.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAnAzureComputeGalleryDirectSharedImage.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAnAzureComputeGalleryDirectSharedImage.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAnAzureComputeGalleryDirectSharedImage.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAnAzureComputeGalleryImage.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAnAzureComputeGalleryImage.java index cb933864e3..792a99c8c5 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAnAzureComputeGalleryImage.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAnAzureComputeGalleryImage.java @@ -8,7 +8,7 @@ import com.azure.resourcemanager.compute.models.OperatingSystemTypes; /** Samples for Disks CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_Create_FromAnAzureComputeGalleryImage.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_Create_FromAnAzureComputeGalleryImage.json */ /** * Sample code: Create a managed disk from an Azure Compute Gallery image. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAnAzureComputeGalleryImage.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAnAzureComputeGalleryImage.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAnAzureComputeGalleryImage.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAnAzureComputeGalleryImage.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAnExistingManagedDisk.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAnExistingManagedDisk.java index e7fd89443b..273251a35d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAnExistingManagedDisk.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAnExistingManagedDisk.java @@ -6,7 +6,7 @@ import com.azure.resourcemanager.compute.models.DiskCreateOption; /** Samples for Disks CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_Create_FromAnExistingManagedDisk.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_Create_FromAnExistingManagedDisk.json */ /** * Sample code: Create a managed disk from an existing managed disk in the same or different subscription. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAnExistingManagedDisk.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAnExistingManagedDisk.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAnExistingManagedDisk.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromAnExistingManagedDisk.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromImportSecure.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromImportSecure.java index 94e00ca859..e2257ed538 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromImportSecure.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromImportSecure.java @@ -9,7 +9,7 @@ import com.azure.resourcemanager.compute.models.OperatingSystemTypes; /** Samples for Disks CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_Create_FromImportSecure.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_Create_FromImportSecure.json */ /** * Sample code: Create a managed disk from ImportSecure create option. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromImportSecure.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromImportSecure.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromImportSecure.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromImportSecure.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromUploadPreparedSecure.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromUploadPreparedSecure.java index d0f5548639..b1d5d38845 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromUploadPreparedSecure.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromUploadPreparedSecure.java @@ -9,7 +9,7 @@ import com.azure.resourcemanager.compute.models.OperatingSystemTypes; /** Samples for Disks CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_Create_FromUploadPreparedSecure.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_Create_FromUploadPreparedSecure.json */ /** * Sample code: Create a managed disk from UploadPreparedSecure create option. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromUploadPreparedSecure.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromUploadPreparedSecure.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromUploadPreparedSecure.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_FromUploadPreparedSecure.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_InExtendedLocation.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_InExtendedLocation.java index 76327c1519..0068a802d5 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_InExtendedLocation.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_InExtendedLocation.java @@ -8,7 +8,7 @@ import com.azure.resourcemanager.compute.models.ExtendedLocationTypes; /** Samples for Disks CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_Create_InExtendedLocation.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_Create_InExtendedLocation.json */ /** * Sample code: Create an empty managed disk in extended location. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_InExtendedLocation.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_InExtendedLocation.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_InExtendedLocation.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_InExtendedLocation.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_UploadDisk.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_UploadDisk.java index c630fbeddb..a3508f490d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_UploadDisk.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_UploadDisk.java @@ -6,7 +6,7 @@ import com.azure.resourcemanager.compute.models.DiskCreateOption; /** Samples for Disks CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_Create_UploadDisk.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_Create_UploadDisk.json */ /** * Sample code: Create a managed upload disk. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_UploadDisk.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_UploadDisk.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_UploadDisk.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_UploadDisk.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithDataAccessAuthMode.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithDataAccessAuthMode.java index e70a666f54..6eea12a79d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithDataAccessAuthMode.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithDataAccessAuthMode.java @@ -7,7 +7,7 @@ import com.azure.resourcemanager.compute.models.DiskCreateOption; /** Samples for Disks CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_Create_WithDataAccessAuthMode.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_Create_WithDataAccessAuthMode.json */ /** * Sample code: Create a managed disk with dataAccessAuthMode. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithDataAccessAuthMode.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithDataAccessAuthMode.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithDataAccessAuthMode.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithDataAccessAuthMode.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithDiskAccess.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithDiskAccess.java index 7f2558876b..eebe82977a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithDiskAccess.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithDiskAccess.java @@ -7,7 +7,7 @@ import com.azure.resourcemanager.compute.models.NetworkAccessPolicy; /** Samples for Disks CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_Create_WithDiskAccess.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_Create_WithDiskAccess.json */ /** * Sample code: Create a managed disk and associate with disk access resource. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithDiskAccess.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithDiskAccess.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithDiskAccess.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithDiskAccess.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithDiskEncryptionSet.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithDiskEncryptionSet.java index dec36ed73e..3a61fda4fe 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithDiskEncryptionSet.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithDiskEncryptionSet.java @@ -7,7 +7,7 @@ import com.azure.resourcemanager.compute.models.Encryption; /** Samples for Disks CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_Create_WithDiskEncryptionSet.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_Create_WithDiskEncryptionSet.json */ /** * Sample code: Create a managed disk and associate with disk encryption set. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithDiskEncryptionSet.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithDiskEncryptionSet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithDiskEncryptionSet.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithDiskEncryptionSet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithLogicalSectorSize.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithLogicalSectorSize.java index 62d52f77cd..dfc09c1852 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithLogicalSectorSize.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithLogicalSectorSize.java @@ -8,7 +8,7 @@ import com.azure.resourcemanager.compute.models.DiskStorageAccountTypes; /** Samples for Disks CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_Create_WithLogicalSectorSize.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_Create_WithLogicalSectorSize.json */ /** * Sample code: Create an ultra managed disk with logicalSectorSize 512E. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithLogicalSectorSize.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithLogicalSectorSize.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithLogicalSectorSize.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithLogicalSectorSize.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithPremiumV2_LRSAccountType.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithPremiumV2_LRSAccountType.java index acfebb6c8d..3257af1b3b 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithPremiumV2_LRSAccountType.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithPremiumV2_LRSAccountType.java @@ -8,7 +8,7 @@ import com.azure.resourcemanager.compute.models.DiskStorageAccountTypes; /** Samples for Disks CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_Create_WithPremiumV2_LRSAccountType.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_Create_WithPremiumV2_LRSAccountType.json */ /** * Sample code: Create a managed disk with premium v2 account type. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithPremiumV2_LRSAccountType.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithPremiumV2_LRSAccountType.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithPremiumV2_LRSAccountType.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithPremiumV2_LRSAccountType.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithSSDZRSAccountType.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithSSDZRSAccountType.java index b3070e71b7..4567cbcb1e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithSSDZRSAccountType.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithSSDZRSAccountType.java @@ -8,7 +8,7 @@ import com.azure.resourcemanager.compute.models.DiskStorageAccountTypes; /** Samples for Disks CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_Create_WithSSDZRSAccountType.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_Create_WithSSDZRSAccountType.json */ /** * Sample code: Create a managed disk with ssd zrs account type. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithSSDZRSAccountType.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithSSDZRSAccountType.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithSSDZRSAccountType.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithSSDZRSAccountType.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithSecurityProfile.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithSecurityProfile.java index 8944e285ed..c94ef8dc3e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithSecurityProfile.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithSecurityProfile.java @@ -10,7 +10,7 @@ import com.azure.resourcemanager.compute.models.OperatingSystemTypes; /** Samples for Disks CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_Create_WithSecurityProfile.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_Create_WithSecurityProfile.json */ /** * Sample code: Create a managed disk with security profile. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithSecurityProfile.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithSecurityProfile.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithSecurityProfile.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Create_WithSecurityProfile.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Delete.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Delete.java index 9401d09b8d..eb63bb9c75 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Delete.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Delete.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for Disks Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_Delete.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_Delete.json */ /** * Sample code: Delete a managed disk. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Delete.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Delete.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_EndGetAccess.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_EndGetAccess.java index 55187b9dc7..3d87b0be08 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_EndGetAccess.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_EndGetAccess.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for Disks RevokeAccess. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_EndGetAccess.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_EndGetAccess.json */ /** * Sample code: Revoke access to a managed disk. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_EndGetAccess.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_EndGetAccess.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_EndGetAccess.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_EndGetAccess.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Get.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Get.java index 41395e34cf..5dc2fc893f 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for Disks GetByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_Get.json */ /** * Sample code: Get information about a managed disk. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Get.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_ListByResourceGroup.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_ListByResourceGroup.java index 422fc44aad..c6d16cddf9 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_ListByResourceGroup.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_ListByResourceGroup.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for Disks ListByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_ListByResourceGroup.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_ListByResourceGroup.json */ /** * Sample code: List all managed disks in a resource group. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_ListByResourceGroup.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_ListByResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_ListByResourceGroup.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_ListByResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_ListBySubscription.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_ListBySubscription.java index af6c9c33a5..94c3171ae0 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_ListBySubscription.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_ListBySubscription.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for Disks List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_ListBySubscription.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_ListBySubscription.json */ /** * Sample code: List all managed disks in a subscription. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_ListBySubscription.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_ListBySubscription.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_ListBySubscription.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_ListBySubscription.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_AddAcceleratedNetworking.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_AddAcceleratedNetworking.java index 5846c3bbae..6d1131d440 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_AddAcceleratedNetworking.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_AddAcceleratedNetworking.java @@ -5,7 +5,7 @@ import com.azure.resourcemanager.compute.models.SupportedCapabilities; /** Samples for Disks Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_Update_AddAcceleratedNetworking.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_Update_AddAcceleratedNetworking.json */ /** * Sample code: Update a managed disk to add accelerated networking. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_AddAcceleratedNetworking.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_AddAcceleratedNetworking.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_AddAcceleratedNetworking.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_AddAcceleratedNetworking.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_AddPurchasePlan.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_AddPurchasePlan.java index 791b07e080..f25b9d389b 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_AddPurchasePlan.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_AddPurchasePlan.java @@ -5,7 +5,7 @@ import com.azure.resourcemanager.compute.models.PurchasePlanAutoGenerated; /** Samples for Disks Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_Update_AddPurchasePlan.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_Update_AddPurchasePlan.json */ /** * Sample code: Update a managed disk to add purchase plan. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_AddPurchasePlan.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_AddPurchasePlan.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_AddPurchasePlan.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_AddPurchasePlan.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_AddSupportsHibernation.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_AddSupportsHibernation.java index 8fad14068a..39b901e2bc 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_AddSupportsHibernation.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_AddSupportsHibernation.java @@ -4,7 +4,7 @@ import com.azure.resourcemanager.compute.models.DiskUpdate; /** Samples for Disks Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_Update_AddSupportsHibernation.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_Update_AddSupportsHibernation.json */ /** * Sample code: Update a managed disk to add supportsHibernation. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_AddSupportsHibernation.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_AddSupportsHibernation.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_AddSupportsHibernation.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_AddSupportsHibernation.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_ChangeTier.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_ChangeTier.java index cf9b44513d..603c556be5 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_ChangeTier.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_ChangeTier.java @@ -4,7 +4,7 @@ import com.azure.resourcemanager.compute.models.DiskUpdate; /** Samples for Disks Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_Update_ChangeTier.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_Update_ChangeTier.json */ /** * Sample code: Update a managed disk to change tier. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_ChangeTier.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_ChangeTier.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_ChangeTier.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_ChangeTier.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_DisableBursting.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_DisableBursting.java index 845dd3048a..6c3f068f51 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_DisableBursting.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_DisableBursting.java @@ -4,7 +4,7 @@ import com.azure.resourcemanager.compute.models.DiskUpdate; /** Samples for Disks Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_Update_DisableBursting.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_Update_DisableBursting.json */ /** * Sample code: Update a managed disk to disable bursting. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_DisableBursting.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_DisableBursting.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_DisableBursting.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_DisableBursting.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_RemoveDiskAccess.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_RemoveDiskAccess.java index 1ef6fdfce2..4a542e3985 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_RemoveDiskAccess.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_RemoveDiskAccess.java @@ -5,7 +5,7 @@ import com.azure.resourcemanager.compute.models.NetworkAccessPolicy; /** Samples for Disks Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_Update_RemoveDiskAccess.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_Update_RemoveDiskAccess.json */ /** * Sample code: Update managed disk to remove disk access resource association. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_RemoveDiskAccess.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_RemoveDiskAccess.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_RemoveDiskAccess.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_RemoveDiskAccess.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_ToAddArchitecture.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_ToAddArchitecture.java index 2cb9224b3a..532b9253f2 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_ToAddArchitecture.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_ToAddArchitecture.java @@ -6,7 +6,7 @@ import com.azure.resourcemanager.compute.models.SupportedCapabilities; /** Samples for Disks Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskExamples/Disk_Update_ToAddArchitecture.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskExamples/Disk_Update_ToAddArchitecture.json */ /** * Sample code: Update a managed disk to add architecture. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_ToAddArchitecture.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_ToAddArchitecture.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_ToAddArchitecture.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskExamples/Disk_Update_ToAddArchitecture.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_BeginGetAccess.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_BeginGetAccess.java index 1b0b108853..33c6fe3cef 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_BeginGetAccess.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_BeginGetAccess.java @@ -5,7 +5,7 @@ import com.azure.resourcemanager.compute.models.GrantAccessData; /** Samples for DiskRestorePoint GrantAccess. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskRestorePointExamples/DiskRestorePoint_BeginGetAccess.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskRestorePointExamples/DiskRestorePoint_BeginGetAccess.json */ /** * Sample code: Grants access to a diskRestorePoint. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_BeginGetAccess.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_BeginGetAccess.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_BeginGetAccess.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_BeginGetAccess.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_EndGetAccess.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_EndGetAccess.java index c492fe6d73..b6d6bbf04a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_EndGetAccess.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_EndGetAccess.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for DiskRestorePoint RevokeAccess. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskRestorePointExamples/DiskRestorePoint_EndGetAccess.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskRestorePointExamples/DiskRestorePoint_EndGetAccess.json */ /** * Sample code: Revokes access to a diskRestorePoint. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_EndGetAccess.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_EndGetAccess.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_EndGetAccess.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_EndGetAccess.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_Get.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_Get.java index c663d726a9..603bb4ab75 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for DiskRestorePoint Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskRestorePointExamples/DiskRestorePoint_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskRestorePointExamples/DiskRestorePoint_Get.json */ /** * Sample code: Get an incremental disk restorePoint resource. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_Get.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_Get_WhenSourceResourceIsFromDifferentRegion.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_Get_WhenSourceResourceIsFromDifferentRegion.java index e0aa856453..1c1e8f2f3d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_Get_WhenSourceResourceIsFromDifferentRegion.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_Get_WhenSourceResourceIsFromDifferentRegion.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for DiskRestorePoint Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskRestorePointExamples/DiskRestorePoint_Get_WhenSourceResourceIsFromDifferentRegion.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskRestorePointExamples/DiskRestorePoint_Get_WhenSourceResourceIsFromDifferentRegion.json */ /** * Sample code: Get an incremental disk restorePoint when source resource is from a different region. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_Get_WhenSourceResourceIsFromDifferentRegion.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_Get_WhenSourceResourceIsFromDifferentRegion.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_Get_WhenSourceResourceIsFromDifferentRegion.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_Get_WhenSourceResourceIsFromDifferentRegion.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_ListByVmRestorePoint.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_ListByVmRestorePoint.java index db7d3b88bd..8a7043390e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_ListByVmRestorePoint.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_ListByVmRestorePoint.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for DiskRestorePoint ListByRestorePoint. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/diskRestorePointExamples/DiskRestorePoint_ListByVmRestorePoint.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/diskRestorePointExamples/DiskRestorePoint_ListByVmRestorePoint.json */ /** * Sample code: Get an incremental disk restorePoint resource. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_ListByVmRestorePoint.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_ListByVmRestorePoint.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_ListByVmRestorePoint.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/diskRestorePointExamples/DiskRestorePoint_ListByVmRestorePoint.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_BeginGetAccess.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_BeginGetAccess.java index 37e622c9f2..1f055f4496 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_BeginGetAccess.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_BeginGetAccess.java @@ -5,7 +5,7 @@ import com.azure.resourcemanager.compute.models.GrantAccessData; /** Samples for Snapshots GrantAccess. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/snapshotExamples/Snapshot_BeginGetAccess.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/snapshotExamples/Snapshot_BeginGetAccess.json */ /** * Sample code: Get a sas on a snapshot. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_BeginGetAccess.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_BeginGetAccess.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_BeginGetAccess.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_BeginGetAccess.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Create_ByImportingAnUnmanagedBlobFromADifferentSubscription.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Create_ByImportingAnUnmanagedBlobFromADifferentSubscription.java index 162a531559..cf041a9751 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Create_ByImportingAnUnmanagedBlobFromADifferentSubscription.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Create_ByImportingAnUnmanagedBlobFromADifferentSubscription.java @@ -6,7 +6,7 @@ import com.azure.resourcemanager.compute.models.DiskCreateOption; /** Samples for Snapshots CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/snapshotExamples/Snapshot_Create_ByImportingAnUnmanagedBlobFromADifferentSubscription.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/snapshotExamples/Snapshot_Create_ByImportingAnUnmanagedBlobFromADifferentSubscription.json */ /** * Sample code: Create a snapshot by importing an unmanaged blob from a different subscription. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Create_ByImportingAnUnmanagedBlobFromADifferentSubscription.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Create_ByImportingAnUnmanagedBlobFromADifferentSubscription.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Create_ByImportingAnUnmanagedBlobFromADifferentSubscription.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Create_ByImportingAnUnmanagedBlobFromADifferentSubscription.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Create_ByImportingAnUnmanagedBlobFromTheSameSubscription.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Create_ByImportingAnUnmanagedBlobFromTheSameSubscription.java index 9850e8fb73..7cc2da9478 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Create_ByImportingAnUnmanagedBlobFromTheSameSubscription.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Create_ByImportingAnUnmanagedBlobFromTheSameSubscription.java @@ -6,7 +6,7 @@ import com.azure.resourcemanager.compute.models.DiskCreateOption; /** Samples for Snapshots CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/snapshotExamples/Snapshot_Create_ByImportingAnUnmanagedBlobFromTheSameSubscription.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/snapshotExamples/Snapshot_Create_ByImportingAnUnmanagedBlobFromTheSameSubscription.json */ /** * Sample code: Create a snapshot by importing an unmanaged blob from the same subscription. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Create_ByImportingAnUnmanagedBlobFromTheSameSubscription.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Create_ByImportingAnUnmanagedBlobFromTheSameSubscription.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Create_ByImportingAnUnmanagedBlobFromTheSameSubscription.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Create_ByImportingAnUnmanagedBlobFromTheSameSubscription.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Create_FromAnExistingSnapshot.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Create_FromAnExistingSnapshot.java index aa492830be..bd37160cf4 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Create_FromAnExistingSnapshot.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Create_FromAnExistingSnapshot.java @@ -6,7 +6,7 @@ import com.azure.resourcemanager.compute.models.DiskCreateOption; /** Samples for Snapshots CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/snapshotExamples/Snapshot_Create_FromAnExistingSnapshot.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/snapshotExamples/Snapshot_Create_FromAnExistingSnapshot.json */ /** * Sample code: Create a snapshot from an existing snapshot in the same or a different subscription. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Create_FromAnExistingSnapshot.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Create_FromAnExistingSnapshot.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Create_FromAnExistingSnapshot.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Create_FromAnExistingSnapshot.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Create_FromAnExistingSnapshotInDifferentRegion.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Create_FromAnExistingSnapshotInDifferentRegion.java index e26b5dea8f..991fea64fb 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Create_FromAnExistingSnapshotInDifferentRegion.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Create_FromAnExistingSnapshotInDifferentRegion.java @@ -6,7 +6,7 @@ import com.azure.resourcemanager.compute.models.DiskCreateOption; /** Samples for Snapshots CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/snapshotExamples/Snapshot_Create_FromAnExistingSnapshotInDifferentRegion.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/snapshotExamples/Snapshot_Create_FromAnExistingSnapshotInDifferentRegion.json */ /** * Sample code: Create a snapshot from an existing snapshot in the same or a different subscription in a different diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Create_FromAnExistingSnapshotInDifferentRegion.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Create_FromAnExistingSnapshotInDifferentRegion.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Create_FromAnExistingSnapshotInDifferentRegion.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Create_FromAnExistingSnapshotInDifferentRegion.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Delete.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Delete.java index 98a9f4b00c..d60ff570da 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Delete.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Delete.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for Snapshots Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/snapshotExamples/Snapshot_Delete.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/snapshotExamples/Snapshot_Delete.json */ /** * Sample code: Delete a snapshot. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Delete.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Delete.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_EndGetAccess.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_EndGetAccess.java index 85aa05ee07..ff337c7cf9 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_EndGetAccess.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_EndGetAccess.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for Snapshots RevokeAccess. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/snapshotExamples/Snapshot_EndGetAccess.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/snapshotExamples/Snapshot_EndGetAccess.json */ /** * Sample code: Revoke access to a snapshot. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_EndGetAccess.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_EndGetAccess.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_EndGetAccess.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_EndGetAccess.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Get.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Get.java index 6144dffc31..c54e6ee37a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for Snapshots GetByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/snapshotExamples/Snapshot_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/snapshotExamples/Snapshot_Get.json */ /** * Sample code: Get information about a snapshot. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Get.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_ListByResourceGroup.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_ListByResourceGroup.java index be3e9d21f2..d674738f98 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_ListByResourceGroup.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_ListByResourceGroup.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for Snapshots ListByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/snapshotExamples/Snapshot_ListByResourceGroup.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/snapshotExamples/Snapshot_ListByResourceGroup.json */ /** * Sample code: List all snapshots in a resource group. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_ListByResourceGroup.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_ListByResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_ListByResourceGroup.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_ListByResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_ListBySubscription.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_ListBySubscription.java index 265aef1071..ef2a776936 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_ListBySubscription.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_ListBySubscription.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for Snapshots List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/snapshotExamples/Snapshot_ListBySubscription.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/snapshotExamples/Snapshot_ListBySubscription.json */ /** * Sample code: List all snapshots in a subscription. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_ListBySubscription.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_ListBySubscription.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_ListBySubscription.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_ListBySubscription.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Update.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Update.java index b7ab4e795a..eb4316e675 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Update.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Update.java @@ -6,7 +6,7 @@ import java.util.Map; /** Samples for Snapshots Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/snapshotExamples/Snapshot_Update.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/snapshotExamples/Snapshot_Update.json */ /** * Sample code: Update a snapshot. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Update.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Update.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Update.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Update.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Update_WithAcceleratedNetwork.java b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Update_WithAcceleratedNetwork.java index 2ddee6019b..13aea97adf 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Update_WithAcceleratedNetwork.java +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Update_WithAcceleratedNetwork.java @@ -7,7 +7,7 @@ import java.util.Map; /** Samples for Snapshots Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-02/DiskRP/examples/snapshotExamples/Snapshot_Update_WithAcceleratedNetwork.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples/snapshotExamples/Snapshot_Update_WithAcceleratedNetwork.json */ /** * Sample code: Update a snapshot with accelerated networking. diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Update_WithAcceleratedNetwork.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Update_WithAcceleratedNetwork.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Update_WithAcceleratedNetwork.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-03-02/examples-java/snapshotExamples/Snapshot_Update_WithAcceleratedNetwork.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGalleryImageVersion_Get.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGalleryImageVersion_Get.java index d00acc6269..4f9431ba91 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGalleryImageVersion_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGalleryImageVersion_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CommunityGalleryImageVersions Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/communityGalleryExamples/CommunityGalleryImageVersion_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/communityGalleryExamples/CommunityGalleryImageVersion_Get.json */ /** * Sample code: Get a community gallery image version. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGalleryImageVersion_Get.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGalleryImageVersion_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGalleryImageVersion_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGalleryImageVersion_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGalleryImageVersion_List.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGalleryImageVersion_List.java index a4e47aa9b7..48a4e9dc09 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGalleryImageVersion_List.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGalleryImageVersion_List.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CommunityGalleryImageVersions List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/communityGalleryExamples/CommunityGalleryImageVersion_List.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/communityGalleryExamples/CommunityGalleryImageVersion_List.json */ /** * Sample code: List community gallery image versions. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGalleryImageVersion_List.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGalleryImageVersion_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGalleryImageVersion_List.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGalleryImageVersion_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGalleryImage_Get.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGalleryImage_Get.java index e596fc74bf..34dc49966a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGalleryImage_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGalleryImage_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CommunityGalleryImages Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/communityGalleryExamples/CommunityGalleryImage_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/communityGalleryExamples/CommunityGalleryImage_Get.json */ /** * Sample code: Get a community gallery image. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGalleryImage_Get.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGalleryImage_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGalleryImage_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGalleryImage_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGalleryImage_List.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGalleryImage_List.java index 507e65c8b8..22bee1fe95 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGalleryImage_List.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGalleryImage_List.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CommunityGalleryImages List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/communityGalleryExamples/CommunityGalleryImage_List.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/communityGalleryExamples/CommunityGalleryImage_List.json */ /** * Sample code: List community gallery images. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGalleryImage_List.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGalleryImage_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGalleryImage_List.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGalleryImage_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGallery_Get.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGallery_Get.java index 125d3ddf97..52fbdd0d3f 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGallery_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGallery_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for CommunityGalleries Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/communityGalleryExamples/CommunityGallery_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/communityGalleryExamples/CommunityGallery_Get.json */ /** * Sample code: Get a community gallery. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGallery_Get.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGallery_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGallery_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/communityGalleryExamples/CommunityGallery_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/CommunityGallery_Create.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/CommunityGallery_Create.java index f0014dfe12..9e400797ba 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/CommunityGallery_Create.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/CommunityGallery_Create.java @@ -7,7 +7,7 @@ import com.azure.resourcemanager.compute.models.SharingProfile; /** Samples for Galleries CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/CommunityGallery_Create.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/CommunityGallery_Create.json */ /** * Sample code: Create a community gallery. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/CommunityGallery_Create.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/CommunityGallery_Create.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/CommunityGallery_Create.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/CommunityGallery_Create.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/CommunityGallery_Get.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/CommunityGallery_Get.java new file mode 100644 index 0000000000..1ab5a4d56e --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/CommunityGallery_Get.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for Galleries GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/CommunityGallery_Get.json + */ + /** + * Sample code: Get a community gallery. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getACommunityGallery(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .virtualMachines() + .manager() + .serviceClient() + .getGalleries() + .getByResourceGroupWithResponse("myResourceGroup", "myGalleryName", null, null, Context.NONE); + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/CommunityGallery_Get.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/CommunityGallery_Get.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/CommunityGallery_Get.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Create.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Create.java index ab4a08128d..0dbb982017 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Create.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Create.java @@ -11,7 +11,7 @@ import java.util.Arrays; /** Samples for GalleryApplicationVersions CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/GalleryApplicationVersion_Create.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/GalleryApplicationVersion_Create.json */ /** * Sample code: Create or update a simple gallery Application Version. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Create.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Create.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Create.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Create.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Delete.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Delete.java index d7c11322ef..c9098f78e0 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Delete.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Delete.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for GalleryApplicationVersions Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/GalleryApplicationVersion_Delete.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/GalleryApplicationVersion_Delete.json */ /** * Sample code: Delete a gallery Application Version. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Delete.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Delete.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Get.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Get.java index 18f949aece..cd89b8192c 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for GalleryApplicationVersions Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/GalleryApplicationVersion_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/GalleryApplicationVersion_Get.json */ /** * Sample code: Get a gallery Application Version. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Get.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Get_WithReplicationStatus.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Get_WithReplicationStatus.java index 8cfd224c4d..2184154863 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Get_WithReplicationStatus.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Get_WithReplicationStatus.java @@ -4,7 +4,7 @@ import com.azure.resourcemanager.compute.models.ReplicationStatusTypes; /** Samples for GalleryApplicationVersions Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/GalleryApplicationVersion_Get_WithReplicationStatus.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/GalleryApplicationVersion_Get_WithReplicationStatus.json */ /** * Sample code: Get a gallery Application Version with replication status. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Get_WithReplicationStatus.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Get_WithReplicationStatus.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Get_WithReplicationStatus.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Get_WithReplicationStatus.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_ListByGalleryApplication.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_ListByGalleryApplication.java index 97a5ae4956..b6d16dd53f 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_ListByGalleryApplication.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_ListByGalleryApplication.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for GalleryApplicationVersions ListByGalleryApplication. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/GalleryApplicationVersion_ListByGalleryApplication.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/GalleryApplicationVersion_ListByGalleryApplication.json */ /** * Sample code: List gallery Application Versions in a gallery Application Definition. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_ListByGalleryApplication.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_ListByGalleryApplication.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_ListByGalleryApplication.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_ListByGalleryApplication.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Update.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Update.java index 137ad68895..5828c6d829 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Update.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Update.java @@ -11,7 +11,7 @@ import java.util.Arrays; /** Samples for GalleryApplicationVersions Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/GalleryApplicationVersion_Update.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/GalleryApplicationVersion_Update.json */ /** * Sample code: Update a simple gallery Application Version. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Update.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Update.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Update.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplicationVersion_Update.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_Create.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_Create.java index 108c39f2eb..7fe55b7bbe 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_Create.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_Create.java @@ -5,7 +5,7 @@ import com.azure.resourcemanager.compute.models.OperatingSystemTypes; /** Samples for GalleryApplications CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/GalleryApplication_Create.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/GalleryApplication_Create.json */ /** * Sample code: Create or update a simple gallery Application. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_Create.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_Create.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_Create.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_Create.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_Delete.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_Delete.java index 4b3f863e1f..8670acae9b 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_Delete.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_Delete.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for GalleryApplications Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/GalleryApplication_Delete.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/GalleryApplication_Delete.json */ /** * Sample code: Delete a gallery Application. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_Delete.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_Delete.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_Get.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_Get.java index f18507da25..00546845d0 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for GalleryApplications Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/GalleryApplication_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/GalleryApplication_Get.json */ /** * Sample code: Get a gallery Application. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_Get.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_ListByGallery.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_ListByGallery.java index e1d0e13e4b..b2601c4f2c 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_ListByGallery.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_ListByGallery.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for GalleryApplications ListByGallery. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/GalleryApplication_ListByGallery.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/GalleryApplication_ListByGallery.json */ /** * Sample code: List gallery Applications in a gallery. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_ListByGallery.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_ListByGallery.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_ListByGallery.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_ListByGallery.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_Update.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_Update.java index 2c3feb8cd1..0660187faf 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_Update.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_Update.java @@ -5,7 +5,7 @@ import com.azure.resourcemanager.compute.models.OperatingSystemTypes; /** Samples for GalleryApplications Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/GalleryApplication_Update.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/GalleryApplication_Update.json */ /** * Sample code: Update a simple gallery Application. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_Update.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_Update.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_Update.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryApplication_Update.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create.java index 120089557b..e0e0df588f 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create.java @@ -13,7 +13,7 @@ import java.util.Arrays; /** Samples for GalleryImageVersions CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/GalleryImageVersion_Create.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/GalleryImageVersion_Create.json */ /** * Sample code: Create or update a simple Gallery Image Version using managed image as source. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithImageVersionAsSource.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithImageVersionAsSource.java index c04a5549ad..1b44bbafcc 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithImageVersionAsSource.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithImageVersionAsSource.java @@ -13,7 +13,7 @@ import java.util.Arrays; /** Samples for GalleryImageVersions CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/GalleryImageVersion_Create_WithImageVersionAsSource.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/GalleryImageVersion_Create_WithImageVersionAsSource.json */ /** * Sample code: Create or update a simple Gallery Image Version using shared image as source. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithImageVersionAsSource.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithImageVersionAsSource.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithImageVersionAsSource.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithImageVersionAsSource.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithShallowReplicationMode.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithShallowReplicationMode.java index 725797c520..02f7648cce 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithShallowReplicationMode.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithShallowReplicationMode.java @@ -10,7 +10,7 @@ import java.util.Arrays; /** Samples for GalleryImageVersions CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/GalleryImageVersion_Create_WithShallowReplicationMode.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/GalleryImageVersion_Create_WithShallowReplicationMode.json */ /** * Sample code: Create or update a simple Gallery Image Version using shallow replication mode. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithShallowReplicationMode.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithShallowReplicationMode.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithShallowReplicationMode.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithShallowReplicationMode.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithSnapshotsAsSource.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithSnapshotsAsSource.java index 2fce6922fd..9035b1039d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithSnapshotsAsSource.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithSnapshotsAsSource.java @@ -16,7 +16,7 @@ import java.util.Arrays; /** Samples for GalleryImageVersions CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/GalleryImageVersion_Create_WithSnapshotsAsSource.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/GalleryImageVersion_Create_WithSnapshotsAsSource.json */ /** * Sample code: Create or update a simple Gallery Image Version using snapshots as a source. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithSnapshotsAsSource.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithSnapshotsAsSource.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithSnapshotsAsSource.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithSnapshotsAsSource.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithTargetExtendedLocations.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithTargetExtendedLocations.java index bd9e4eabb5..722c15919e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithTargetExtendedLocations.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithTargetExtendedLocations.java @@ -13,7 +13,7 @@ import java.util.Arrays; /** Samples for GalleryImageVersions CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/GalleryImageVersion_Create_WithTargetExtendedLocations.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/GalleryImageVersion_Create_WithTargetExtendedLocations.json */ /** * Sample code: Create or update a simple gallery image version with target extended locations specified. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithTargetExtendedLocations.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithTargetExtendedLocations.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithTargetExtendedLocations.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithTargetExtendedLocations.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithVHD.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithVHD.java index 12c1e189b4..a654653cfb 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithVHD.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithVHD.java @@ -16,7 +16,7 @@ import java.util.Arrays; /** Samples for GalleryImageVersions CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/GalleryImageVersion_Create_WithVHD.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/GalleryImageVersion_Create_WithVHD.json */ /** * Sample code: Create or update a simple Gallery Image Version using vhd as a source. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithVHD.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithVHD.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithVHD.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithVHD.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithVmAsSource.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithVmAsSource.java index ffa111d987..db1b2df40a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithVmAsSource.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithVmAsSource.java @@ -13,7 +13,7 @@ import java.util.Arrays; /** Samples for GalleryImageVersions CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/GalleryImageVersion_Create_WithVmAsSource.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/GalleryImageVersion_Create_WithVmAsSource.json */ /** * Sample code: Create or update a simple Gallery Image Version using VM as source. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithVmAsSource.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithVmAsSource.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithVmAsSource.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Create_WithVmAsSource.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Delete.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Delete.java index e7f69d9535..7d92fbd4e0 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Delete.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Delete.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for GalleryImageVersions Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/GalleryImageVersion_Delete.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/GalleryImageVersion_Delete.json */ /** * Sample code: Delete a gallery image version. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Delete.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Delete.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Get.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Get.java index 38765f11fe..f858e7532c 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for GalleryImageVersions Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/GalleryImageVersion_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/GalleryImageVersion_Get.json */ /** * Sample code: Get a gallery image version. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Get.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Get_WithReplicationStatus.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Get_WithReplicationStatus.java index 0e71715b00..20866939b0 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Get_WithReplicationStatus.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Get_WithReplicationStatus.java @@ -4,7 +4,7 @@ import com.azure.resourcemanager.compute.models.ReplicationStatusTypes; /** Samples for GalleryImageVersions Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/GalleryImageVersion_Get_WithReplicationStatus.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/GalleryImageVersion_Get_WithReplicationStatus.json */ /** * Sample code: Get a gallery image version with replication status. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Get_WithReplicationStatus.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Get_WithReplicationStatus.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Get_WithReplicationStatus.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Get_WithReplicationStatus.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Get_WithSnapshotsAsSource.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Get_WithSnapshotsAsSource.java index dbbcf44308..68ef391b0a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Get_WithSnapshotsAsSource.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Get_WithSnapshotsAsSource.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for GalleryImageVersions Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/GalleryImageVersion_Get_WithSnapshotsAsSource.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/GalleryImageVersion_Get_WithSnapshotsAsSource.json */ /** * Sample code: Get a gallery image version with snapshots as a source. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Get_WithSnapshotsAsSource.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Get_WithSnapshotsAsSource.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Get_WithSnapshotsAsSource.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Get_WithSnapshotsAsSource.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Get_WithVhdAsSource.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Get_WithVhdAsSource.java index e8ad0d2e37..67e71d77bf 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Get_WithVhdAsSource.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Get_WithVhdAsSource.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for GalleryImageVersions Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/GalleryImageVersion_Get_WithVhdAsSource.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/GalleryImageVersion_Get_WithVhdAsSource.json */ /** * Sample code: Get a gallery image version with vhd as a source. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Get_WithVhdAsSource.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Get_WithVhdAsSource.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Get_WithVhdAsSource.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Get_WithVhdAsSource.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_ListByGalleryImage.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_ListByGalleryImage.java index 3e69181521..afaaace426 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_ListByGalleryImage.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_ListByGalleryImage.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for GalleryImageVersions ListByGalleryImage. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/GalleryImageVersion_ListByGalleryImage.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/GalleryImageVersion_ListByGalleryImage.json */ /** * Sample code: List gallery image versions in a gallery image definition. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_ListByGalleryImage.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_ListByGalleryImage.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_ListByGalleryImage.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_ListByGalleryImage.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Update.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Update.java index d6c80bf3de..1c8a964347 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Update.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Update.java @@ -10,7 +10,7 @@ import java.util.Arrays; /** Samples for GalleryImageVersions Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/GalleryImageVersion_Update.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/GalleryImageVersion_Update.json */ /** * Sample code: Update a simple Gallery Image Version (Managed Image as source). diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Update.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Update.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Update.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Update.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Update_WithoutSourceId.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Update_WithoutSourceId.java index 0fb25f7796..5cb3a1aec6 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Update_WithoutSourceId.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Update_WithoutSourceId.java @@ -9,7 +9,7 @@ import java.util.Arrays; /** Samples for GalleryImageVersions Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/GalleryImageVersion_Update_WithoutSourceId.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/GalleryImageVersion_Update_WithoutSourceId.json */ /** * Sample code: Update a simple Gallery Image Version without source id. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Update_WithoutSourceId.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Update_WithoutSourceId.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Update_WithoutSourceId.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImageVersion_Update_WithoutSourceId.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_Create.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_Create.java index 3bbc6fb906..40aac6fbad 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_Create.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_Create.java @@ -8,7 +8,7 @@ import com.azure.resourcemanager.compute.models.OperatingSystemTypes; /** Samples for GalleryImages CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/GalleryImage_Create.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/GalleryImage_Create.json */ /** * Sample code: Create or update a simple gallery image. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_Create.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_Create.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_Create.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_Create.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_Delete.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_Delete.java index 6ac52cf181..2f8cb10ea1 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_Delete.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_Delete.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for GalleryImages Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/GalleryImage_Delete.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/GalleryImage_Delete.json */ /** * Sample code: Delete a gallery image. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_Delete.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_Delete.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_Get.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_Get.java index 8cb4d82b8f..a4a5ff1124 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for GalleryImages Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/GalleryImage_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/GalleryImage_Get.json */ /** * Sample code: Get a gallery image. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_Get.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_ListByGallery.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_ListByGallery.java index 63842c104b..b227d975fd 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_ListByGallery.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_ListByGallery.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for GalleryImages ListByGallery. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/GalleryImage_ListByGallery.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/GalleryImage_ListByGallery.json */ /** * Sample code: List gallery images in a gallery. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_ListByGallery.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_ListByGallery.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_ListByGallery.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_ListByGallery.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_Update.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_Update.java index 832fa33851..1373da77c7 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_Update.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_Update.java @@ -8,7 +8,7 @@ import com.azure.resourcemanager.compute.models.OperatingSystemTypes; /** Samples for GalleryImages Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/GalleryImage_Update.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/GalleryImage_Update.json */ /** * Sample code: Update a simple gallery image. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_Update.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_Update.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_Update.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/GalleryImage_Update.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_AddToSharingProfile.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_AddToSharingProfile.java index a51f44e17a..df7f5f307b 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_AddToSharingProfile.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_AddToSharingProfile.java @@ -8,7 +8,7 @@ import java.util.Arrays; /** Samples for GallerySharingProfile Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/Gallery_AddToSharingProfile.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/Gallery_AddToSharingProfile.json */ /** * Sample code: Add sharing id to the sharing profile of a gallery. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_AddToSharingProfile.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_AddToSharingProfile.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_AddToSharingProfile.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_AddToSharingProfile.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Create.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Create.java index 6711f0fb32..6b660979e6 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Create.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Create.java @@ -4,7 +4,7 @@ import com.azure.resourcemanager.compute.fluent.models.GalleryInner; /** Samples for Galleries CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/Gallery_Create.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/Gallery_Create.json */ /** * Sample code: Create or update a simple gallery. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Create.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Create.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Create.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Create.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Create_SoftDeletionEnabled.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Create_SoftDeletionEnabled.java index 516c6622ac..e0afd53fac 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Create_SoftDeletionEnabled.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Create_SoftDeletionEnabled.java @@ -5,7 +5,7 @@ import com.azure.resourcemanager.compute.models.SoftDeletePolicy; /** Samples for Galleries CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/Gallery_Create_SoftDeletionEnabled.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/Gallery_Create_SoftDeletionEnabled.json */ /** * Sample code: Create or update a simple gallery with soft deletion enabled. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Create_SoftDeletionEnabled.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Create_SoftDeletionEnabled.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Create_SoftDeletionEnabled.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Create_SoftDeletionEnabled.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Create_WithSharingProfile.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Create_WithSharingProfile.java index 97fb61fc2d..cdded98199 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Create_WithSharingProfile.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Create_WithSharingProfile.java @@ -6,7 +6,7 @@ import com.azure.resourcemanager.compute.models.SharingProfile; /** Samples for Galleries CreateOrUpdate. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/Gallery_Create_WithSharingProfile.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/Gallery_Create_WithSharingProfile.json */ /** * Sample code: Create or update a simple gallery with sharing profile. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Create_WithSharingProfile.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Create_WithSharingProfile.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Create_WithSharingProfile.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Create_WithSharingProfile.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Delete.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Delete.java index a1644bae51..ad9ce98899 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Delete.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Delete.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for Galleries Delete. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/Gallery_Delete.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/Gallery_Delete.json */ /** * Sample code: Delete a gallery. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Delete.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Delete.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_EnableCommunityGallery.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_EnableCommunityGallery.java index c463d11629..ed29ab1382 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_EnableCommunityGallery.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_EnableCommunityGallery.java @@ -5,7 +5,7 @@ import com.azure.resourcemanager.compute.models.SharingUpdateOperationTypes; /** Samples for GallerySharingProfile Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/Gallery_EnableCommunityGallery.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/Gallery_EnableCommunityGallery.json */ /** * Sample code: share a gallery to community. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_EnableCommunityGallery.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_EnableCommunityGallery.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_EnableCommunityGallery.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_EnableCommunityGallery.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Get.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Get.java index 8dbc753039..b4c60e44a1 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for Galleries GetByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/Gallery_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/Gallery_Get.json */ /** * Sample code: Get a gallery. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Get.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Get_WithExpandSharingProfileGroups.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Get_WithExpandSharingProfileGroups.java index 9712b8361b..b1f1d7178e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Get_WithExpandSharingProfileGroups.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Get_WithExpandSharingProfileGroups.java @@ -4,7 +4,7 @@ import com.azure.resourcemanager.compute.models.GalleryExpandParams; /** Samples for Galleries GetByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/Gallery_Get_WithExpandSharingProfileGroups.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/Gallery_Get_WithExpandSharingProfileGroups.json */ /** * Sample code: Get a gallery with expand sharingProfile groups. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Get_WithExpandSharingProfileGroups.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Get_WithExpandSharingProfileGroups.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Get_WithExpandSharingProfileGroups.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Get_WithExpandSharingProfileGroups.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Get_WithSelectPermissions.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Get_WithSelectPermissions.java index 68cc60ac7d..130f7f1e9e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Get_WithSelectPermissions.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Get_WithSelectPermissions.java @@ -4,7 +4,7 @@ import com.azure.resourcemanager.compute.models.SelectPermissions; /** Samples for Galleries GetByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/Gallery_Get_WithSelectPermissions.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/Gallery_Get_WithSelectPermissions.json */ /** * Sample code: Get a gallery with select permissions. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Get_WithSelectPermissions.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Get_WithSelectPermissions.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Get_WithSelectPermissions.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Get_WithSelectPermissions.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_ListByResourceGroup.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_ListByResourceGroup.java index fefd69fb16..e8641b1bd4 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_ListByResourceGroup.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_ListByResourceGroup.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for Galleries ListByResourceGroup. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/Gallery_ListByResourceGroup.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/Gallery_ListByResourceGroup.json */ /** * Sample code: List galleries in a resource group. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_ListByResourceGroup.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_ListByResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_ListByResourceGroup.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_ListByResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_ListBySubscription.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_ListBySubscription.java index 3a7ab0a533..8645037884 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_ListBySubscription.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_ListBySubscription.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for Galleries List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/Gallery_ListBySubscription.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/Gallery_ListBySubscription.json */ /** * Sample code: List galleries in a subscription. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_ListBySubscription.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_ListBySubscription.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_ListBySubscription.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_ListBySubscription.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_ResetSharingProfile.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_ResetSharingProfile.java index 106e74070b..35015afefe 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_ResetSharingProfile.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_ResetSharingProfile.java @@ -5,7 +5,7 @@ import com.azure.resourcemanager.compute.models.SharingUpdateOperationTypes; /** Samples for GallerySharingProfile Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/Gallery_ResetSharingProfile.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/Gallery_ResetSharingProfile.json */ /** * Sample code: reset sharing profile of a gallery. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_ResetSharingProfile.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_ResetSharingProfile.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_ResetSharingProfile.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_ResetSharingProfile.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Update.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Update.java index 221c25c6c6..b0fb776560 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Update.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Update.java @@ -4,7 +4,7 @@ import com.azure.resourcemanager.compute.models.GalleryUpdate; /** Samples for Galleries Update. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/galleryExamples/Gallery_Update.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/galleryExamples/Gallery_Update.json */ /** * Sample code: Update a simple gallery. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Update.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Update.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Update.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/galleryExamples/Gallery_Update.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGalleryImageVersion_Get.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGalleryImageVersion_Get.java index 086f42bb4f..e4aff9a491 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGalleryImageVersion_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGalleryImageVersion_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for SharedGalleryImageVersions Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/sharedGalleryExamples/SharedGalleryImageVersion_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/sharedGalleryExamples/SharedGalleryImageVersion_Get.json */ /** * Sample code: Get a shared gallery image version. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGalleryImageVersion_Get.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGalleryImageVersion_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGalleryImageVersion_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGalleryImageVersion_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGalleryImageVersions_List.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGalleryImageVersions_List.java index 73ed9102cd..de0b53d7bf 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGalleryImageVersions_List.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGalleryImageVersions_List.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for SharedGalleryImageVersions List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/sharedGalleryExamples/SharedGalleryImageVersions_List.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/sharedGalleryExamples/SharedGalleryImageVersions_List.json */ /** * Sample code: List shared gallery image versions. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGalleryImageVersions_List.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGalleryImageVersions_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGalleryImageVersions_List.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGalleryImageVersions_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGalleryImage_Get.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGalleryImage_Get.java index c9d34c1b35..4ed0010275 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGalleryImage_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGalleryImage_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for SharedGalleryImages Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/sharedGalleryExamples/SharedGalleryImage_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/sharedGalleryExamples/SharedGalleryImage_Get.json */ /** * Sample code: Get a shared gallery image. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGalleryImage_Get.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGalleryImage_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGalleryImage_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGalleryImage_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGalleryImages_List.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGalleryImages_List.java index 618f08dca1..81d02395d1 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGalleryImages_List.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGalleryImages_List.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for SharedGalleryImages List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/sharedGalleryExamples/SharedGalleryImages_List.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/sharedGalleryExamples/SharedGalleryImages_List.json */ /** * Sample code: List shared gallery images. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGalleryImages_List.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGalleryImages_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGalleryImages_List.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGalleryImages_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGallery_Get.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGallery_Get.java index 1ecbcffe14..a06c46a37a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGallery_Get.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGallery_Get.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for SharedGalleries Get. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/sharedGalleryExamples/SharedGallery_Get.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/sharedGalleryExamples/SharedGallery_Get.json */ /** * Sample code: Get a shared gallery. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGallery_Get.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGallery_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGallery_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGallery_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGallery_List.java b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGallery_List.java index 27141295cf..275437b82a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGallery_List.java +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGallery_List.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for SharedGalleries List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/sharedGalleryExamples/SharedGallery_List.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples/sharedGalleryExamples/SharedGallery_List.json */ /** * Sample code: List shared galleries. diff --git a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGallery_List.json b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGallery_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGallery_List.json +++ b/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-01-03/examples-java/sharedGalleryExamples/SharedGallery_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/Skus/stable/2021-07-01/examples-java/skus/ListAvailableResourceSkus.java b/specification/compute/resource-manager/Microsoft.Compute/Skus/stable/2021-07-01/examples-java/skus/ListAvailableResourceSkus.java index 2669e3cf9a..7ec0d0cbc9 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/Skus/stable/2021-07-01/examples-java/skus/ListAvailableResourceSkus.java +++ b/specification/compute/resource-manager/Microsoft.Compute/Skus/stable/2021-07-01/examples-java/skus/ListAvailableResourceSkus.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for ResourceSkus List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-07-01/examples/skus/ListAvailableResourceSkus.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/Skus/stable/2021-07-01/examples/skus/ListAvailableResourceSkus.json */ /** * Sample code: Lists all available Resource SKUs. diff --git a/specification/compute/resource-manager/Microsoft.Compute/Skus/stable/2021-07-01/examples-java/skus/ListAvailableResourceSkus.json b/specification/compute/resource-manager/Microsoft.Compute/Skus/stable/2021-07-01/examples-java/skus/ListAvailableResourceSkus.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/Skus/stable/2021-07-01/examples-java/skus/ListAvailableResourceSkus.json +++ b/specification/compute/resource-manager/Microsoft.Compute/Skus/stable/2021-07-01/examples-java/skus/ListAvailableResourceSkus.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/Skus/stable/2021-07-01/examples-java/skus/ListAvailableResourceSkusForARegion.java b/specification/compute/resource-manager/Microsoft.Compute/Skus/stable/2021-07-01/examples-java/skus/ListAvailableResourceSkusForARegion.java index eac00ebced..2a32dacfb5 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/Skus/stable/2021-07-01/examples-java/skus/ListAvailableResourceSkusForARegion.java +++ b/specification/compute/resource-manager/Microsoft.Compute/Skus/stable/2021-07-01/examples-java/skus/ListAvailableResourceSkusForARegion.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for ResourceSkus List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-07-01/examples/skus/ListAvailableResourceSkusForARegion.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/Skus/stable/2021-07-01/examples/skus/ListAvailableResourceSkusForARegion.json */ /** * Sample code: Lists all available Resource SKUs for the specified region. diff --git a/specification/compute/resource-manager/Microsoft.Compute/Skus/stable/2021-07-01/examples-java/skus/ListAvailableResourceSkusForARegion.json b/specification/compute/resource-manager/Microsoft.Compute/Skus/stable/2021-07-01/examples-java/skus/ListAvailableResourceSkusForARegion.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/Skus/stable/2021-07-01/examples-java/skus/ListAvailableResourceSkusForARegion.json +++ b/specification/compute/resource-manager/Microsoft.Compute/Skus/stable/2021-07-01/examples-java/skus/ListAvailableResourceSkusForARegion.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/compute/resource-manager/Microsoft.Compute/Skus/stable/2021-07-01/examples-java/skus/ListAvailableResourceSkusWithExtendedLocations.java b/specification/compute/resource-manager/Microsoft.Compute/Skus/stable/2021-07-01/examples-java/skus/ListAvailableResourceSkusWithExtendedLocations.java index ca327dfeb6..e4955a697b 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/Skus/stable/2021-07-01/examples-java/skus/ListAvailableResourceSkusWithExtendedLocations.java +++ b/specification/compute/resource-manager/Microsoft.Compute/Skus/stable/2021-07-01/examples-java/skus/ListAvailableResourceSkusWithExtendedLocations.java @@ -3,7 +3,7 @@ import com.azure.core.util.Context; /** Samples for ResourceSkus List. */ public final class Main { /* - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-07-01/examples/skus/ListAvailableResourceSkusWithExtendedLocations.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/Skus/stable/2021-07-01/examples/skus/ListAvailableResourceSkusWithExtendedLocations.json */ /** * Sample code: Lists all available Resource SKUs with Extended Location information. diff --git a/specification/compute/resource-manager/Microsoft.Compute/Skus/stable/2021-07-01/examples-java/skus/ListAvailableResourceSkusWithExtendedLocations.json b/specification/compute/resource-manager/Microsoft.Compute/Skus/stable/2021-07-01/examples-java/skus/ListAvailableResourceSkusWithExtendedLocations.json index 04d1f96f67..1c2f329976 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/Skus/stable/2021-07-01/examples-java/skus/ListAvailableResourceSkusWithExtendedLocations.json +++ b/specification/compute/resource-manager/Microsoft.Compute/Skus/stable/2021-07-01/examples-java/skus/ListAvailableResourceSkusWithExtendedLocations.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/CachedImagesList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/CachedImagesList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/CachedImagesList.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/CachedImagesList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/CapabilitiesList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/CapabilitiesList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/CapabilitiesList.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/CapabilitiesList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerAttach.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerAttach.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerAttach.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerAttach.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerExec.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerExec.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerExec.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerExec.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupUsage.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupUsage.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupUsage.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupUsage.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsCreateOrUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsCreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsCreateOrUpdate.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsCreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsDelete.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsDelete.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsGet_Failed.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsGet_Failed.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsGet_Failed.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsGet_Failed.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsGet_Succeeded.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsGet_Succeeded.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsGet_Succeeded.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsGet_Succeeded.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsList.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsListByResourceGroup.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsListByResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsListByResourceGroup.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsListByResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsRestart.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsRestart.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsRestart.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsRestart.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsStart.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsStart.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsStart.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsStart.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsStop.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsStop.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsStop.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsStop.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsUpdate.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerGroupsUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerListLogs.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerListLogs.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerListLogs.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/ContainerListLogs.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/OperationsList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/OperationsList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/OperationsList.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/examples-java/OperationsList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/AgentPoolsCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/AgentPoolsCreate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/AgentPoolsCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/AgentPoolsCreate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/AgentPoolsDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/AgentPoolsDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/AgentPoolsDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/AgentPoolsDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/AgentPoolsGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/AgentPoolsGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/AgentPoolsGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/AgentPoolsGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/AgentPoolsGetQueueStatus.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/AgentPoolsGetQueueStatus.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/AgentPoolsGetQueueStatus.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/AgentPoolsGetQueueStatus.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/AgentPoolsList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/AgentPoolsList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/AgentPoolsList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/AgentPoolsList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/AgentPoolsUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/AgentPoolsUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/AgentPoolsUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/AgentPoolsUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/ManagedIdentity/TasksCreate_WithSystemIdentity.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/ManagedIdentity/TasksCreate_WithSystemIdentity.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/ManagedIdentity/TasksCreate_WithSystemIdentity.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/ManagedIdentity/TasksCreate_WithSystemIdentity.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/ManagedIdentity/TasksCreate_WithUserIdentities.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/ManagedIdentity/TasksCreate_WithUserIdentities.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/ManagedIdentity/TasksCreate_WithUserIdentities.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/ManagedIdentity/TasksCreate_WithUserIdentities.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RegistriesGetBuildSourceUploadUrl.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RegistriesGetBuildSourceUploadUrl.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RegistriesGetBuildSourceUploadUrl.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RegistriesGetBuildSourceUploadUrl.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RegistriesScheduleRun.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RegistriesScheduleRun.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RegistriesScheduleRun.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RegistriesScheduleRun.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RegistriesScheduleRun_EncodedTaskRun.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RegistriesScheduleRun_EncodedTaskRun.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RegistriesScheduleRun_EncodedTaskRun.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RegistriesScheduleRun_EncodedTaskRun.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RegistriesScheduleRun_FileTaskRun.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RegistriesScheduleRun_FileTaskRun.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RegistriesScheduleRun_FileTaskRun.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RegistriesScheduleRun_FileTaskRun.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RegistriesScheduleRun_FileTask_WithCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RegistriesScheduleRun_FileTask_WithCustomCredentials.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RegistriesScheduleRun_FileTask_WithCustomCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RegistriesScheduleRun_FileTask_WithCustomCredentials.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RegistriesScheduleRun_Task.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RegistriesScheduleRun_Task.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RegistriesScheduleRun_Task.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RegistriesScheduleRun_Task.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RegistriesScheduleRun_WithCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RegistriesScheduleRun_WithCustomCredentials.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RegistriesScheduleRun_WithCustomCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RegistriesScheduleRun_WithCustomCredentials.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RegistriesScheduleRun_WithLogTemplate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RegistriesScheduleRun_WithLogTemplate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RegistriesScheduleRun_WithLogTemplate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RegistriesScheduleRun_WithLogTemplate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RunsCancel.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RunsCancel.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RunsCancel.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RunsCancel.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RunsGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RunsGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RunsGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RunsGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RunsGetLogSasUrl.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RunsGetLogSasUrl.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RunsGetLogSasUrl.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RunsGetLogSasUrl.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RunsList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RunsList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RunsList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RunsList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RunsUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RunsUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RunsUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/RunsUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TaskRunsCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TaskRunsCreate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TaskRunsCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TaskRunsCreate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TaskRunsDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TaskRunsDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TaskRunsDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TaskRunsDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TaskRunsGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TaskRunsGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TaskRunsGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TaskRunsGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TaskRunsGetDetails.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TaskRunsGetDetails.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TaskRunsGetDetails.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TaskRunsGetDetails.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TaskRunsList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TaskRunsList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TaskRunsList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TaskRunsList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TaskRunsUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TaskRunsUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TaskRunsUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TaskRunsUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksCreate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksCreate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksCreate_QuickTask.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksCreate_QuickTask.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksCreate_QuickTask.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksCreate_QuickTask.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksGetDetails.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksGetDetails.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksGetDetails.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksGetDetails.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksUpdate_QuickTask.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksUpdate_QuickTask.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksUpdate_QuickTask.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksUpdate_QuickTask.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksUpdate_WithOpaqueCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksUpdate_WithOpaqueCustomCredentials.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksUpdate_WithOpaqueCustomCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples-java/TasksUpdate_WithOpaqueCustomCredentials.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ImportImageByManifestDigest.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ImportImageByManifestDigest.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ImportImageByManifestDigest.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ImportImageByManifestDigest.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ImportImageByTag.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ImportImageByTag.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ImportImageByTag.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ImportImageByTag.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ImportImageFromPublicRegistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ImportImageFromPublicRegistry.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ImportImageFromPublicRegistry.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ImportImageFromPublicRegistry.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/OperationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/OperationList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/OperationList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/OperationList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/PrivateEndpointConnectionCreateOrUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/PrivateEndpointConnectionCreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/PrivateEndpointConnectionCreateOrUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/PrivateEndpointConnectionCreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/PrivateEndpointConnectionDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/PrivateEndpointConnectionDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/PrivateEndpointConnectionDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/PrivateEndpointConnectionDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/PrivateEndpointConnectionGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/PrivateEndpointConnectionGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/PrivateEndpointConnectionGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/PrivateEndpointConnectionGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/PrivateEndpointConnectionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/PrivateEndpointConnectionList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/PrivateEndpointConnectionList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/PrivateEndpointConnectionList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryCheckNameAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryCheckNameAvailable.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryCheckNameAvailable.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryCheckNameAvailable.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryCheckNameNotAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryCheckNameNotAvailable.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryCheckNameNotAvailable.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryCheckNameNotAvailable.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryCreate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryCreate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryCreateZoneRedundant.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryCreateZoneRedundant.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryCreateZoneRedundant.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryCreateZoneRedundant.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryGetPrivateLinkResource.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryGetPrivateLinkResource.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryGetPrivateLinkResource.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryGetPrivateLinkResource.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryListByResourceGroup.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryListByResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryListByResourceGroup.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryListByResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryListCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryListCredentials.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryListCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryListCredentials.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryListPrivateLinkResources.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryListPrivateLinkResources.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryListPrivateLinkResources.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryListPrivateLinkResources.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryListUsages.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryListUsages.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryListUsages.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryListUsages.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryRegenerateCredential.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryRegenerateCredential.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryRegenerateCredential.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryRegenerateCredential.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/RegistryUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ReplicationCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ReplicationCreate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ReplicationCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ReplicationCreate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ReplicationCreateZoneRedundant.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ReplicationCreateZoneRedundant.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ReplicationCreateZoneRedundant.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ReplicationCreateZoneRedundant.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ReplicationDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ReplicationDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ReplicationDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ReplicationDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ReplicationGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ReplicationGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ReplicationGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ReplicationGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ReplicationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ReplicationList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ReplicationList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ReplicationList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ReplicationUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ReplicationUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ReplicationUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/ReplicationUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/WebhookCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/WebhookCreate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/WebhookCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/WebhookCreate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/WebhookDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/WebhookDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/WebhookDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/WebhookDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/WebhookGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/WebhookGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/WebhookGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/WebhookGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/WebhookGetCallbackConfig.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/WebhookGetCallbackConfig.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/WebhookGetCallbackConfig.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/WebhookGetCallbackConfig.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/WebhookList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/WebhookList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/WebhookList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/WebhookList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/WebhookListEvents.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/WebhookListEvents.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/WebhookListEvents.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/WebhookListEvents.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/WebhookPing.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/WebhookPing.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/WebhookPing.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/WebhookPing.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/WebhookUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/WebhookUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/WebhookUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2021-09-01/examples-java/WebhookUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-30/examples-java/OpenShiftManagedClustersCreate_Update.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-30/examples-java/OpenShiftManagedClustersCreate_Update.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-30/examples-java/OpenShiftManagedClustersCreate_Update.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-30/examples-java/OpenShiftManagedClustersCreate_Update.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-30/examples-java/OpenShiftManagedClustersDelete.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-30/examples-java/OpenShiftManagedClustersDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-30/examples-java/OpenShiftManagedClustersDelete.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-30/examples-java/OpenShiftManagedClustersDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-30/examples-java/OpenShiftManagedClustersGet.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-30/examples-java/OpenShiftManagedClustersGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-30/examples-java/OpenShiftManagedClustersGet.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-30/examples-java/OpenShiftManagedClustersGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-30/examples-java/OpenShiftManagedClustersList.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-30/examples-java/OpenShiftManagedClustersList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-30/examples-java/OpenShiftManagedClustersList.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-30/examples-java/OpenShiftManagedClustersList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-30/examples-java/OpenShiftManagedClustersListByResourceGroup.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-30/examples-java/OpenShiftManagedClustersListByResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-30/examples-java/OpenShiftManagedClustersListByResourceGroup.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-30/examples-java/OpenShiftManagedClustersListByResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-30/examples-java/OpenShiftManagedClustersUpdateTags.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-30/examples-java/OpenShiftManagedClustersUpdateTags.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-30/examples-java/OpenShiftManagedClustersUpdateTags.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-04-30/examples-java/OpenShiftManagedClustersUpdateTags.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-08-01/examples-java/ContainerServiceListOrchestrators.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-08-01/examples-java/ContainerServiceListOrchestrators.json index 04d1f96f67..1c2f329976 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-08-01/examples-java/ContainerServiceListOrchestrators.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-08-01/examples-java/ContainerServiceListOrchestrators.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_CustomNodeConfig.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_CustomNodeConfig.java new file mode 100644 index 0000000000..089f46f2cc --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_CustomNodeConfig.java @@ -0,0 +1,71 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.AgentPoolInner; +import com.azure.resourcemanager.containerservice.models.KubeletConfig; +import com.azure.resourcemanager.containerservice.models.LinuxOSConfig; +import com.azure.resourcemanager.containerservice.models.OSType; +import com.azure.resourcemanager.containerservice.models.SysctlConfig; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for AgentPools CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/AgentPoolsCreate_CustomNodeConfig.json + */ + /** + * Sample code: Create Agent Pool with KubeletConfig and LinuxOSConfig. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createAgentPoolWithKubeletConfigAndLinuxOSConfig( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getAgentPools() + .createOrUpdate( + "rg1", + "clustername1", + "agentpool1", + new AgentPoolInner() + .withCount(3) + .withVmSize("Standard_DS2_v2") + .withOsType(OSType.LINUX) + .withOrchestratorVersion("") + .withKubeletConfig( + new KubeletConfig() + .withCpuManagerPolicy("static") + .withCpuCfsQuota(true) + .withCpuCfsQuotaPeriod("200ms") + .withImageGcHighThreshold(90) + .withImageGcLowThreshold(70) + .withTopologyManagerPolicy("best-effort") + .withAllowedUnsafeSysctls(Arrays.asList("kernel.msg*", "net.core.somaxconn")) + .withFailSwapOn(false)) + .withLinuxOSConfig( + new LinuxOSConfig() + .withSysctls( + new SysctlConfig() + .withNetCoreWmemDefault(12345) + .withNetIpv4TcpTwReuse(true) + .withNetIpv4IpLocalPortRange("20000 60000") + .withKernelThreadsMax(99999)) + .withTransparentHugePageEnabled("always") + .withTransparentHugePageDefrag("madvise") + .withSwapFileSizeMB(1500)), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_CustomNodeConfig.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_CustomNodeConfig.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_CustomNodeConfig.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_DedicatedHostGroup.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_DedicatedHostGroup.java new file mode 100644 index 0000000000..f61b41ee86 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_DedicatedHostGroup.java @@ -0,0 +1,47 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.AgentPoolInner; +import com.azure.resourcemanager.containerservice.models.OSType; +import java.util.HashMap; +import java.util.Map; + +/** Samples for AgentPools CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/AgentPoolsCreate_DedicatedHostGroup.json + */ + /** + * Sample code: Create Agent Pool with Dedicated Host Group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createAgentPoolWithDedicatedHostGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getAgentPools() + .createOrUpdate( + "rg1", + "clustername1", + "agentpool1", + new AgentPoolInner() + .withCount(3) + .withVmSize("Standard_DS2_v2") + .withOsType(OSType.LINUX) + .withOrchestratorVersion("") + .withHostGroupId( + "/subscriptions/subid1/resourcegroups/rg/providers/Microsoft.Compute/hostGroups/hostgroup1"), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_DedicatedHostGroup.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_DedicatedHostGroup.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_DedicatedHostGroup.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_EnableEncryptionAtHost.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_EnableEncryptionAtHost.java new file mode 100644 index 0000000000..54ffec6e9a --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_EnableEncryptionAtHost.java @@ -0,0 +1,47 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.AgentPoolInner; +import com.azure.resourcemanager.containerservice.models.OSType; +import java.util.HashMap; +import java.util.Map; + +/** Samples for AgentPools CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/AgentPoolsCreate_EnableEncryptionAtHost.json + */ + /** + * Sample code: Create Agent Pool with EncryptionAtHost enabled. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createAgentPoolWithEncryptionAtHostEnabled( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getAgentPools() + .createOrUpdate( + "rg1", + "clustername1", + "agentpool1", + new AgentPoolInner() + .withCount(3) + .withVmSize("Standard_DS2_v2") + .withOsType(OSType.LINUX) + .withOrchestratorVersion("") + .withEnableEncryptionAtHost(true), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_EnableEncryptionAtHost.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_EnableEncryptionAtHost.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_EnableEncryptionAtHost.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_EnableFIPS.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_EnableFIPS.java new file mode 100644 index 0000000000..11edf0abb7 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_EnableFIPS.java @@ -0,0 +1,46 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.AgentPoolInner; +import com.azure.resourcemanager.containerservice.models.OSType; +import java.util.HashMap; +import java.util.Map; + +/** Samples for AgentPools CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/AgentPoolsCreate_EnableFIPS.json + */ + /** + * Sample code: Create Agent Pool with FIPS enabled OS. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createAgentPoolWithFIPSEnabledOS(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getAgentPools() + .createOrUpdate( + "rg1", + "clustername1", + "agentpool1", + new AgentPoolInner() + .withCount(3) + .withVmSize("Standard_DS2_v2") + .withOsType(OSType.LINUX) + .withOrchestratorVersion("") + .withEnableFips(true), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_EnableFIPS.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_EnableFIPS.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_EnableFIPS.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_EnableUltraSSD.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_EnableUltraSSD.java new file mode 100644 index 0000000000..2c7adc92a7 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_EnableUltraSSD.java @@ -0,0 +1,46 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.AgentPoolInner; +import com.azure.resourcemanager.containerservice.models.OSType; +import java.util.HashMap; +import java.util.Map; + +/** Samples for AgentPools CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/AgentPoolsCreate_EnableUltraSSD.json + */ + /** + * Sample code: Create Agent Pool with UltraSSD enabled. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createAgentPoolWithUltraSSDEnabled(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getAgentPools() + .createOrUpdate( + "rg1", + "clustername1", + "agentpool1", + new AgentPoolInner() + .withCount(3) + .withVmSize("Standard_DS2_v2") + .withOsType(OSType.LINUX) + .withOrchestratorVersion("") + .withEnableUltraSsd(true), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_EnableUltraSSD.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_EnableUltraSSD.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_EnableUltraSSD.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_Ephemeral.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_Ephemeral.java new file mode 100644 index 0000000000..35ac6a7459 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_Ephemeral.java @@ -0,0 +1,48 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.AgentPoolInner; +import com.azure.resourcemanager.containerservice.models.OSDiskType; +import com.azure.resourcemanager.containerservice.models.OSType; +import java.util.HashMap; +import java.util.Map; + +/** Samples for AgentPools CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/AgentPoolsCreate_Ephemeral.json + */ + /** + * Sample code: Create Agent Pool with Ephemeral OS Disk. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createAgentPoolWithEphemeralOSDisk(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getAgentPools() + .createOrUpdate( + "rg1", + "clustername1", + "agentpool1", + new AgentPoolInner() + .withCount(3) + .withVmSize("Standard_DS2_v2") + .withOsDiskSizeGB(64) + .withOsDiskType(OSDiskType.EPHEMERAL) + .withOsType(OSType.LINUX) + .withOrchestratorVersion(""), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_Ephemeral.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_Ephemeral.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_Ephemeral.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_GPUMIG.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_GPUMIG.java new file mode 100644 index 0000000000..3b27182af9 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_GPUMIG.java @@ -0,0 +1,72 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.AgentPoolInner; +import com.azure.resourcemanager.containerservice.models.GpuInstanceProfile; +import com.azure.resourcemanager.containerservice.models.KubeletConfig; +import com.azure.resourcemanager.containerservice.models.LinuxOSConfig; +import com.azure.resourcemanager.containerservice.models.OSType; +import com.azure.resourcemanager.containerservice.models.SysctlConfig; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for AgentPools CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/AgentPoolsCreate_GPUMIG.json + */ + /** + * Sample code: Create Agent Pool with GPUMIG. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createAgentPoolWithGPUMIG(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getAgentPools() + .createOrUpdate( + "rg1", + "clustername1", + "agentpool1", + new AgentPoolInner() + .withCount(3) + .withVmSize("Standard_ND96asr_v4") + .withOsType(OSType.LINUX) + .withOrchestratorVersion("") + .withKubeletConfig( + new KubeletConfig() + .withCpuManagerPolicy("static") + .withCpuCfsQuota(true) + .withCpuCfsQuotaPeriod("200ms") + .withImageGcHighThreshold(90) + .withImageGcLowThreshold(70) + .withTopologyManagerPolicy("best-effort") + .withAllowedUnsafeSysctls(Arrays.asList("kernel.msg*", "net.core.somaxconn")) + .withFailSwapOn(false)) + .withLinuxOSConfig( + new LinuxOSConfig() + .withSysctls( + new SysctlConfig() + .withNetCoreWmemDefault(12345) + .withNetIpv4TcpTwReuse(true) + .withNetIpv4IpLocalPortRange("20000 60000") + .withKernelThreadsMax(99999)) + .withTransparentHugePageEnabled("always") + .withTransparentHugePageDefrag("madvise") + .withSwapFileSizeMB(1500)) + .withGpuInstanceProfile(GpuInstanceProfile.MIG2G), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_GPUMIG.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_GPUMIG.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_GPUMIG.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_OSSKU.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_OSSKU.java new file mode 100644 index 0000000000..a7d14d117d --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_OSSKU.java @@ -0,0 +1,72 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.AgentPoolInner; +import com.azure.resourcemanager.containerservice.models.KubeletConfig; +import com.azure.resourcemanager.containerservice.models.LinuxOSConfig; +import com.azure.resourcemanager.containerservice.models.OSSku; +import com.azure.resourcemanager.containerservice.models.OSType; +import com.azure.resourcemanager.containerservice.models.SysctlConfig; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for AgentPools CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/AgentPoolsCreate_OSSKU.json + */ + /** + * Sample code: Create Agent Pool with OSSKU. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createAgentPoolWithOSSKU(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getAgentPools() + .createOrUpdate( + "rg1", + "clustername1", + "agentpool1", + new AgentPoolInner() + .withCount(3) + .withVmSize("Standard_DS2_v2") + .withOsType(OSType.LINUX) + .withOsSku(OSSku.CBLMARINER) + .withOrchestratorVersion("") + .withKubeletConfig( + new KubeletConfig() + .withCpuManagerPolicy("static") + .withCpuCfsQuota(true) + .withCpuCfsQuotaPeriod("200ms") + .withImageGcHighThreshold(90) + .withImageGcLowThreshold(70) + .withTopologyManagerPolicy("best-effort") + .withAllowedUnsafeSysctls(Arrays.asList("kernel.msg*", "net.core.somaxconn")) + .withFailSwapOn(false)) + .withLinuxOSConfig( + new LinuxOSConfig() + .withSysctls( + new SysctlConfig() + .withNetCoreWmemDefault(12345) + .withNetIpv4TcpTwReuse(true) + .withNetIpv4IpLocalPortRange("20000 60000") + .withKernelThreadsMax(99999)) + .withTransparentHugePageEnabled("always") + .withTransparentHugePageDefrag("madvise") + .withSwapFileSizeMB(1500)), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_OSSKU.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_OSSKU.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_OSSKU.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_PPG.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_PPG.java new file mode 100644 index 0000000000..cde58dd87d --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_PPG.java @@ -0,0 +1,47 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.AgentPoolInner; +import com.azure.resourcemanager.containerservice.models.OSType; +import java.util.HashMap; +import java.util.Map; + +/** Samples for AgentPools CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/AgentPoolsCreate_PPG.json + */ + /** + * Sample code: Create Agent Pool with PPG. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createAgentPoolWithPPG(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getAgentPools() + .createOrUpdate( + "rg1", + "clustername1", + "agentpool1", + new AgentPoolInner() + .withCount(3) + .withVmSize("Standard_DS2_v2") + .withOsType(OSType.LINUX) + .withOrchestratorVersion("") + .withProximityPlacementGroupId( + "/subscriptions/subid1/resourcegroups/rg1/providers//Microsoft.Compute/proximityPlacementGroups/ppg1"), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_PPG.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_PPG.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_PPG.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_Snapshot.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_Snapshot.java new file mode 100644 index 0000000000..5064fc7039 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_Snapshot.java @@ -0,0 +1,51 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.AgentPoolInner; +import com.azure.resourcemanager.containerservice.models.CreationData; +import com.azure.resourcemanager.containerservice.models.OSType; +import java.util.HashMap; +import java.util.Map; + +/** Samples for AgentPools CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/AgentPoolsCreate_Snapshot.json + */ + /** + * Sample code: Create Agent Pool using an agent pool snapshot. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createAgentPoolUsingAnAgentPoolSnapshot(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getAgentPools() + .createOrUpdate( + "rg1", + "clustername1", + "agentpool1", + new AgentPoolInner() + .withCount(3) + .withVmSize("Standard_DS2_v2") + .withOsType(OSType.LINUX) + .withOrchestratorVersion("") + .withEnableFips(true) + .withCreationData( + new CreationData() + .withSourceResourceId( + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.ContainerService/snapshots/snapshot1")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_Snapshot.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_Snapshot.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_Snapshot.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_Spot.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_Spot.java new file mode 100644 index 0000000000..3580855112 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_Spot.java @@ -0,0 +1,53 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.AgentPoolInner; +import com.azure.resourcemanager.containerservice.models.OSType; +import com.azure.resourcemanager.containerservice.models.ScaleSetEvictionPolicy; +import com.azure.resourcemanager.containerservice.models.ScaleSetPriority; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for AgentPools CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/AgentPoolsCreate_Spot.json + */ + /** + * Sample code: Create Spot Agent Pool. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createSpotAgentPool(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getAgentPools() + .createOrUpdate( + "rg1", + "clustername1", + "agentpool1", + new AgentPoolInner() + .withCount(3) + .withVmSize("Standard_DS1_v2") + .withOsType(OSType.LINUX) + .withOrchestratorVersion("") + .withScaleSetPriority(ScaleSetPriority.SPOT) + .withScaleSetEvictionPolicy(ScaleSetEvictionPolicy.DELETE) + .withTags(mapOf("name1", "val1")) + .withNodeLabels(mapOf("key1", "val1")) + .withNodeTaints(Arrays.asList("Key1=Value1:NoSchedule")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_Spot.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_Spot.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_Spot.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_Update.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_Update.java new file mode 100644 index 0000000000..a67d6b4167 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_Update.java @@ -0,0 +1,55 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.AgentPoolInner; +import com.azure.resourcemanager.containerservice.models.AgentPoolMode; +import com.azure.resourcemanager.containerservice.models.OSType; +import com.azure.resourcemanager.containerservice.models.ScaleSetEvictionPolicy; +import com.azure.resourcemanager.containerservice.models.ScaleSetPriority; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for AgentPools CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/AgentPoolsCreate_Update.json + */ + /** + * Sample code: Create/Update Agent Pool. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createUpdateAgentPool(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getAgentPools() + .createOrUpdate( + "rg1", + "clustername1", + "agentpool1", + new AgentPoolInner() + .withCount(3) + .withVmSize("Standard_DS1_v2") + .withOsType(OSType.LINUX) + .withMode(AgentPoolMode.USER) + .withOrchestratorVersion("") + .withScaleSetPriority(ScaleSetPriority.SPOT) + .withScaleSetEvictionPolicy(ScaleSetEvictionPolicy.DELETE) + .withTags(mapOf("name1", "val1")) + .withNodeLabels(mapOf("key1", "val1")) + .withNodeTaints(Arrays.asList("Key1=Value1:NoSchedule")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_Update.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_Update.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_Update.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_WasmWasi.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_WasmWasi.java new file mode 100644 index 0000000000..3123947f20 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_WasmWasi.java @@ -0,0 +1,51 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.AgentPoolInner; +import com.azure.resourcemanager.containerservice.models.AgentPoolMode; +import com.azure.resourcemanager.containerservice.models.OSType; +import com.azure.resourcemanager.containerservice.models.WorkloadRuntime; +import java.util.HashMap; +import java.util.Map; + +/** Samples for AgentPools CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/AgentPoolsCreate_WasmWasi.json + */ + /** + * Sample code: Create Agent Pool with Krustlet and the WASI runtime. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createAgentPoolWithKrustletAndTheWASIRuntime( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getAgentPools() + .createOrUpdate( + "rg1", + "clustername1", + "agentpool1", + new AgentPoolInner() + .withCount(3) + .withVmSize("Standard_DS2_v2") + .withOsDiskSizeGB(64) + .withWorkloadRuntime(WorkloadRuntime.WASM_WASI) + .withOsType(OSType.LINUX) + .withMode(AgentPoolMode.USER) + .withOrchestratorVersion(""), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_WasmWasi.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_WasmWasi.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_WasmWasi.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_WindowsOSSKU.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_WindowsOSSKU.java new file mode 100644 index 0000000000..6a67c8ce6f --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_WindowsOSSKU.java @@ -0,0 +1,47 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.AgentPoolInner; +import com.azure.resourcemanager.containerservice.models.OSSku; +import com.azure.resourcemanager.containerservice.models.OSType; +import java.util.HashMap; +import java.util.Map; + +/** Samples for AgentPools CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/AgentPoolsCreate_WindowsOSSKU.json + */ + /** + * Sample code: Create Agent Pool with Windows OSSKU. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createAgentPoolWithWindowsOSSKU(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getAgentPools() + .createOrUpdate( + "rg1", + "clustername1", + "wnp2", + new AgentPoolInner() + .withCount(3) + .withVmSize("Standard_D4s_v3") + .withOsType(OSType.WINDOWS) + .withOsSku(OSSku.WINDOWS2022) + .withOrchestratorVersion("1.23.3"), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_WindowsOSSKU.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_WindowsOSSKU.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsCreate_WindowsOSSKU.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsDelete.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsDelete.java new file mode 100644 index 0000000000..836b580927 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for AgentPools Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/AgentPoolsDelete.json + */ + /** + * Sample code: Delete Agent Pool. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteAgentPool(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getAgentPools() + .delete("rg1", "clustername1", "agentpool1", Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsDelete.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsGet.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsGet.java new file mode 100644 index 0000000000..cbf115bb9d --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for AgentPools Get. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/AgentPoolsGet.json + */ + /** + * Sample code: Get Agent Pool. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getAgentPool(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getAgentPools() + .getWithResponse("rg1", "clustername1", "agentpool1", Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsGet.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsGetAgentPoolAvailableVersions.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsGetAgentPoolAvailableVersions.java new file mode 100644 index 0000000000..9ca269fd1f --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsGetAgentPoolAvailableVersions.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for AgentPools GetAvailableAgentPoolVersions. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json + */ + /** + * Sample code: Get available versions for agent pool. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getAvailableVersionsForAgentPool(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getAgentPools() + .getAvailableAgentPoolVersionsWithResponse("rg1", "clustername1", Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsGetAgentPoolAvailableVersions.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsGetAgentPoolAvailableVersions.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsGetAgentPoolAvailableVersions.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsGetUpgradeProfile.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsGetUpgradeProfile.java new file mode 100644 index 0000000000..9aef2cf0e5 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsGetUpgradeProfile.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for AgentPools GetUpgradeProfile. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/AgentPoolsGetUpgradeProfile.json + */ + /** + * Sample code: Get Upgrade Profile for Agent Pool. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getUpgradeProfileForAgentPool(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getAgentPools() + .getUpgradeProfileWithResponse("rg1", "clustername1", "agentpool1", Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsGetUpgradeProfile.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsGetUpgradeProfile.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsGetUpgradeProfile.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsList.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsList.java new file mode 100644 index 0000000000..172ef8b24a --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for AgentPools List. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/AgentPoolsList.json + */ + /** + * Sample code: List Agent Pools by Managed Cluster. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAgentPoolsByManagedCluster(com.azure.resourcemanager.AzureResourceManager azure) { + azure.kubernetesClusters().manager().serviceClient().getAgentPools().list("rg1", "clustername1", Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsList.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsUpgradeNodeImageVersion.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsUpgradeNodeImageVersion.java new file mode 100644 index 0000000000..5b81ca5ce4 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsUpgradeNodeImageVersion.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for AgentPools UpgradeNodeImageVersion. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/AgentPoolsUpgradeNodeImageVersion.json + */ + /** + * Sample code: Upgrade Agent Pool Node Image Version. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void upgradeAgentPoolNodeImageVersion(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getAgentPools() + .upgradeNodeImageVersion("rg1", "clustername1", "agentpool1", Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsUpgradeNodeImageVersion.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsUpgradeNodeImageVersion.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPoolsUpgradeNodeImageVersion.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPools_Start.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPools_Start.java new file mode 100644 index 0000000000..4875994e25 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPools_Start.java @@ -0,0 +1,42 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.AgentPoolInner; +import com.azure.resourcemanager.containerservice.models.Code; +import com.azure.resourcemanager.containerservice.models.PowerState; +import java.util.HashMap; +import java.util.Map; + +/** Samples for AgentPools CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/AgentPools_Start.json + */ + /** + * Sample code: Start Agent Pool. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void startAgentPool(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getAgentPools() + .createOrUpdate( + "rg1", + "clustername1", + "agentpool1", + new AgentPoolInner().withPowerState(new PowerState().withCode(Code.RUNNING)), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPools_Start.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPools_Start.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPools_Start.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPools_Stop.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPools_Stop.java new file mode 100644 index 0000000000..5dbbb7b21d --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPools_Stop.java @@ -0,0 +1,42 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.AgentPoolInner; +import com.azure.resourcemanager.containerservice.models.Code; +import com.azure.resourcemanager.containerservice.models.PowerState; +import java.util.HashMap; +import java.util.Map; + +/** Samples for AgentPools CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/AgentPools_Stop.json + */ + /** + * Sample code: Stop Agent Pool. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void stopAgentPool(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getAgentPools() + .createOrUpdate( + "rg1", + "clustername1", + "agentpool1", + new AgentPoolInner().withPowerState(new PowerState().withCode(Code.STOPPED)), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPools_Stop.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPools_Stop.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPools_Stop.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPools_Update.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPools_Update.java new file mode 100644 index 0000000000..53c9ccc5b2 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPools_Update.java @@ -0,0 +1,54 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.AgentPoolInner; +import com.azure.resourcemanager.containerservice.models.OSType; +import com.azure.resourcemanager.containerservice.models.ScaleSetEvictionPolicy; +import com.azure.resourcemanager.containerservice.models.ScaleSetPriority; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for AgentPools CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/AgentPools_Update.json + */ + /** + * Sample code: Update Agent Pool. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateAgentPool(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getAgentPools() + .createOrUpdate( + "rg1", + "clustername1", + "agentpool1", + new AgentPoolInner() + .withCount(3) + .withVmSize("Standard_DS1_v2") + .withOsType(OSType.LINUX) + .withMaxCount(2) + .withMinCount(2) + .withEnableAutoScaling(true) + .withOrchestratorVersion("") + .withScaleSetPriority(ScaleSetPriority.SPOT) + .withScaleSetEvictionPolicy(ScaleSetEvictionPolicy.DELETE) + .withNodeTaints(Arrays.asList("Key1=Value1:NoSchedule")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPools_Update.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPools_Update.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/AgentPools_Update.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ContainerServiceGetOSOptions.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ContainerServiceGetOSOptions.java new file mode 100644 index 0000000000..b0ed68ea73 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ContainerServiceGetOSOptions.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ManagedClusters GetOSOptions. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ContainerServiceGetOSOptions.json + */ + /** + * Sample code: Get Container Service OS Options. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getContainerServiceOSOptions(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .getOSOptionsWithResponse("location1", null, Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ContainerServiceGetOSOptions.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ContainerServiceGetOSOptions.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ContainerServiceGetOSOptions.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/MaintenanceConfigurationsCreate_Update.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/MaintenanceConfigurationsCreate_Update.java new file mode 100644 index 0000000000..4f06db5a50 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/MaintenanceConfigurationsCreate_Update.java @@ -0,0 +1,40 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.MaintenanceConfigurationInner; +import com.azure.resourcemanager.containerservice.models.TimeInWeek; +import com.azure.resourcemanager.containerservice.models.TimeSpan; +import com.azure.resourcemanager.containerservice.models.WeekDay; +import java.time.OffsetDateTime; +import java.util.Arrays; + +/** Samples for MaintenanceConfigurations CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/MaintenanceConfigurationsCreate_Update.json + */ + /** + * Sample code: Create/Update Maintenance Configuration. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createUpdateMaintenanceConfiguration(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getMaintenanceConfigurations() + .createOrUpdateWithResponse( + "rg1", + "clustername1", + "default", + new MaintenanceConfigurationInner() + .withTimeInWeek( + Arrays.asList(new TimeInWeek().withDay(WeekDay.MONDAY).withHourSlots(Arrays.asList(1, 2)))) + .withNotAllowedTime( + Arrays + .asList( + new TimeSpan() + .withStart(OffsetDateTime.parse("2020-11-26T03:00:00Z")) + .withEnd(OffsetDateTime.parse("2020-11-30T12:00:00Z")))), + Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/MaintenanceConfigurationsCreate_Update.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/MaintenanceConfigurationsCreate_Update.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/MaintenanceConfigurationsCreate_Update.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/MaintenanceConfigurationsDelete.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/MaintenanceConfigurationsDelete.java new file mode 100644 index 0000000000..75851f7e19 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/MaintenanceConfigurationsDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for MaintenanceConfigurations Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/MaintenanceConfigurationsDelete.json + */ + /** + * Sample code: Delete Maintenance Configuration. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteMaintenanceConfiguration(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getMaintenanceConfigurations() + .deleteWithResponse("rg1", "clustername1", "default", Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/MaintenanceConfigurationsDelete.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/MaintenanceConfigurationsDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/MaintenanceConfigurationsDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/MaintenanceConfigurationsGet.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/MaintenanceConfigurationsGet.java new file mode 100644 index 0000000000..6d59b0a897 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/MaintenanceConfigurationsGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for MaintenanceConfigurations Get. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/MaintenanceConfigurationsGet.json + */ + /** + * Sample code: Get Maintenance Configuration. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getMaintenanceConfiguration(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getMaintenanceConfigurations() + .getWithResponse("rg1", "clustername1", "default", Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/MaintenanceConfigurationsGet.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/MaintenanceConfigurationsGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/MaintenanceConfigurationsGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/MaintenanceConfigurationsList.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/MaintenanceConfigurationsList.java new file mode 100644 index 0000000000..056d58cce6 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/MaintenanceConfigurationsList.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for MaintenanceConfigurations ListByManagedCluster. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/MaintenanceConfigurationsList.json + */ + /** + * Sample code: List maintenance configurations by Managed Cluster. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listMaintenanceConfigurationsByManagedCluster( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getMaintenanceConfigurations() + .listByManagedCluster("rg1", "clustername1", Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/MaintenanceConfigurationsList.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/MaintenanceConfigurationsList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/MaintenanceConfigurationsList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_AzureKeyvaultSecretsProvider.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_AzureKeyvaultSecretsProvider.java new file mode 100644 index 0000000000..3bdca3ea60 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_AzureKeyvaultSecretsProvider.java @@ -0,0 +1,114 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterInner; +import com.azure.resourcemanager.containerservice.models.AgentPoolMode; +import com.azure.resourcemanager.containerservice.models.AgentPoolType; +import com.azure.resourcemanager.containerservice.models.ContainerServiceLinuxProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceNetworkProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshConfiguration; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshPublicKey; +import com.azure.resourcemanager.containerservice.models.LoadBalancerSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterAddonProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterAgentPoolProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfileManagedOutboundIPs; +import com.azure.resourcemanager.containerservice.models.ManagedClusterPropertiesAutoScalerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterServicePrincipalProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuName; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuTier; +import com.azure.resourcemanager.containerservice.models.ManagedClusterWindowsProfile; +import com.azure.resourcemanager.containerservice.models.OSType; +import com.azure.resourcemanager.containerservice.models.OutboundType; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for ManagedClusters CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersCreate_AzureKeyvaultSecretsProvider.json + */ + /** + * Sample code: Create Managed Cluster with Azure KeyVault Secrets Provider Addon. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createManagedClusterWithAzureKeyVaultSecretsProviderAddon( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .createOrUpdate( + "rg1", + "clustername1", + new ManagedClusterInner() + .withLocation("location1") + .withTags(mapOf("archv2", "", "tier", "production")) + .withSku( + new ManagedClusterSku() + .withName(ManagedClusterSkuName.BASIC) + .withTier(ManagedClusterSkuTier.FREE)) + .withKubernetesVersion("") + .withDnsPrefix("dnsprefix1") + .withAgentPoolProfiles( + Arrays + .asList( + new ManagedClusterAgentPoolProfile() + .withCount(3) + .withVmSize("Standard_DS2_v2") + .withOsType(OSType.LINUX) + .withType(AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS) + .withMode(AgentPoolMode.SYSTEM) + .withEnableNodePublicIp(true) + .withName("nodepool1"))) + .withLinuxProfile( + new ContainerServiceLinuxProfile() + .withAdminUsername("azureuser") + .withSsh( + new ContainerServiceSshConfiguration() + .withPublicKeys( + Arrays.asList(new ContainerServiceSshPublicKey().withKeyData("keydata"))))) + .withWindowsProfile( + new ManagedClusterWindowsProfile() + .withAdminUsername("azureuser") + .withAdminPassword("replacePassword1234$")) + .withServicePrincipalProfile( + new ManagedClusterServicePrincipalProfile().withClientId("clientid").withSecret("secret")) + .withAddonProfiles( + mapOf( + "azureKeyvaultSecretsProvider", + new ManagedClusterAddonProfile() + .withEnabled(true) + .withConfig(mapOf("enableSecretRotation", "true", "rotationPollInterval", "2m")))) + .withEnableRbac(true) + .withEnablePodSecurityPolicy(true) + .withNetworkProfile( + new ContainerServiceNetworkProfile() + .withOutboundType(OutboundType.LOAD_BALANCER) + .withLoadBalancerSku(LoadBalancerSku.STANDARD) + .withLoadBalancerProfile( + new ManagedClusterLoadBalancerProfile() + .withManagedOutboundIPs( + new ManagedClusterLoadBalancerProfileManagedOutboundIPs().withCount(2)))) + .withAutoScalerProfile( + new ManagedClusterPropertiesAutoScalerProfile() + .withScanInterval("20s") + .withScaleDownDelayAfterAdd("15m")) + .withDiskEncryptionSetId( + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_AzureKeyvaultSecretsProvider.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_AzureKeyvaultSecretsProvider.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_AzureKeyvaultSecretsProvider.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_DedicatedHostGroup.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_DedicatedHostGroup.java new file mode 100644 index 0000000000..6d8c5e5ccc --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_DedicatedHostGroup.java @@ -0,0 +1,108 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterInner; +import com.azure.resourcemanager.containerservice.models.AgentPoolType; +import com.azure.resourcemanager.containerservice.models.ContainerServiceLinuxProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceNetworkProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshConfiguration; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshPublicKey; +import com.azure.resourcemanager.containerservice.models.LoadBalancerSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterAgentPoolProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfileManagedOutboundIPs; +import com.azure.resourcemanager.containerservice.models.ManagedClusterPropertiesAutoScalerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterServicePrincipalProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuName; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuTier; +import com.azure.resourcemanager.containerservice.models.ManagedClusterWindowsProfile; +import com.azure.resourcemanager.containerservice.models.OSType; +import com.azure.resourcemanager.containerservice.models.OutboundType; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for ManagedClusters CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersCreate_DedicatedHostGroup.json + */ + /** + * Sample code: Create Managed Cluster with Dedicated Host Group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createManagedClusterWithDedicatedHostGroup( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .createOrUpdate( + "rg1", + "clustername1", + new ManagedClusterInner() + .withLocation("location1") + .withTags(mapOf("archv2", "", "tier", "production")) + .withSku( + new ManagedClusterSku() + .withName(ManagedClusterSkuName.BASIC) + .withTier(ManagedClusterSkuTier.FREE)) + .withKubernetesVersion("") + .withDnsPrefix("dnsprefix1") + .withAgentPoolProfiles( + Arrays + .asList( + new ManagedClusterAgentPoolProfile() + .withCount(3) + .withVmSize("Standard_DS2_v2") + .withOsType(OSType.LINUX) + .withType(AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS) + .withEnableNodePublicIp(true) + .withHostGroupId( + "/subscriptions/subid1/resourcegroups/rg/providers/Microsoft.Compute/hostGroups/hostgroup1") + .withName("nodepool1"))) + .withLinuxProfile( + new ContainerServiceLinuxProfile() + .withAdminUsername("azureuser") + .withSsh( + new ContainerServiceSshConfiguration() + .withPublicKeys( + Arrays.asList(new ContainerServiceSshPublicKey().withKeyData("keydata"))))) + .withWindowsProfile( + new ManagedClusterWindowsProfile() + .withAdminUsername("azureuser") + .withAdminPassword("replacePassword1234$")) + .withServicePrincipalProfile( + new ManagedClusterServicePrincipalProfile().withClientId("clientid").withSecret("secret")) + .withAddonProfiles(mapOf()) + .withEnableRbac(true) + .withEnablePodSecurityPolicy(false) + .withNetworkProfile( + new ContainerServiceNetworkProfile() + .withOutboundType(OutboundType.LOAD_BALANCER) + .withLoadBalancerSku(LoadBalancerSku.STANDARD) + .withLoadBalancerProfile( + new ManagedClusterLoadBalancerProfile() + .withManagedOutboundIPs( + new ManagedClusterLoadBalancerProfileManagedOutboundIPs().withCount(2)))) + .withAutoScalerProfile( + new ManagedClusterPropertiesAutoScalerProfile() + .withScanInterval("20s") + .withScaleDownDelayAfterAdd("15m")) + .withDiskEncryptionSetId( + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_DedicatedHostGroup.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_DedicatedHostGroup.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_DedicatedHostGroup.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_DisableRunCommand.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_DisableRunCommand.java new file mode 100644 index 0000000000..aac038c8d1 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_DisableRunCommand.java @@ -0,0 +1,109 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterInner; +import com.azure.resourcemanager.containerservice.models.AgentPoolMode; +import com.azure.resourcemanager.containerservice.models.AgentPoolType; +import com.azure.resourcemanager.containerservice.models.ContainerServiceLinuxProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceNetworkProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshConfiguration; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshPublicKey; +import com.azure.resourcemanager.containerservice.models.LoadBalancerSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterAgentPoolProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterApiServerAccessProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfileManagedOutboundIPs; +import com.azure.resourcemanager.containerservice.models.ManagedClusterPropertiesAutoScalerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterServicePrincipalProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuName; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuTier; +import com.azure.resourcemanager.containerservice.models.ManagedClusterWindowsProfile; +import com.azure.resourcemanager.containerservice.models.OSType; +import com.azure.resourcemanager.containerservice.models.OutboundType; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for ManagedClusters CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersCreate_DisableRunCommand.json + */ + /** + * Sample code: Create Managed Cluster with RunCommand disabled. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createManagedClusterWithRunCommandDisabled( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .createOrUpdate( + "rg1", + "clustername1", + new ManagedClusterInner() + .withLocation("location1") + .withTags(mapOf("archv2", "", "tier", "production")) + .withSku( + new ManagedClusterSku() + .withName(ManagedClusterSkuName.BASIC) + .withTier(ManagedClusterSkuTier.FREE)) + .withKubernetesVersion("") + .withDnsPrefix("dnsprefix1") + .withAgentPoolProfiles( + Arrays + .asList( + new ManagedClusterAgentPoolProfile() + .withCount(3) + .withVmSize("Standard_DS2_v2") + .withOsType(OSType.LINUX) + .withType(AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS) + .withMode(AgentPoolMode.SYSTEM) + .withEnableNodePublicIp(true) + .withEnableEncryptionAtHost(true) + .withName("nodepool1"))) + .withLinuxProfile( + new ContainerServiceLinuxProfile() + .withAdminUsername("azureuser") + .withSsh( + new ContainerServiceSshConfiguration() + .withPublicKeys( + Arrays.asList(new ContainerServiceSshPublicKey().withKeyData("keydata"))))) + .withWindowsProfile( + new ManagedClusterWindowsProfile() + .withAdminUsername("azureuser") + .withAdminPassword("replacePassword1234$")) + .withServicePrincipalProfile( + new ManagedClusterServicePrincipalProfile().withClientId("clientid").withSecret("secret")) + .withAddonProfiles(mapOf()) + .withEnableRbac(true) + .withEnablePodSecurityPolicy(true) + .withNetworkProfile( + new ContainerServiceNetworkProfile() + .withOutboundType(OutboundType.LOAD_BALANCER) + .withLoadBalancerSku(LoadBalancerSku.STANDARD) + .withLoadBalancerProfile( + new ManagedClusterLoadBalancerProfile() + .withManagedOutboundIPs( + new ManagedClusterLoadBalancerProfileManagedOutboundIPs().withCount(2)))) + .withAutoScalerProfile( + new ManagedClusterPropertiesAutoScalerProfile() + .withScanInterval("20s") + .withScaleDownDelayAfterAdd("15m")) + .withApiServerAccessProfile(new ManagedClusterApiServerAccessProfile().withDisableRunCommand(true)), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_DisableRunCommand.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_DisableRunCommand.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_DisableRunCommand.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_DualStackNetworking.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_DualStackNetworking.java new file mode 100644 index 0000000000..406a83a4b4 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_DualStackNetworking.java @@ -0,0 +1,129 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterInner; +import com.azure.resourcemanager.containerservice.models.AgentPoolMode; +import com.azure.resourcemanager.containerservice.models.AgentPoolType; +import com.azure.resourcemanager.containerservice.models.ContainerServiceLinuxProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceNetworkProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshConfiguration; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshPublicKey; +import com.azure.resourcemanager.containerservice.models.Expander; +import com.azure.resourcemanager.containerservice.models.IpFamily; +import com.azure.resourcemanager.containerservice.models.LoadBalancerSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterAgentPoolProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterIdentity; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfileManagedOutboundIPs; +import com.azure.resourcemanager.containerservice.models.ManagedClusterPropertiesAutoScalerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterServicePrincipalProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuName; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuTier; +import com.azure.resourcemanager.containerservice.models.ManagedClusterWindowsProfile; +import com.azure.resourcemanager.containerservice.models.ManagedServiceIdentityUserAssignedIdentitiesValue; +import com.azure.resourcemanager.containerservice.models.OSType; +import com.azure.resourcemanager.containerservice.models.OutboundType; +import com.azure.resourcemanager.containerservice.models.ResourceIdentityType; +import com.azure.resourcemanager.containerservice.models.ScaleDownMode; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for ManagedClusters CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersCreate_DualStackNetworking.json + */ + /** + * Sample code: Create/Update Managed Cluster with dual-stack networking. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createUpdateManagedClusterWithDualStackNetworking( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .createOrUpdate( + "rg1", + "clustername1", + new ManagedClusterInner() + .withLocation("location1") + .withTags(mapOf("archv2", "", "tier", "production")) + .withSku( + new ManagedClusterSku() + .withName(ManagedClusterSkuName.BASIC) + .withTier(ManagedClusterSkuTier.FREE)) + .withIdentity( + new ManagedClusterIdentity() + .withType(ResourceIdentityType.USER_ASSIGNED) + .withUserAssignedIdentities( + mapOf( + "/subscriptions/subid1/resourceGroups/rgName1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1", + new ManagedServiceIdentityUserAssignedIdentitiesValue()))) + .withKubernetesVersion("") + .withDnsPrefix("dnsprefix1") + .withAgentPoolProfiles( + Arrays + .asList( + new ManagedClusterAgentPoolProfile() + .withCount(3) + .withVmSize("Standard_DS1_v2") + .withOsType(OSType.LINUX) + .withScaleDownMode(ScaleDownMode.DEALLOCATE) + .withType(AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS) + .withMode(AgentPoolMode.SYSTEM) + .withAvailabilityZones(Arrays.asList("1", "2", "3")) + .withEnableNodePublicIp(true) + .withName("nodepool1"))) + .withLinuxProfile( + new ContainerServiceLinuxProfile() + .withAdminUsername("azureuser") + .withSsh( + new ContainerServiceSshConfiguration() + .withPublicKeys( + Arrays.asList(new ContainerServiceSshPublicKey().withKeyData("keydata"))))) + .withWindowsProfile( + new ManagedClusterWindowsProfile() + .withAdminUsername("azureuser") + .withAdminPassword("replacePassword1234$")) + .withServicePrincipalProfile( + new ManagedClusterServicePrincipalProfile().withClientId("clientid").withSecret("secret")) + .withAddonProfiles(mapOf()) + .withEnableRbac(true) + .withEnablePodSecurityPolicy(true) + .withNetworkProfile( + new ContainerServiceNetworkProfile() + .withOutboundType(OutboundType.LOAD_BALANCER) + .withLoadBalancerSku(LoadBalancerSku.STANDARD) + .withLoadBalancerProfile( + new ManagedClusterLoadBalancerProfile() + .withManagedOutboundIPs( + new ManagedClusterLoadBalancerProfileManagedOutboundIPs().withCount(2))) + .withIpFamilies(Arrays.asList(IpFamily.IPV4, IpFamily.IPV6))) + .withAutoScalerProfile( + new ManagedClusterPropertiesAutoScalerProfile() + .withBalanceSimilarNodeGroups("true") + .withExpander(Expander.PRIORITY) + .withMaxNodeProvisionTime("15m") + .withNewPodScaleUpDelay("1m") + .withScanInterval("20s") + .withScaleDownDelayAfterAdd("15m") + .withSkipNodesWithSystemPods("false")) + .withDiskEncryptionSetId( + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_DualStackNetworking.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_DualStackNetworking.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_DualStackNetworking.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_EnableEncryptionAtHost.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_EnableEncryptionAtHost.java new file mode 100644 index 0000000000..8b124251b1 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_EnableEncryptionAtHost.java @@ -0,0 +1,109 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterInner; +import com.azure.resourcemanager.containerservice.models.AgentPoolMode; +import com.azure.resourcemanager.containerservice.models.AgentPoolType; +import com.azure.resourcemanager.containerservice.models.ContainerServiceLinuxProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceNetworkProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshConfiguration; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshPublicKey; +import com.azure.resourcemanager.containerservice.models.LoadBalancerSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterAgentPoolProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfileManagedOutboundIPs; +import com.azure.resourcemanager.containerservice.models.ManagedClusterPropertiesAutoScalerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterServicePrincipalProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuName; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuTier; +import com.azure.resourcemanager.containerservice.models.ManagedClusterWindowsProfile; +import com.azure.resourcemanager.containerservice.models.OSType; +import com.azure.resourcemanager.containerservice.models.OutboundType; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for ManagedClusters CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersCreate_EnableEncryptionAtHost.json + */ + /** + * Sample code: Create Managed Cluster with EncryptionAtHost enabled. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createManagedClusterWithEncryptionAtHostEnabled( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .createOrUpdate( + "rg1", + "clustername1", + new ManagedClusterInner() + .withLocation("location1") + .withTags(mapOf("archv2", "", "tier", "production")) + .withSku( + new ManagedClusterSku() + .withName(ManagedClusterSkuName.BASIC) + .withTier(ManagedClusterSkuTier.FREE)) + .withKubernetesVersion("") + .withDnsPrefix("dnsprefix1") + .withAgentPoolProfiles( + Arrays + .asList( + new ManagedClusterAgentPoolProfile() + .withCount(3) + .withVmSize("Standard_DS2_v2") + .withOsType(OSType.LINUX) + .withType(AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS) + .withMode(AgentPoolMode.SYSTEM) + .withEnableNodePublicIp(true) + .withEnableEncryptionAtHost(true) + .withName("nodepool1"))) + .withLinuxProfile( + new ContainerServiceLinuxProfile() + .withAdminUsername("azureuser") + .withSsh( + new ContainerServiceSshConfiguration() + .withPublicKeys( + Arrays.asList(new ContainerServiceSshPublicKey().withKeyData("keydata"))))) + .withWindowsProfile( + new ManagedClusterWindowsProfile() + .withAdminUsername("azureuser") + .withAdminPassword("replacePassword1234$")) + .withServicePrincipalProfile( + new ManagedClusterServicePrincipalProfile().withClientId("clientid").withSecret("secret")) + .withAddonProfiles(mapOf()) + .withEnableRbac(true) + .withEnablePodSecurityPolicy(true) + .withNetworkProfile( + new ContainerServiceNetworkProfile() + .withOutboundType(OutboundType.LOAD_BALANCER) + .withLoadBalancerSku(LoadBalancerSku.STANDARD) + .withLoadBalancerProfile( + new ManagedClusterLoadBalancerProfile() + .withManagedOutboundIPs( + new ManagedClusterLoadBalancerProfileManagedOutboundIPs().withCount(2)))) + .withAutoScalerProfile( + new ManagedClusterPropertiesAutoScalerProfile() + .withScanInterval("20s") + .withScaleDownDelayAfterAdd("15m")) + .withDiskEncryptionSetId( + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_EnableEncryptionAtHost.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_EnableEncryptionAtHost.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_EnableEncryptionAtHost.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_EnableUltraSSD.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_EnableUltraSSD.java new file mode 100644 index 0000000000..1a415ccb18 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_EnableUltraSSD.java @@ -0,0 +1,108 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterInner; +import com.azure.resourcemanager.containerservice.models.AgentPoolMode; +import com.azure.resourcemanager.containerservice.models.AgentPoolType; +import com.azure.resourcemanager.containerservice.models.ContainerServiceLinuxProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceNetworkProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshConfiguration; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshPublicKey; +import com.azure.resourcemanager.containerservice.models.LoadBalancerSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterAgentPoolProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfileManagedOutboundIPs; +import com.azure.resourcemanager.containerservice.models.ManagedClusterPropertiesAutoScalerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterServicePrincipalProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuName; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuTier; +import com.azure.resourcemanager.containerservice.models.ManagedClusterWindowsProfile; +import com.azure.resourcemanager.containerservice.models.OSType; +import com.azure.resourcemanager.containerservice.models.OutboundType; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for ManagedClusters CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersCreate_EnableUltraSSD.json + */ + /** + * Sample code: Create Managed Cluster with UltraSSD enabled. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createManagedClusterWithUltraSSDEnabled(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .createOrUpdate( + "rg1", + "clustername1", + new ManagedClusterInner() + .withLocation("location1") + .withTags(mapOf("archv2", "", "tier", "production")) + .withSku( + new ManagedClusterSku() + .withName(ManagedClusterSkuName.BASIC) + .withTier(ManagedClusterSkuTier.FREE)) + .withKubernetesVersion("") + .withDnsPrefix("dnsprefix1") + .withAgentPoolProfiles( + Arrays + .asList( + new ManagedClusterAgentPoolProfile() + .withCount(3) + .withVmSize("Standard_DS2_v2") + .withOsType(OSType.LINUX) + .withType(AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS) + .withMode(AgentPoolMode.SYSTEM) + .withEnableNodePublicIp(true) + .withEnableUltraSsd(true) + .withName("nodepool1"))) + .withLinuxProfile( + new ContainerServiceLinuxProfile() + .withAdminUsername("azureuser") + .withSsh( + new ContainerServiceSshConfiguration() + .withPublicKeys( + Arrays.asList(new ContainerServiceSshPublicKey().withKeyData("keydata"))))) + .withWindowsProfile( + new ManagedClusterWindowsProfile() + .withAdminUsername("azureuser") + .withAdminPassword("replacePassword1234$")) + .withServicePrincipalProfile( + new ManagedClusterServicePrincipalProfile().withClientId("clientid").withSecret("secret")) + .withAddonProfiles(mapOf()) + .withEnableRbac(true) + .withEnablePodSecurityPolicy(true) + .withNetworkProfile( + new ContainerServiceNetworkProfile() + .withOutboundType(OutboundType.LOAD_BALANCER) + .withLoadBalancerSku(LoadBalancerSku.STANDARD) + .withLoadBalancerProfile( + new ManagedClusterLoadBalancerProfile() + .withManagedOutboundIPs( + new ManagedClusterLoadBalancerProfileManagedOutboundIPs().withCount(2)))) + .withAutoScalerProfile( + new ManagedClusterPropertiesAutoScalerProfile() + .withScanInterval("20s") + .withScaleDownDelayAfterAdd("15m")) + .withDiskEncryptionSetId( + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_EnableUltraSSD.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_EnableUltraSSD.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_EnableUltraSSD.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_EnabledFIPS.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_EnabledFIPS.java new file mode 100644 index 0000000000..c2f360e33e --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_EnabledFIPS.java @@ -0,0 +1,108 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterInner; +import com.azure.resourcemanager.containerservice.models.AgentPoolMode; +import com.azure.resourcemanager.containerservice.models.AgentPoolType; +import com.azure.resourcemanager.containerservice.models.ContainerServiceLinuxProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceNetworkProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshConfiguration; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshPublicKey; +import com.azure.resourcemanager.containerservice.models.LoadBalancerSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterAgentPoolProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfileManagedOutboundIPs; +import com.azure.resourcemanager.containerservice.models.ManagedClusterPropertiesAutoScalerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterServicePrincipalProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuName; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuTier; +import com.azure.resourcemanager.containerservice.models.ManagedClusterWindowsProfile; +import com.azure.resourcemanager.containerservice.models.OSType; +import com.azure.resourcemanager.containerservice.models.OutboundType; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for ManagedClusters CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersCreate_EnabledFIPS.json + */ + /** + * Sample code: Create Managed Cluster with FIPS enabled OS. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createManagedClusterWithFIPSEnabledOS(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .createOrUpdate( + "rg1", + "clustername1", + new ManagedClusterInner() + .withLocation("location1") + .withTags(mapOf("archv2", "", "tier", "production")) + .withSku( + new ManagedClusterSku() + .withName(ManagedClusterSkuName.BASIC) + .withTier(ManagedClusterSkuTier.FREE)) + .withKubernetesVersion("") + .withDnsPrefix("dnsprefix1") + .withAgentPoolProfiles( + Arrays + .asList( + new ManagedClusterAgentPoolProfile() + .withCount(3) + .withVmSize("Standard_DS2_v2") + .withOsType(OSType.LINUX) + .withType(AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS) + .withMode(AgentPoolMode.SYSTEM) + .withEnableNodePublicIp(true) + .withEnableFips(true) + .withName("nodepool1"))) + .withLinuxProfile( + new ContainerServiceLinuxProfile() + .withAdminUsername("azureuser") + .withSsh( + new ContainerServiceSshConfiguration() + .withPublicKeys( + Arrays.asList(new ContainerServiceSshPublicKey().withKeyData("keydata"))))) + .withWindowsProfile( + new ManagedClusterWindowsProfile() + .withAdminUsername("azureuser") + .withAdminPassword("replacePassword1234$")) + .withServicePrincipalProfile( + new ManagedClusterServicePrincipalProfile().withClientId("clientid").withSecret("secret")) + .withAddonProfiles(mapOf()) + .withEnableRbac(true) + .withEnablePodSecurityPolicy(false) + .withNetworkProfile( + new ContainerServiceNetworkProfile() + .withOutboundType(OutboundType.LOAD_BALANCER) + .withLoadBalancerSku(LoadBalancerSku.STANDARD) + .withLoadBalancerProfile( + new ManagedClusterLoadBalancerProfile() + .withManagedOutboundIPs( + new ManagedClusterLoadBalancerProfileManagedOutboundIPs().withCount(2)))) + .withAutoScalerProfile( + new ManagedClusterPropertiesAutoScalerProfile() + .withScanInterval("20s") + .withScaleDownDelayAfterAdd("15m")) + .withDiskEncryptionSetId( + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_EnabledFIPS.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_EnabledFIPS.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_EnabledFIPS.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_GPUMIG.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_GPUMIG.java new file mode 100644 index 0000000000..ac07e1f578 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_GPUMIG.java @@ -0,0 +1,116 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterInner; +import com.azure.resourcemanager.containerservice.models.AgentPoolMode; +import com.azure.resourcemanager.containerservice.models.AgentPoolType; +import com.azure.resourcemanager.containerservice.models.ContainerServiceLinuxProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceNetworkProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshConfiguration; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshPublicKey; +import com.azure.resourcemanager.containerservice.models.GpuInstanceProfile; +import com.azure.resourcemanager.containerservice.models.LoadBalancerSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterAgentPoolProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterHttpProxyConfig; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfileManagedOutboundIPs; +import com.azure.resourcemanager.containerservice.models.ManagedClusterPropertiesAutoScalerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterServicePrincipalProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuName; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuTier; +import com.azure.resourcemanager.containerservice.models.ManagedClusterWindowsProfile; +import com.azure.resourcemanager.containerservice.models.OSType; +import com.azure.resourcemanager.containerservice.models.OutboundType; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for ManagedClusters CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersCreate_GPUMIG.json + */ + /** + * Sample code: Create Managed Cluster with GPUMIG. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createManagedClusterWithGPUMIG(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .createOrUpdate( + "rg1", + "clustername1", + new ManagedClusterInner() + .withLocation("location1") + .withTags(mapOf("archv2", "", "tier", "production")) + .withSku( + new ManagedClusterSku() + .withName(ManagedClusterSkuName.BASIC) + .withTier(ManagedClusterSkuTier.FREE)) + .withKubernetesVersion("") + .withDnsPrefix("dnsprefix1") + .withAgentPoolProfiles( + Arrays + .asList( + new ManagedClusterAgentPoolProfile() + .withCount(3) + .withVmSize("Standard_ND96asr_v4") + .withOsType(OSType.LINUX) + .withType(AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS) + .withMode(AgentPoolMode.SYSTEM) + .withEnableNodePublicIp(true) + .withGpuInstanceProfile(GpuInstanceProfile.MIG3G) + .withName("nodepool1"))) + .withLinuxProfile( + new ContainerServiceLinuxProfile() + .withAdminUsername("azureuser") + .withSsh( + new ContainerServiceSshConfiguration() + .withPublicKeys( + Arrays.asList(new ContainerServiceSshPublicKey().withKeyData("keydata"))))) + .withWindowsProfile( + new ManagedClusterWindowsProfile() + .withAdminUsername("azureuser") + .withAdminPassword("replacePassword1234$")) + .withServicePrincipalProfile( + new ManagedClusterServicePrincipalProfile().withClientId("clientid").withSecret("secret")) + .withAddonProfiles(mapOf()) + .withEnableRbac(true) + .withEnablePodSecurityPolicy(true) + .withNetworkProfile( + new ContainerServiceNetworkProfile() + .withOutboundType(OutboundType.LOAD_BALANCER) + .withLoadBalancerSku(LoadBalancerSku.STANDARD) + .withLoadBalancerProfile( + new ManagedClusterLoadBalancerProfile() + .withManagedOutboundIPs( + new ManagedClusterLoadBalancerProfileManagedOutboundIPs().withCount(2)))) + .withAutoScalerProfile( + new ManagedClusterPropertiesAutoScalerProfile() + .withScanInterval("20s") + .withScaleDownDelayAfterAdd("15m")) + .withDiskEncryptionSetId( + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des") + .withHttpProxyConfig( + new ManagedClusterHttpProxyConfig() + .withHttpProxy("http://myproxy.server.com:8080") + .withHttpsProxy("https://myproxy.server.com:8080") + .withNoProxy(Arrays.asList("localhost", "127.0.0.1")) + .withTrustedCa("Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U=")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_GPUMIG.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_GPUMIG.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_GPUMIG.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_HTTPProxy.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_HTTPProxy.java new file mode 100644 index 0000000000..9578ea03fc --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_HTTPProxy.java @@ -0,0 +1,115 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterInner; +import com.azure.resourcemanager.containerservice.models.AgentPoolMode; +import com.azure.resourcemanager.containerservice.models.AgentPoolType; +import com.azure.resourcemanager.containerservice.models.ContainerServiceLinuxProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceNetworkProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshConfiguration; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshPublicKey; +import com.azure.resourcemanager.containerservice.models.LoadBalancerSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterAgentPoolProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterHttpProxyConfig; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfileManagedOutboundIPs; +import com.azure.resourcemanager.containerservice.models.ManagedClusterPropertiesAutoScalerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterServicePrincipalProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuName; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuTier; +import com.azure.resourcemanager.containerservice.models.ManagedClusterWindowsProfile; +import com.azure.resourcemanager.containerservice.models.OSType; +import com.azure.resourcemanager.containerservice.models.OutboundType; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for ManagedClusters CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersCreate_HTTPProxy.json + */ + /** + * Sample code: Create Managed Cluster with HTTP proxy configured. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createManagedClusterWithHTTPProxyConfigured( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .createOrUpdate( + "rg1", + "clustername1", + new ManagedClusterInner() + .withLocation("location1") + .withTags(mapOf("archv2", "", "tier", "production")) + .withSku( + new ManagedClusterSku() + .withName(ManagedClusterSkuName.BASIC) + .withTier(ManagedClusterSkuTier.FREE)) + .withKubernetesVersion("") + .withDnsPrefix("dnsprefix1") + .withAgentPoolProfiles( + Arrays + .asList( + new ManagedClusterAgentPoolProfile() + .withCount(3) + .withVmSize("Standard_DS2_v2") + .withOsType(OSType.LINUX) + .withType(AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS) + .withMode(AgentPoolMode.SYSTEM) + .withEnableNodePublicIp(true) + .withName("nodepool1"))) + .withLinuxProfile( + new ContainerServiceLinuxProfile() + .withAdminUsername("azureuser") + .withSsh( + new ContainerServiceSshConfiguration() + .withPublicKeys( + Arrays.asList(new ContainerServiceSshPublicKey().withKeyData("keydata"))))) + .withWindowsProfile( + new ManagedClusterWindowsProfile() + .withAdminUsername("azureuser") + .withAdminPassword("replacePassword1234$")) + .withServicePrincipalProfile( + new ManagedClusterServicePrincipalProfile().withClientId("clientid").withSecret("secret")) + .withAddonProfiles(mapOf()) + .withEnableRbac(true) + .withEnablePodSecurityPolicy(true) + .withNetworkProfile( + new ContainerServiceNetworkProfile() + .withOutboundType(OutboundType.LOAD_BALANCER) + .withLoadBalancerSku(LoadBalancerSku.STANDARD) + .withLoadBalancerProfile( + new ManagedClusterLoadBalancerProfile() + .withManagedOutboundIPs( + new ManagedClusterLoadBalancerProfileManagedOutboundIPs().withCount(2)))) + .withAutoScalerProfile( + new ManagedClusterPropertiesAutoScalerProfile() + .withScanInterval("20s") + .withScaleDownDelayAfterAdd("15m")) + .withDiskEncryptionSetId( + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des") + .withHttpProxyConfig( + new ManagedClusterHttpProxyConfig() + .withHttpProxy("http://myproxy.server.com:8080") + .withHttpsProxy("https://myproxy.server.com:8080") + .withNoProxy(Arrays.asList("localhost", "127.0.0.1")) + .withTrustedCa("Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U=")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_HTTPProxy.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_HTTPProxy.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_HTTPProxy.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_ManagedNATGateway.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_ManagedNATGateway.java new file mode 100644 index 0000000000..42d7f9abfe --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_ManagedNATGateway.java @@ -0,0 +1,108 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterInner; +import com.azure.resourcemanager.containerservice.models.AgentPoolMode; +import com.azure.resourcemanager.containerservice.models.AgentPoolType; +import com.azure.resourcemanager.containerservice.models.ContainerServiceLinuxProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceNetworkProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshConfiguration; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshPublicKey; +import com.azure.resourcemanager.containerservice.models.LoadBalancerSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterAgentPoolProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterManagedOutboundIpProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterNatGatewayProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterPropertiesAutoScalerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterServicePrincipalProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuName; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuTier; +import com.azure.resourcemanager.containerservice.models.ManagedClusterWindowsProfile; +import com.azure.resourcemanager.containerservice.models.OSType; +import com.azure.resourcemanager.containerservice.models.OutboundType; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for ManagedClusters CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersCreate_ManagedNATGateway.json + */ + /** + * Sample code: Create Managed Cluster with AKS-managed NAT gateway as outbound type. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createManagedClusterWithAKSManagedNATGatewayAsOutboundType( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .createOrUpdate( + "rg1", + "clustername1", + new ManagedClusterInner() + .withLocation("location1") + .withTags(mapOf("archv2", "", "tier", "production")) + .withSku( + new ManagedClusterSku() + .withName(ManagedClusterSkuName.BASIC) + .withTier(ManagedClusterSkuTier.FREE)) + .withKubernetesVersion("") + .withDnsPrefix("dnsprefix1") + .withAgentPoolProfiles( + Arrays + .asList( + new ManagedClusterAgentPoolProfile() + .withCount(3) + .withVmSize("Standard_DS2_v2") + .withOsType(OSType.LINUX) + .withType(AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS) + .withMode(AgentPoolMode.SYSTEM) + .withEnableNodePublicIp(false) + .withName("nodepool1"))) + .withLinuxProfile( + new ContainerServiceLinuxProfile() + .withAdminUsername("azureuser") + .withSsh( + new ContainerServiceSshConfiguration() + .withPublicKeys( + Arrays.asList(new ContainerServiceSshPublicKey().withKeyData("keydata"))))) + .withWindowsProfile( + new ManagedClusterWindowsProfile() + .withAdminUsername("azureuser") + .withAdminPassword("replacePassword1234$")) + .withServicePrincipalProfile( + new ManagedClusterServicePrincipalProfile().withClientId("clientid").withSecret("secret")) + .withAddonProfiles(mapOf()) + .withEnableRbac(true) + .withEnablePodSecurityPolicy(true) + .withNetworkProfile( + new ContainerServiceNetworkProfile() + .withOutboundType(OutboundType.MANAGED_NATGATEWAY) + .withLoadBalancerSku(LoadBalancerSku.STANDARD) + .withNatGatewayProfile( + new ManagedClusterNatGatewayProfile() + .withManagedOutboundIpProfile( + new ManagedClusterManagedOutboundIpProfile().withCount(2)))) + .withAutoScalerProfile( + new ManagedClusterPropertiesAutoScalerProfile() + .withScanInterval("20s") + .withScaleDownDelayAfterAdd("15m")) + .withDiskEncryptionSetId( + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_ManagedNATGateway.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_ManagedNATGateway.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_ManagedNATGateway.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_NodePublicIPPrefix.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_NodePublicIPPrefix.java new file mode 100644 index 0000000000..4c77e2c36b --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_NodePublicIPPrefix.java @@ -0,0 +1,110 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterInner; +import com.azure.resourcemanager.containerservice.models.AgentPoolMode; +import com.azure.resourcemanager.containerservice.models.AgentPoolType; +import com.azure.resourcemanager.containerservice.models.ContainerServiceLinuxProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceNetworkProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshConfiguration; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshPublicKey; +import com.azure.resourcemanager.containerservice.models.LoadBalancerSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterAgentPoolProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfileManagedOutboundIPs; +import com.azure.resourcemanager.containerservice.models.ManagedClusterPropertiesAutoScalerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterServicePrincipalProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuName; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuTier; +import com.azure.resourcemanager.containerservice.models.ManagedClusterWindowsProfile; +import com.azure.resourcemanager.containerservice.models.OSType; +import com.azure.resourcemanager.containerservice.models.OutboundType; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for ManagedClusters CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersCreate_NodePublicIPPrefix.json + */ + /** + * Sample code: Create Managed Cluster with Node Public IP Prefix. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createManagedClusterWithNodePublicIPPrefix( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .createOrUpdate( + "rg1", + "clustername1", + new ManagedClusterInner() + .withLocation("location1") + .withTags(mapOf("archv2", "", "tier", "production")) + .withSku( + new ManagedClusterSku() + .withName(ManagedClusterSkuName.BASIC) + .withTier(ManagedClusterSkuTier.FREE)) + .withKubernetesVersion("") + .withDnsPrefix("dnsprefix1") + .withAgentPoolProfiles( + Arrays + .asList( + new ManagedClusterAgentPoolProfile() + .withCount(3) + .withVmSize("Standard_DS2_v2") + .withOsType(OSType.LINUX) + .withType(AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS) + .withMode(AgentPoolMode.SYSTEM) + .withEnableNodePublicIp(true) + .withNodePublicIpPrefixId( + "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.Network/publicIPPrefixes/public-ip-prefix") + .withName("nodepool1"))) + .withLinuxProfile( + new ContainerServiceLinuxProfile() + .withAdminUsername("azureuser") + .withSsh( + new ContainerServiceSshConfiguration() + .withPublicKeys( + Arrays.asList(new ContainerServiceSshPublicKey().withKeyData("keydata"))))) + .withWindowsProfile( + new ManagedClusterWindowsProfile() + .withAdminUsername("azureuser") + .withAdminPassword("replacePassword1234$")) + .withServicePrincipalProfile( + new ManagedClusterServicePrincipalProfile().withClientId("clientid").withSecret("secret")) + .withAddonProfiles(mapOf()) + .withEnableRbac(true) + .withEnablePodSecurityPolicy(true) + .withNetworkProfile( + new ContainerServiceNetworkProfile() + .withOutboundType(OutboundType.LOAD_BALANCER) + .withLoadBalancerSku(LoadBalancerSku.STANDARD) + .withLoadBalancerProfile( + new ManagedClusterLoadBalancerProfile() + .withManagedOutboundIPs( + new ManagedClusterLoadBalancerProfileManagedOutboundIPs().withCount(2)))) + .withAutoScalerProfile( + new ManagedClusterPropertiesAutoScalerProfile() + .withScanInterval("20s") + .withScaleDownDelayAfterAdd("15m")) + .withDiskEncryptionSetId( + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_NodePublicIPPrefix.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_NodePublicIPPrefix.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_NodePublicIPPrefix.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_OSSKU.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_OSSKU.java new file mode 100644 index 0000000000..411d15d60c --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_OSSKU.java @@ -0,0 +1,116 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterInner; +import com.azure.resourcemanager.containerservice.models.AgentPoolMode; +import com.azure.resourcemanager.containerservice.models.AgentPoolType; +import com.azure.resourcemanager.containerservice.models.ContainerServiceLinuxProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceNetworkProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshConfiguration; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshPublicKey; +import com.azure.resourcemanager.containerservice.models.LoadBalancerSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterAgentPoolProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterHttpProxyConfig; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfileManagedOutboundIPs; +import com.azure.resourcemanager.containerservice.models.ManagedClusterPropertiesAutoScalerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterServicePrincipalProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuName; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuTier; +import com.azure.resourcemanager.containerservice.models.ManagedClusterWindowsProfile; +import com.azure.resourcemanager.containerservice.models.OSSku; +import com.azure.resourcemanager.containerservice.models.OSType; +import com.azure.resourcemanager.containerservice.models.OutboundType; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for ManagedClusters CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersCreate_OSSKU.json + */ + /** + * Sample code: Create Managed Cluster with OSSKU. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createManagedClusterWithOSSKU(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .createOrUpdate( + "rg1", + "clustername1", + new ManagedClusterInner() + .withLocation("location1") + .withTags(mapOf("archv2", "", "tier", "production")) + .withSku( + new ManagedClusterSku() + .withName(ManagedClusterSkuName.BASIC) + .withTier(ManagedClusterSkuTier.FREE)) + .withKubernetesVersion("") + .withDnsPrefix("dnsprefix1") + .withAgentPoolProfiles( + Arrays + .asList( + new ManagedClusterAgentPoolProfile() + .withCount(3) + .withVmSize("Standard_DS2_v2") + .withOsType(OSType.LINUX) + .withOsSku(OSSku.CBLMARINER) + .withType(AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS) + .withMode(AgentPoolMode.SYSTEM) + .withEnableNodePublicIp(true) + .withName("nodepool1"))) + .withLinuxProfile( + new ContainerServiceLinuxProfile() + .withAdminUsername("azureuser") + .withSsh( + new ContainerServiceSshConfiguration() + .withPublicKeys( + Arrays.asList(new ContainerServiceSshPublicKey().withKeyData("keydata"))))) + .withWindowsProfile( + new ManagedClusterWindowsProfile() + .withAdminUsername("azureuser") + .withAdminPassword("replacePassword1234$")) + .withServicePrincipalProfile( + new ManagedClusterServicePrincipalProfile().withClientId("clientid").withSecret("secret")) + .withAddonProfiles(mapOf()) + .withEnableRbac(true) + .withEnablePodSecurityPolicy(true) + .withNetworkProfile( + new ContainerServiceNetworkProfile() + .withOutboundType(OutboundType.LOAD_BALANCER) + .withLoadBalancerSku(LoadBalancerSku.STANDARD) + .withLoadBalancerProfile( + new ManagedClusterLoadBalancerProfile() + .withManagedOutboundIPs( + new ManagedClusterLoadBalancerProfileManagedOutboundIPs().withCount(2)))) + .withAutoScalerProfile( + new ManagedClusterPropertiesAutoScalerProfile() + .withScanInterval("20s") + .withScaleDownDelayAfterAdd("15m")) + .withDiskEncryptionSetId( + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des") + .withHttpProxyConfig( + new ManagedClusterHttpProxyConfig() + .withHttpProxy("http://myproxy.server.com:8080") + .withHttpsProxy("https://myproxy.server.com:8080") + .withNoProxy(Arrays.asList("localhost", "127.0.0.1")) + .withTrustedCa("Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U=")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_OSSKU.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_OSSKU.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_OSSKU.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_PPG.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_PPG.java new file mode 100644 index 0000000000..d1d6a51e1c --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_PPG.java @@ -0,0 +1,109 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterInner; +import com.azure.resourcemanager.containerservice.models.AgentPoolMode; +import com.azure.resourcemanager.containerservice.models.AgentPoolType; +import com.azure.resourcemanager.containerservice.models.ContainerServiceLinuxProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceNetworkProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshConfiguration; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshPublicKey; +import com.azure.resourcemanager.containerservice.models.LoadBalancerSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterAgentPoolProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfileManagedOutboundIPs; +import com.azure.resourcemanager.containerservice.models.ManagedClusterPropertiesAutoScalerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterServicePrincipalProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuName; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuTier; +import com.azure.resourcemanager.containerservice.models.ManagedClusterWindowsProfile; +import com.azure.resourcemanager.containerservice.models.OSType; +import com.azure.resourcemanager.containerservice.models.OutboundType; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for ManagedClusters CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersCreate_PPG.json + */ + /** + * Sample code: Create Managed Cluster with PPG. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createManagedClusterWithPPG(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .createOrUpdate( + "rg1", + "clustername1", + new ManagedClusterInner() + .withLocation("location1") + .withTags(mapOf("archv2", "", "tier", "production")) + .withSku( + new ManagedClusterSku() + .withName(ManagedClusterSkuName.BASIC) + .withTier(ManagedClusterSkuTier.FREE)) + .withKubernetesVersion("") + .withDnsPrefix("dnsprefix1") + .withAgentPoolProfiles( + Arrays + .asList( + new ManagedClusterAgentPoolProfile() + .withCount(3) + .withVmSize("Standard_DS2_v2") + .withOsType(OSType.LINUX) + .withType(AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS) + .withMode(AgentPoolMode.SYSTEM) + .withEnableNodePublicIp(true) + .withProximityPlacementGroupId( + "/subscriptions/subid1/resourcegroups/rg1/providers//Microsoft.Compute/proximityPlacementGroups/ppg1") + .withName("nodepool1"))) + .withLinuxProfile( + new ContainerServiceLinuxProfile() + .withAdminUsername("azureuser") + .withSsh( + new ContainerServiceSshConfiguration() + .withPublicKeys( + Arrays.asList(new ContainerServiceSshPublicKey().withKeyData("keydata"))))) + .withWindowsProfile( + new ManagedClusterWindowsProfile() + .withAdminUsername("azureuser") + .withAdminPassword("replacePassword1234$")) + .withServicePrincipalProfile( + new ManagedClusterServicePrincipalProfile().withClientId("clientid").withSecret("secret")) + .withAddonProfiles(mapOf()) + .withEnableRbac(true) + .withEnablePodSecurityPolicy(true) + .withNetworkProfile( + new ContainerServiceNetworkProfile() + .withOutboundType(OutboundType.LOAD_BALANCER) + .withLoadBalancerSku(LoadBalancerSku.STANDARD) + .withLoadBalancerProfile( + new ManagedClusterLoadBalancerProfile() + .withManagedOutboundIPs( + new ManagedClusterLoadBalancerProfileManagedOutboundIPs().withCount(2)))) + .withAutoScalerProfile( + new ManagedClusterPropertiesAutoScalerProfile() + .withScanInterval("20s") + .withScaleDownDelayAfterAdd("15m")) + .withDiskEncryptionSetId( + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_PPG.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_PPG.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_PPG.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_PodIdentity.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_PodIdentity.java new file mode 100644 index 0000000000..74aa54a28b --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_PodIdentity.java @@ -0,0 +1,111 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterInner; +import com.azure.resourcemanager.containerservice.models.AgentPoolMode; +import com.azure.resourcemanager.containerservice.models.AgentPoolType; +import com.azure.resourcemanager.containerservice.models.ContainerServiceLinuxProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceNetworkProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshConfiguration; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshPublicKey; +import com.azure.resourcemanager.containerservice.models.LoadBalancerSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterAgentPoolProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfileManagedOutboundIPs; +import com.azure.resourcemanager.containerservice.models.ManagedClusterPodIdentityProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterPropertiesAutoScalerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterServicePrincipalProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuName; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuTier; +import com.azure.resourcemanager.containerservice.models.ManagedClusterWindowsProfile; +import com.azure.resourcemanager.containerservice.models.OSType; +import com.azure.resourcemanager.containerservice.models.OutboundType; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for ManagedClusters CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersCreate_PodIdentity.json + */ + /** + * Sample code: Create Managed Cluster with PodIdentity enabled. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createManagedClusterWithPodIdentityEnabled( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .createOrUpdate( + "rg1", + "clustername1", + new ManagedClusterInner() + .withLocation("location1") + .withTags(mapOf("archv2", "", "tier", "production")) + .withSku( + new ManagedClusterSku() + .withName(ManagedClusterSkuName.BASIC) + .withTier(ManagedClusterSkuTier.FREE)) + .withKubernetesVersion("") + .withDnsPrefix("dnsprefix1") + .withAgentPoolProfiles( + Arrays + .asList( + new ManagedClusterAgentPoolProfile() + .withCount(3) + .withVmSize("Standard_DS2_v2") + .withOsType(OSType.LINUX) + .withType(AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS) + .withMode(AgentPoolMode.SYSTEM) + .withEnableNodePublicIp(true) + .withName("nodepool1"))) + .withLinuxProfile( + new ContainerServiceLinuxProfile() + .withAdminUsername("azureuser") + .withSsh( + new ContainerServiceSshConfiguration() + .withPublicKeys( + Arrays.asList(new ContainerServiceSshPublicKey().withKeyData("keydata"))))) + .withWindowsProfile( + new ManagedClusterWindowsProfile() + .withAdminUsername("azureuser") + .withAdminPassword("replacePassword1234$")) + .withServicePrincipalProfile( + new ManagedClusterServicePrincipalProfile().withClientId("clientid").withSecret("secret")) + .withAddonProfiles(mapOf()) + .withPodIdentityProfile( + new ManagedClusterPodIdentityProfile().withEnabled(true).withAllowNetworkPluginKubenet(true)) + .withEnableRbac(true) + .withEnablePodSecurityPolicy(true) + .withNetworkProfile( + new ContainerServiceNetworkProfile() + .withOutboundType(OutboundType.LOAD_BALANCER) + .withLoadBalancerSku(LoadBalancerSku.STANDARD) + .withLoadBalancerProfile( + new ManagedClusterLoadBalancerProfile() + .withManagedOutboundIPs( + new ManagedClusterLoadBalancerProfileManagedOutboundIPs().withCount(2)))) + .withAutoScalerProfile( + new ManagedClusterPropertiesAutoScalerProfile() + .withScanInterval("20s") + .withScaleDownDelayAfterAdd("15m")) + .withDiskEncryptionSetId( + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_PodIdentity.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_PodIdentity.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_PodIdentity.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_PrivateClusterFQDNSubdomain.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_PrivateClusterFQDNSubdomain.java new file mode 100644 index 0000000000..fba4fcd1cc --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_PrivateClusterFQDNSubdomain.java @@ -0,0 +1,113 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterInner; +import com.azure.resourcemanager.containerservice.models.AgentPoolMode; +import com.azure.resourcemanager.containerservice.models.AgentPoolType; +import com.azure.resourcemanager.containerservice.models.ContainerServiceLinuxProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceNetworkProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshConfiguration; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshPublicKey; +import com.azure.resourcemanager.containerservice.models.LoadBalancerSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterAgentPoolProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterApiServerAccessProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfileManagedOutboundIPs; +import com.azure.resourcemanager.containerservice.models.ManagedClusterPropertiesAutoScalerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterServicePrincipalProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuName; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuTier; +import com.azure.resourcemanager.containerservice.models.ManagedClusterWindowsProfile; +import com.azure.resourcemanager.containerservice.models.OSType; +import com.azure.resourcemanager.containerservice.models.OutboundType; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for ManagedClusters CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersCreate_PrivateClusterFQDNSubdomain.json + */ + /** + * Sample code: Create Managed Private Cluster with fqdn subdomain specified. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createManagedPrivateClusterWithFqdnSubdomainSpecified( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .createOrUpdate( + "rg1", + "clustername1", + new ManagedClusterInner() + .withLocation("location1") + .withTags(mapOf("archv2", "", "tier", "production")) + .withSku( + new ManagedClusterSku() + .withName(ManagedClusterSkuName.BASIC) + .withTier(ManagedClusterSkuTier.FREE)) + .withKubernetesVersion("") + .withFqdnSubdomain("domain1") + .withAgentPoolProfiles( + Arrays + .asList( + new ManagedClusterAgentPoolProfile() + .withCount(3) + .withVmSize("Standard_DS2_v2") + .withOsType(OSType.LINUX) + .withType(AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS) + .withMode(AgentPoolMode.SYSTEM) + .withEnableNodePublicIp(true) + .withEnableEncryptionAtHost(true) + .withName("nodepool1"))) + .withLinuxProfile( + new ContainerServiceLinuxProfile() + .withAdminUsername("azureuser") + .withSsh( + new ContainerServiceSshConfiguration() + .withPublicKeys( + Arrays.asList(new ContainerServiceSshPublicKey().withKeyData("keydata"))))) + .withWindowsProfile( + new ManagedClusterWindowsProfile() + .withAdminUsername("azureuser") + .withAdminPassword("replacePassword1234$")) + .withServicePrincipalProfile( + new ManagedClusterServicePrincipalProfile().withClientId("clientid").withSecret("secret")) + .withAddonProfiles(mapOf()) + .withEnableRbac(true) + .withEnablePodSecurityPolicy(true) + .withNetworkProfile( + new ContainerServiceNetworkProfile() + .withOutboundType(OutboundType.LOAD_BALANCER) + .withLoadBalancerSku(LoadBalancerSku.STANDARD) + .withLoadBalancerProfile( + new ManagedClusterLoadBalancerProfile() + .withManagedOutboundIPs( + new ManagedClusterLoadBalancerProfileManagedOutboundIPs().withCount(2)))) + .withAutoScalerProfile( + new ManagedClusterPropertiesAutoScalerProfile() + .withScanInterval("20s") + .withScaleDownDelayAfterAdd("15m")) + .withApiServerAccessProfile( + new ManagedClusterApiServerAccessProfile() + .withEnablePrivateCluster(true) + .withPrivateDnsZone( + "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.Network/privateDnsZones/privatelink.location1.azmk8s.io")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_PrivateClusterFQDNSubdomain.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_PrivateClusterFQDNSubdomain.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_PrivateClusterFQDNSubdomain.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_PrivateClusterPublicFQDN.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_PrivateClusterPublicFQDN.java new file mode 100644 index 0000000000..c23f543d4d --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_PrivateClusterPublicFQDN.java @@ -0,0 +1,112 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterInner; +import com.azure.resourcemanager.containerservice.models.AgentPoolMode; +import com.azure.resourcemanager.containerservice.models.AgentPoolType; +import com.azure.resourcemanager.containerservice.models.ContainerServiceLinuxProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceNetworkProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshConfiguration; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshPublicKey; +import com.azure.resourcemanager.containerservice.models.LoadBalancerSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterAgentPoolProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterApiServerAccessProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfileManagedOutboundIPs; +import com.azure.resourcemanager.containerservice.models.ManagedClusterPropertiesAutoScalerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterServicePrincipalProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuName; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuTier; +import com.azure.resourcemanager.containerservice.models.ManagedClusterWindowsProfile; +import com.azure.resourcemanager.containerservice.models.OSType; +import com.azure.resourcemanager.containerservice.models.OutboundType; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for ManagedClusters CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersCreate_PrivateClusterPublicFQDN.json + */ + /** + * Sample code: Create Managed Private Cluster with Public FQDN specified. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createManagedPrivateClusterWithPublicFQDNSpecified( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .createOrUpdate( + "rg1", + "clustername1", + new ManagedClusterInner() + .withLocation("location1") + .withTags(mapOf("archv2", "", "tier", "production")) + .withSku( + new ManagedClusterSku() + .withName(ManagedClusterSkuName.BASIC) + .withTier(ManagedClusterSkuTier.FREE)) + .withKubernetesVersion("") + .withDnsPrefix("dnsprefix1") + .withAgentPoolProfiles( + Arrays + .asList( + new ManagedClusterAgentPoolProfile() + .withCount(3) + .withVmSize("Standard_DS2_v2") + .withOsType(OSType.LINUX) + .withType(AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS) + .withMode(AgentPoolMode.SYSTEM) + .withEnableNodePublicIp(true) + .withEnableEncryptionAtHost(true) + .withName("nodepool1"))) + .withLinuxProfile( + new ContainerServiceLinuxProfile() + .withAdminUsername("azureuser") + .withSsh( + new ContainerServiceSshConfiguration() + .withPublicKeys( + Arrays.asList(new ContainerServiceSshPublicKey().withKeyData("keydata"))))) + .withWindowsProfile( + new ManagedClusterWindowsProfile() + .withAdminUsername("azureuser") + .withAdminPassword("replacePassword1234$")) + .withServicePrincipalProfile( + new ManagedClusterServicePrincipalProfile().withClientId("clientid").withSecret("secret")) + .withAddonProfiles(mapOf()) + .withEnableRbac(true) + .withEnablePodSecurityPolicy(true) + .withNetworkProfile( + new ContainerServiceNetworkProfile() + .withOutboundType(OutboundType.LOAD_BALANCER) + .withLoadBalancerSku(LoadBalancerSku.STANDARD) + .withLoadBalancerProfile( + new ManagedClusterLoadBalancerProfile() + .withManagedOutboundIPs( + new ManagedClusterLoadBalancerProfileManagedOutboundIPs().withCount(2)))) + .withAutoScalerProfile( + new ManagedClusterPropertiesAutoScalerProfile() + .withScanInterval("20s") + .withScaleDownDelayAfterAdd("15m")) + .withApiServerAccessProfile( + new ManagedClusterApiServerAccessProfile() + .withEnablePrivateCluster(true) + .withEnablePrivateClusterPublicFqdn(true)), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_PrivateClusterPublicFQDN.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_PrivateClusterPublicFQDN.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_PrivateClusterPublicFQDN.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_SecurityProfile.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_SecurityProfile.java new file mode 100644 index 0000000000..93c4a90fa7 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_SecurityProfile.java @@ -0,0 +1,102 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterInner; +import com.azure.resourcemanager.containerservice.models.AgentPoolMode; +import com.azure.resourcemanager.containerservice.models.AgentPoolType; +import com.azure.resourcemanager.containerservice.models.ContainerServiceLinuxProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceNetworkProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshConfiguration; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshPublicKey; +import com.azure.resourcemanager.containerservice.models.LoadBalancerSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterAgentPoolProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfileManagedOutboundIPs; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSecurityProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSecurityProfileDefender; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSecurityProfileDefenderSecurityMonitoring; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuName; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuTier; +import com.azure.resourcemanager.containerservice.models.OSType; +import com.azure.resourcemanager.containerservice.models.OutboundType; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for ManagedClusters CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersCreate_SecurityProfile.json + */ + /** + * Sample code: Create Managed Cluster with Security Profile configured. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createManagedClusterWithSecurityProfileConfigured( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .createOrUpdate( + "rg1", + "clustername1", + new ManagedClusterInner() + .withLocation("location1") + .withTags(mapOf("archv2", "", "tier", "production")) + .withSku( + new ManagedClusterSku() + .withName(ManagedClusterSkuName.BASIC) + .withTier(ManagedClusterSkuTier.FREE)) + .withKubernetesVersion("") + .withDnsPrefix("dnsprefix1") + .withAgentPoolProfiles( + Arrays + .asList( + new ManagedClusterAgentPoolProfile() + .withCount(3) + .withVmSize("Standard_DS2_v2") + .withOsType(OSType.LINUX) + .withType(AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS) + .withMode(AgentPoolMode.SYSTEM) + .withEnableNodePublicIp(true) + .withName("nodepool1"))) + .withLinuxProfile( + new ContainerServiceLinuxProfile() + .withAdminUsername("azureuser") + .withSsh( + new ContainerServiceSshConfiguration() + .withPublicKeys( + Arrays.asList(new ContainerServiceSshPublicKey().withKeyData("keydata"))))) + .withNetworkProfile( + new ContainerServiceNetworkProfile() + .withOutboundType(OutboundType.LOAD_BALANCER) + .withLoadBalancerSku(LoadBalancerSku.STANDARD) + .withLoadBalancerProfile( + new ManagedClusterLoadBalancerProfile() + .withManagedOutboundIPs( + new ManagedClusterLoadBalancerProfileManagedOutboundIPs().withCount(2)))) + .withSecurityProfile( + new ManagedClusterSecurityProfile() + .withDefender( + new ManagedClusterSecurityProfileDefender() + .withLogAnalyticsWorkspaceResourceId( + "/subscriptions/SUB_ID/resourcegroups/RG_NAME/providers/microsoft.operationalinsights/workspaces/WORKSPACE_NAME") + .withSecurityMonitoring( + new ManagedClusterSecurityProfileDefenderSecurityMonitoring() + .withEnabled(true)))), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_SecurityProfile.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_SecurityProfile.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_SecurityProfile.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_Snapshot.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_Snapshot.java new file mode 100644 index 0000000000..d2e360e000 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_Snapshot.java @@ -0,0 +1,114 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterInner; +import com.azure.resourcemanager.containerservice.models.AgentPoolMode; +import com.azure.resourcemanager.containerservice.models.AgentPoolType; +import com.azure.resourcemanager.containerservice.models.ContainerServiceLinuxProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceNetworkProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshConfiguration; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshPublicKey; +import com.azure.resourcemanager.containerservice.models.CreationData; +import com.azure.resourcemanager.containerservice.models.LoadBalancerSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterAgentPoolProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfileManagedOutboundIPs; +import com.azure.resourcemanager.containerservice.models.ManagedClusterPropertiesAutoScalerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterServicePrincipalProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuName; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuTier; +import com.azure.resourcemanager.containerservice.models.ManagedClusterWindowsProfile; +import com.azure.resourcemanager.containerservice.models.OSType; +import com.azure.resourcemanager.containerservice.models.OutboundType; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for ManagedClusters CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersCreate_Snapshot.json + */ + /** + * Sample code: Create Managed Cluster using an agent pool snapshot. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createManagedClusterUsingAnAgentPoolSnapshot( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .createOrUpdate( + "rg1", + "clustername1", + new ManagedClusterInner() + .withLocation("location1") + .withTags(mapOf("archv2", "", "tier", "production")) + .withSku( + new ManagedClusterSku() + .withName(ManagedClusterSkuName.BASIC) + .withTier(ManagedClusterSkuTier.FREE)) + .withKubernetesVersion("") + .withDnsPrefix("dnsprefix1") + .withAgentPoolProfiles( + Arrays + .asList( + new ManagedClusterAgentPoolProfile() + .withCount(3) + .withVmSize("Standard_DS2_v2") + .withOsType(OSType.LINUX) + .withType(AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS) + .withMode(AgentPoolMode.SYSTEM) + .withEnableNodePublicIp(true) + .withEnableFips(true) + .withCreationData( + new CreationData() + .withSourceResourceId( + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.ContainerService/snapshots/snapshot1")) + .withName("nodepool1"))) + .withLinuxProfile( + new ContainerServiceLinuxProfile() + .withAdminUsername("azureuser") + .withSsh( + new ContainerServiceSshConfiguration() + .withPublicKeys( + Arrays.asList(new ContainerServiceSshPublicKey().withKeyData("keydata"))))) + .withWindowsProfile( + new ManagedClusterWindowsProfile() + .withAdminUsername("azureuser") + .withAdminPassword("replacePassword1234$")) + .withServicePrincipalProfile( + new ManagedClusterServicePrincipalProfile().withClientId("clientid").withSecret("secret")) + .withAddonProfiles(mapOf()) + .withEnableRbac(true) + .withEnablePodSecurityPolicy(false) + .withNetworkProfile( + new ContainerServiceNetworkProfile() + .withOutboundType(OutboundType.LOAD_BALANCER) + .withLoadBalancerSku(LoadBalancerSku.STANDARD) + .withLoadBalancerProfile( + new ManagedClusterLoadBalancerProfile() + .withManagedOutboundIPs( + new ManagedClusterLoadBalancerProfileManagedOutboundIPs().withCount(2)))) + .withAutoScalerProfile( + new ManagedClusterPropertiesAutoScalerProfile() + .withScanInterval("20s") + .withScaleDownDelayAfterAdd("15m")) + .withDiskEncryptionSetId( + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_Snapshot.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_Snapshot.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_Snapshot.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_Update.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_Update.java new file mode 100644 index 0000000000..3349078697 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_Update.java @@ -0,0 +1,126 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterInner; +import com.azure.resourcemanager.containerservice.models.AgentPoolMode; +import com.azure.resourcemanager.containerservice.models.AgentPoolType; +import com.azure.resourcemanager.containerservice.models.ContainerServiceLinuxProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceNetworkProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshConfiguration; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshPublicKey; +import com.azure.resourcemanager.containerservice.models.Expander; +import com.azure.resourcemanager.containerservice.models.LoadBalancerSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterAgentPoolProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterIdentity; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfileManagedOutboundIPs; +import com.azure.resourcemanager.containerservice.models.ManagedClusterPropertiesAutoScalerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterServicePrincipalProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuName; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuTier; +import com.azure.resourcemanager.containerservice.models.ManagedClusterWindowsProfile; +import com.azure.resourcemanager.containerservice.models.ManagedServiceIdentityUserAssignedIdentitiesValue; +import com.azure.resourcemanager.containerservice.models.OSType; +import com.azure.resourcemanager.containerservice.models.OutboundType; +import com.azure.resourcemanager.containerservice.models.ResourceIdentityType; +import com.azure.resourcemanager.containerservice.models.ScaleDownMode; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for ManagedClusters CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersCreate_Update.json + */ + /** + * Sample code: Create/Update Managed Cluster. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createUpdateManagedCluster(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .createOrUpdate( + "rg1", + "clustername1", + new ManagedClusterInner() + .withLocation("location1") + .withTags(mapOf("archv2", "", "tier", "production")) + .withSku( + new ManagedClusterSku() + .withName(ManagedClusterSkuName.BASIC) + .withTier(ManagedClusterSkuTier.FREE)) + .withIdentity( + new ManagedClusterIdentity() + .withType(ResourceIdentityType.USER_ASSIGNED) + .withUserAssignedIdentities( + mapOf( + "/subscriptions/subid1/resourceGroups/rgName1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1", + new ManagedServiceIdentityUserAssignedIdentitiesValue()))) + .withKubernetesVersion("") + .withDnsPrefix("dnsprefix1") + .withAgentPoolProfiles( + Arrays + .asList( + new ManagedClusterAgentPoolProfile() + .withCount(3) + .withVmSize("Standard_DS1_v2") + .withOsType(OSType.LINUX) + .withScaleDownMode(ScaleDownMode.DEALLOCATE) + .withType(AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS) + .withMode(AgentPoolMode.SYSTEM) + .withAvailabilityZones(Arrays.asList("1", "2", "3")) + .withEnableNodePublicIp(true) + .withName("nodepool1"))) + .withLinuxProfile( + new ContainerServiceLinuxProfile() + .withAdminUsername("azureuser") + .withSsh( + new ContainerServiceSshConfiguration() + .withPublicKeys( + Arrays.asList(new ContainerServiceSshPublicKey().withKeyData("keydata"))))) + .withWindowsProfile( + new ManagedClusterWindowsProfile() + .withAdminUsername("azureuser") + .withAdminPassword("replacePassword1234$")) + .withServicePrincipalProfile( + new ManagedClusterServicePrincipalProfile().withClientId("clientid").withSecret("secret")) + .withAddonProfiles(mapOf()) + .withEnableRbac(true) + .withEnablePodSecurityPolicy(true) + .withNetworkProfile( + new ContainerServiceNetworkProfile() + .withOutboundType(OutboundType.LOAD_BALANCER) + .withLoadBalancerSku(LoadBalancerSku.STANDARD) + .withLoadBalancerProfile( + new ManagedClusterLoadBalancerProfile() + .withManagedOutboundIPs( + new ManagedClusterLoadBalancerProfileManagedOutboundIPs().withCount(2)))) + .withAutoScalerProfile( + new ManagedClusterPropertiesAutoScalerProfile() + .withBalanceSimilarNodeGroups("true") + .withExpander(Expander.PRIORITY) + .withMaxNodeProvisionTime("15m") + .withNewPodScaleUpDelay("1m") + .withScanInterval("20s") + .withScaleDownDelayAfterAdd("15m") + .withSkipNodesWithSystemPods("false")) + .withDiskEncryptionSetId( + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_Update.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_Update.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_Update.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_UpdateWindowsGmsa.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_UpdateWindowsGmsa.java new file mode 100644 index 0000000000..bbb78860cb --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_UpdateWindowsGmsa.java @@ -0,0 +1,121 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterInner; +import com.azure.resourcemanager.containerservice.models.AgentPoolMode; +import com.azure.resourcemanager.containerservice.models.AgentPoolType; +import com.azure.resourcemanager.containerservice.models.ContainerServiceLinuxProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceNetworkProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshConfiguration; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshPublicKey; +import com.azure.resourcemanager.containerservice.models.LoadBalancerSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterAgentPoolProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterIdentity; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfileManagedOutboundIPs; +import com.azure.resourcemanager.containerservice.models.ManagedClusterPropertiesAutoScalerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterServicePrincipalProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuName; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuTier; +import com.azure.resourcemanager.containerservice.models.ManagedClusterWindowsProfile; +import com.azure.resourcemanager.containerservice.models.ManagedServiceIdentityUserAssignedIdentitiesValue; +import com.azure.resourcemanager.containerservice.models.OSType; +import com.azure.resourcemanager.containerservice.models.OutboundType; +import com.azure.resourcemanager.containerservice.models.ResourceIdentityType; +import com.azure.resourcemanager.containerservice.models.WindowsGmsaProfile; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for ManagedClusters CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersCreate_UpdateWindowsGmsa.json + */ + /** + * Sample code: Create/Update Managed Cluster with Windows gMSA enabled. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createUpdateManagedClusterWithWindowsGMSAEnabled( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .createOrUpdate( + "rg1", + "clustername1", + new ManagedClusterInner() + .withLocation("location1") + .withTags(mapOf("archv2", "", "tier", "production")) + .withSku( + new ManagedClusterSku() + .withName(ManagedClusterSkuName.BASIC) + .withTier(ManagedClusterSkuTier.FREE)) + .withIdentity( + new ManagedClusterIdentity() + .withType(ResourceIdentityType.USER_ASSIGNED) + .withUserAssignedIdentities( + mapOf( + "/subscriptions/subid1/resourceGroups/rgName1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1", + new ManagedServiceIdentityUserAssignedIdentitiesValue()))) + .withKubernetesVersion("") + .withDnsPrefix("dnsprefix1") + .withAgentPoolProfiles( + Arrays + .asList( + new ManagedClusterAgentPoolProfile() + .withCount(3) + .withVmSize("Standard_DS1_v2") + .withOsType(OSType.LINUX) + .withType(AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS) + .withMode(AgentPoolMode.SYSTEM) + .withAvailabilityZones(Arrays.asList("1", "2", "3")) + .withEnableNodePublicIp(true) + .withName("nodepool1"))) + .withLinuxProfile( + new ContainerServiceLinuxProfile() + .withAdminUsername("azureuser") + .withSsh( + new ContainerServiceSshConfiguration() + .withPublicKeys( + Arrays.asList(new ContainerServiceSshPublicKey().withKeyData("keydata"))))) + .withWindowsProfile( + new ManagedClusterWindowsProfile() + .withAdminUsername("azureuser") + .withAdminPassword("replacePassword1234$") + .withGmsaProfile(new WindowsGmsaProfile().withEnabled(true))) + .withServicePrincipalProfile( + new ManagedClusterServicePrincipalProfile().withClientId("clientid").withSecret("secret")) + .withAddonProfiles(mapOf()) + .withEnableRbac(true) + .withEnablePodSecurityPolicy(true) + .withNetworkProfile( + new ContainerServiceNetworkProfile() + .withOutboundType(OutboundType.LOAD_BALANCER) + .withLoadBalancerSku(LoadBalancerSku.STANDARD) + .withLoadBalancerProfile( + new ManagedClusterLoadBalancerProfile() + .withManagedOutboundIPs( + new ManagedClusterLoadBalancerProfileManagedOutboundIPs().withCount(2)))) + .withAutoScalerProfile( + new ManagedClusterPropertiesAutoScalerProfile() + .withScanInterval("20s") + .withScaleDownDelayAfterAdd("15m")) + .withDiskEncryptionSetId( + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_UpdateWindowsGmsa.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_UpdateWindowsGmsa.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_UpdateWindowsGmsa.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_UpdateWithAHUB.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_UpdateWithAHUB.java new file mode 100644 index 0000000000..18f84c5d5a --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_UpdateWithAHUB.java @@ -0,0 +1,120 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterInner; +import com.azure.resourcemanager.containerservice.models.AgentPoolMode; +import com.azure.resourcemanager.containerservice.models.AgentPoolType; +import com.azure.resourcemanager.containerservice.models.ContainerServiceLinuxProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceNetworkProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshConfiguration; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshPublicKey; +import com.azure.resourcemanager.containerservice.models.LicenseType; +import com.azure.resourcemanager.containerservice.models.LoadBalancerSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterAgentPoolProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterIdentity; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfileManagedOutboundIPs; +import com.azure.resourcemanager.containerservice.models.ManagedClusterPropertiesAutoScalerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterServicePrincipalProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuName; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuTier; +import com.azure.resourcemanager.containerservice.models.ManagedClusterWindowsProfile; +import com.azure.resourcemanager.containerservice.models.ManagedServiceIdentityUserAssignedIdentitiesValue; +import com.azure.resourcemanager.containerservice.models.OSType; +import com.azure.resourcemanager.containerservice.models.OutboundType; +import com.azure.resourcemanager.containerservice.models.ResourceIdentityType; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for ManagedClusters CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersCreate_UpdateWithAHUB.json + */ + /** + * Sample code: Create/Update Managed Cluster with EnableAHUB. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createUpdateManagedClusterWithEnableAHUB(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .createOrUpdate( + "rg1", + "clustername1", + new ManagedClusterInner() + .withLocation("location1") + .withTags(mapOf("archv2", "", "tier", "production")) + .withSku( + new ManagedClusterSku() + .withName(ManagedClusterSkuName.BASIC) + .withTier(ManagedClusterSkuTier.FREE)) + .withIdentity( + new ManagedClusterIdentity() + .withType(ResourceIdentityType.USER_ASSIGNED) + .withUserAssignedIdentities( + mapOf( + "/subscriptions/subid1/resourceGroups/rgName1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1", + new ManagedServiceIdentityUserAssignedIdentitiesValue()))) + .withKubernetesVersion("") + .withDnsPrefix("dnsprefix1") + .withAgentPoolProfiles( + Arrays + .asList( + new ManagedClusterAgentPoolProfile() + .withCount(3) + .withVmSize("Standard_DS1_v2") + .withOsType(OSType.LINUX) + .withType(AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS) + .withMode(AgentPoolMode.SYSTEM) + .withAvailabilityZones(Arrays.asList("1", "2", "3")) + .withEnableNodePublicIp(true) + .withName("nodepool1"))) + .withLinuxProfile( + new ContainerServiceLinuxProfile() + .withAdminUsername("azureuser") + .withSsh( + new ContainerServiceSshConfiguration() + .withPublicKeys( + Arrays.asList(new ContainerServiceSshPublicKey().withKeyData("keydata"))))) + .withWindowsProfile( + new ManagedClusterWindowsProfile() + .withAdminUsername("azureuser") + .withAdminPassword("replacePassword1234$") + .withLicenseType(LicenseType.WINDOWS_SERVER)) + .withServicePrincipalProfile( + new ManagedClusterServicePrincipalProfile().withClientId("clientid").withSecret("secret")) + .withAddonProfiles(mapOf()) + .withEnableRbac(true) + .withEnablePodSecurityPolicy(true) + .withNetworkProfile( + new ContainerServiceNetworkProfile() + .withOutboundType(OutboundType.LOAD_BALANCER) + .withLoadBalancerSku(LoadBalancerSku.STANDARD) + .withLoadBalancerProfile( + new ManagedClusterLoadBalancerProfile() + .withManagedOutboundIPs( + new ManagedClusterLoadBalancerProfileManagedOutboundIPs().withCount(2)))) + .withAutoScalerProfile( + new ManagedClusterPropertiesAutoScalerProfile() + .withScanInterval("20s") + .withScaleDownDelayAfterAdd("15m")) + .withDiskEncryptionSetId( + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_UpdateWithAHUB.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_UpdateWithAHUB.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_UpdateWithAHUB.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_UpdateWithEnableAzureRBAC.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_UpdateWithEnableAzureRBAC.java new file mode 100644 index 0000000000..5d5c458cb7 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_UpdateWithEnableAzureRBAC.java @@ -0,0 +1,111 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterInner; +import com.azure.resourcemanager.containerservice.models.AgentPoolMode; +import com.azure.resourcemanager.containerservice.models.AgentPoolType; +import com.azure.resourcemanager.containerservice.models.ContainerServiceLinuxProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceNetworkProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshConfiguration; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshPublicKey; +import com.azure.resourcemanager.containerservice.models.LoadBalancerSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterAadProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterAgentPoolProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterLoadBalancerProfileManagedOutboundIPs; +import com.azure.resourcemanager.containerservice.models.ManagedClusterPropertiesAutoScalerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterServicePrincipalProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuName; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuTier; +import com.azure.resourcemanager.containerservice.models.ManagedClusterWindowsProfile; +import com.azure.resourcemanager.containerservice.models.OSType; +import com.azure.resourcemanager.containerservice.models.OutboundType; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for ManagedClusters CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersCreate_UpdateWithEnableAzureRBAC.json + */ + /** + * Sample code: Create/Update AAD Managed Cluster with EnableAzureRBAC. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createUpdateAADManagedClusterWithEnableAzureRBAC( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .createOrUpdate( + "rg1", + "clustername1", + new ManagedClusterInner() + .withLocation("location1") + .withTags(mapOf("archv2", "", "tier", "production")) + .withSku( + new ManagedClusterSku() + .withName(ManagedClusterSkuName.BASIC) + .withTier(ManagedClusterSkuTier.FREE)) + .withKubernetesVersion("") + .withDnsPrefix("dnsprefix1") + .withAgentPoolProfiles( + Arrays + .asList( + new ManagedClusterAgentPoolProfile() + .withCount(3) + .withVmSize("Standard_DS1_v2") + .withOsType(OSType.LINUX) + .withType(AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS) + .withMode(AgentPoolMode.SYSTEM) + .withAvailabilityZones(Arrays.asList("1", "2", "3")) + .withEnableNodePublicIp(true) + .withName("nodepool1"))) + .withLinuxProfile( + new ContainerServiceLinuxProfile() + .withAdminUsername("azureuser") + .withSsh( + new ContainerServiceSshConfiguration() + .withPublicKeys( + Arrays.asList(new ContainerServiceSshPublicKey().withKeyData("keydata"))))) + .withWindowsProfile( + new ManagedClusterWindowsProfile() + .withAdminUsername("azureuser") + .withAdminPassword("replacePassword1234$")) + .withServicePrincipalProfile( + new ManagedClusterServicePrincipalProfile().withClientId("clientid").withSecret("secret")) + .withAddonProfiles(mapOf()) + .withEnableRbac(true) + .withEnablePodSecurityPolicy(true) + .withNetworkProfile( + new ContainerServiceNetworkProfile() + .withOutboundType(OutboundType.LOAD_BALANCER) + .withLoadBalancerSku(LoadBalancerSku.STANDARD) + .withLoadBalancerProfile( + new ManagedClusterLoadBalancerProfile() + .withManagedOutboundIPs( + new ManagedClusterLoadBalancerProfileManagedOutboundIPs().withCount(2)))) + .withAadProfile(new ManagedClusterAadProfile().withManaged(true).withEnableAzureRbac(true)) + .withAutoScalerProfile( + new ManagedClusterPropertiesAutoScalerProfile() + .withScanInterval("20s") + .withScaleDownDelayAfterAdd("15m")) + .withDiskEncryptionSetId( + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_UpdateWithEnableAzureRBAC.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_UpdateWithEnableAzureRBAC.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_UpdateWithEnableAzureRBAC.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_UserAssignedNATGateway.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_UserAssignedNATGateway.java new file mode 100644 index 0000000000..5840c5c10b --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_UserAssignedNATGateway.java @@ -0,0 +1,102 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterInner; +import com.azure.resourcemanager.containerservice.models.AgentPoolMode; +import com.azure.resourcemanager.containerservice.models.AgentPoolType; +import com.azure.resourcemanager.containerservice.models.ContainerServiceLinuxProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceNetworkProfile; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshConfiguration; +import com.azure.resourcemanager.containerservice.models.ContainerServiceSshPublicKey; +import com.azure.resourcemanager.containerservice.models.LoadBalancerSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterAgentPoolProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterPropertiesAutoScalerProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterServicePrincipalProfile; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSku; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuName; +import com.azure.resourcemanager.containerservice.models.ManagedClusterSkuTier; +import com.azure.resourcemanager.containerservice.models.ManagedClusterWindowsProfile; +import com.azure.resourcemanager.containerservice.models.OSType; +import com.azure.resourcemanager.containerservice.models.OutboundType; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for ManagedClusters CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersCreate_UserAssignedNATGateway.json + */ + /** + * Sample code: Create Managed Cluster with user-assigned NAT gateway as outbound type. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createManagedClusterWithUserAssignedNATGatewayAsOutboundType( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .createOrUpdate( + "rg1", + "clustername1", + new ManagedClusterInner() + .withLocation("location1") + .withTags(mapOf("archv2", "", "tier", "production")) + .withSku( + new ManagedClusterSku() + .withName(ManagedClusterSkuName.BASIC) + .withTier(ManagedClusterSkuTier.FREE)) + .withKubernetesVersion("") + .withDnsPrefix("dnsprefix1") + .withAgentPoolProfiles( + Arrays + .asList( + new ManagedClusterAgentPoolProfile() + .withCount(3) + .withVmSize("Standard_DS2_v2") + .withOsType(OSType.LINUX) + .withType(AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS) + .withMode(AgentPoolMode.SYSTEM) + .withEnableNodePublicIp(false) + .withName("nodepool1"))) + .withLinuxProfile( + new ContainerServiceLinuxProfile() + .withAdminUsername("azureuser") + .withSsh( + new ContainerServiceSshConfiguration() + .withPublicKeys( + Arrays.asList(new ContainerServiceSshPublicKey().withKeyData("keydata"))))) + .withWindowsProfile( + new ManagedClusterWindowsProfile() + .withAdminUsername("azureuser") + .withAdminPassword("replacePassword1234$")) + .withServicePrincipalProfile( + new ManagedClusterServicePrincipalProfile().withClientId("clientid").withSecret("secret")) + .withAddonProfiles(mapOf()) + .withEnableRbac(true) + .withEnablePodSecurityPolicy(true) + .withNetworkProfile( + new ContainerServiceNetworkProfile() + .withOutboundType(OutboundType.USER_ASSIGNED_NATGATEWAY) + .withLoadBalancerSku(LoadBalancerSku.STANDARD)) + .withAutoScalerProfile( + new ManagedClusterPropertiesAutoScalerProfile() + .withScanInterval("20s") + .withScaleDownDelayAfterAdd("15m")) + .withDiskEncryptionSetId( + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_UserAssignedNATGateway.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_UserAssignedNATGateway.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersCreate_UserAssignedNATGateway.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersDelete.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersDelete.java new file mode 100644 index 0000000000..dc02c6321b --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ManagedClusters Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersDelete.json + */ + /** + * Sample code: Delete Managed Cluster. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteManagedCluster(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .delete("rg1", "clustername1", Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersDelete.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersGet.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersGet.java new file mode 100644 index 0000000000..b33c996b3a --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ManagedClusters GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersGet.json + */ + /** + * Sample code: Get Managed Cluster. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getManagedCluster(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .getByResourceGroupWithResponse("rg1", "clustername1", Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersGet.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersGetAccessProfile.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersGetAccessProfile.java new file mode 100644 index 0000000000..f68e2f1344 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersGetAccessProfile.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ManagedClusters GetAccessProfile. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersGetAccessProfile.json + */ + /** + * Sample code: Get Managed Cluster. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getManagedCluster(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .getAccessProfileWithResponse("rg1", "clustername1", "clusterUser", Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersGetAccessProfile.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersGetAccessProfile.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersGetAccessProfile.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersGetUpgradeProfile.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersGetUpgradeProfile.java new file mode 100644 index 0000000000..b6a4e07dd8 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersGetUpgradeProfile.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ManagedClusters GetUpgradeProfile. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersGetUpgradeProfile.json + */ + /** + * Sample code: Get Upgrade Profile for Managed Cluster. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getUpgradeProfileForManagedCluster(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .getUpgradeProfileWithResponse("rg1", "clustername1", Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersGetUpgradeProfile.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersGetUpgradeProfile.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersGetUpgradeProfile.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersList.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersList.java new file mode 100644 index 0000000000..b21ef5b4a7 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for ManagedClusters List. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersList.json + */ + /** + * Sample code: List Managed Clusters. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listManagedClusters(com.azure.resourcemanager.AzureResourceManager azure) { + azure.kubernetesClusters().manager().serviceClient().getManagedClusters().list(Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersList.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersListByResourceGroup.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersListByResourceGroup.java new file mode 100644 index 0000000000..d8ab2cf710 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersListByResourceGroup.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ManagedClusters ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersListByResourceGroup.json + */ + /** + * Sample code: Get Managed Clusters by Resource Group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getManagedClustersByResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersListByResourceGroup.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersListByResourceGroup.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersListByResourceGroup.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersListClusterAdminCredentials.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersListClusterAdminCredentials.java new file mode 100644 index 0000000000..a29b3e9e98 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersListClusterAdminCredentials.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ManagedClusters ListClusterAdminCredentials. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersListClusterAdminCredentials.json + */ + /** + * Sample code: Get Managed Cluster. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getManagedCluster(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .listClusterAdminCredentialsWithResponse("rg1", "clustername1", null, Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersListClusterAdminCredentials.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersListClusterAdminCredentials.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersListClusterAdminCredentials.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersListClusterMonitoringUserCredentials.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersListClusterMonitoringUserCredentials.java new file mode 100644 index 0000000000..43faeaf1c6 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersListClusterMonitoringUserCredentials.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ManagedClusters ListClusterMonitoringUserCredentials. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersListClusterMonitoringUserCredentials.json + */ + /** + * Sample code: Get Managed Cluster. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getManagedCluster(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .listClusterMonitoringUserCredentialsWithResponse("rg1", "clustername1", null, Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersListClusterMonitoringUserCredentials.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersListClusterMonitoringUserCredentials.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersListClusterMonitoringUserCredentials.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersListClusterUserCredentials.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersListClusterUserCredentials.java new file mode 100644 index 0000000000..6b225b8473 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersListClusterUserCredentials.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ManagedClusters ListClusterUserCredentials. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersListClusterUserCredentials.json + */ + /** + * Sample code: Get Managed Cluster. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getManagedCluster(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .listClusterUserCredentialsWithResponse("rg1", "clustername1", null, null, Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersListClusterUserCredentials.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersListClusterUserCredentials.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersListClusterUserCredentials.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersResetAADProfile.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersResetAADProfile.java new file mode 100644 index 0000000000..2231caaa37 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersResetAADProfile.java @@ -0,0 +1,30 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.models.ManagedClusterAadProfile; + +/** Samples for ManagedClusters ResetAadProfile. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersResetAADProfile.json + */ + /** + * Sample code: Reset AAD Profile. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void resetAADProfile(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .resetAadProfile( + "rg1", + "clustername1", + new ManagedClusterAadProfile() + .withClientAppId("clientappid") + .withServerAppId("serverappid") + .withServerAppSecret("serverappsecret") + .withTenantId("tenantid"), + Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersResetAADProfile.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersResetAADProfile.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersResetAADProfile.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersResetServicePrincipalProfile.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersResetServicePrincipalProfile.java new file mode 100644 index 0000000000..f4e2f973cb --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersResetServicePrincipalProfile.java @@ -0,0 +1,26 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.models.ManagedClusterServicePrincipalProfile; + +/** Samples for ManagedClusters ResetServicePrincipalProfile. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersResetServicePrincipalProfile.json + */ + /** + * Sample code: Reset Service Principal Profile. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void resetServicePrincipalProfile(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .resetServicePrincipalProfile( + "rg1", + "clustername1", + new ManagedClusterServicePrincipalProfile().withClientId("clientid").withSecret("secret"), + Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersResetServicePrincipalProfile.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersResetServicePrincipalProfile.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersResetServicePrincipalProfile.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersRotateClusterCertificates.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersRotateClusterCertificates.java new file mode 100644 index 0000000000..5dde3d186a --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersRotateClusterCertificates.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ManagedClusters RotateClusterCertificates. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersRotateClusterCertificates.json + */ + /** + * Sample code: Rotate Cluster Certificates. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void rotateClusterCertificates(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .rotateClusterCertificates("rg1", "clustername1", Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersRotateClusterCertificates.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersRotateClusterCertificates.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersRotateClusterCertificates.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersStart.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersStart.java new file mode 100644 index 0000000000..dc3d83320c --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersStart.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ManagedClusters Start. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersStart.json + */ + /** + * Sample code: Start Managed Cluster. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void startManagedCluster(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .start("rg1", "clustername1", Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersStart.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersStart.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersStart.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersStop.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersStop.java new file mode 100644 index 0000000000..43831f7509 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersStop.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ManagedClusters Stop. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersStop.json + */ + /** + * Sample code: Stop Managed Cluster. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void stopManagedCluster(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .stop("rg1", "clustername1", Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersStop.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersStop.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersStop.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersUpdateTags.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersUpdateTags.java new file mode 100644 index 0000000000..83040a02c1 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersUpdateTags.java @@ -0,0 +1,36 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for ManagedClusters UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ManagedClustersUpdateTags.json + */ + /** + * Sample code: Update Managed Cluster Tags. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateManagedClusterTags(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .updateTags( + "rg1", "clustername1", new TagsObject().withTags(mapOf("archv3", "", "tier", "testing")), Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersUpdateTags.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ManagedClustersUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/Operation_List.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/Operation_List.java new file mode 100644 index 0000000000..445898d2b1 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/Operation_List.java @@ -0,0 +1,17 @@ +import com.azure.core.util.Context; + +/** Samples for Operations List. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/Operation_List.json + */ + /** + * Sample code: List available operations for the container service resource provider. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAvailableOperationsForTheContainerServiceResourceProvider( + com.azure.resourcemanager.AzureResourceManager azure) { + azure.kubernetesClusters().manager().serviceClient().getOperations().list(Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/Operation_List.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/Operation_List.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/Operation_List.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/OutboundNetworkDependenciesEndpointsList.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/OutboundNetworkDependenciesEndpointsList.java new file mode 100644 index 0000000000..a60ad794ed --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/OutboundNetworkDependenciesEndpointsList.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for ManagedClusters ListOutboundNetworkDependenciesEndpoints. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/OutboundNetworkDependenciesEndpointsList.json + */ + /** + * Sample code: List OutboundNetworkDependenciesEndpoints by Managed Cluster. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listOutboundNetworkDependenciesEndpointsByManagedCluster( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .listOutboundNetworkDependenciesEndpoints("rg1", "clustername1", Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/OutboundNetworkDependenciesEndpointsList.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/OutboundNetworkDependenciesEndpointsList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/OutboundNetworkDependenciesEndpointsList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/PrivateEndpointConnectionsDelete.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/PrivateEndpointConnectionsDelete.java new file mode 100644 index 0000000000..e7cb580856 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/PrivateEndpointConnectionsDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateEndpointConnections Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/PrivateEndpointConnectionsDelete.json + */ + /** + * Sample code: Delete Private Endpoint Connection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deletePrivateEndpointConnection(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getPrivateEndpointConnections() + .delete("rg1", "clustername1", "privateendpointconnection1", Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/PrivateEndpointConnectionsDelete.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/PrivateEndpointConnectionsDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/PrivateEndpointConnectionsDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/PrivateEndpointConnectionsGet.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/PrivateEndpointConnectionsGet.java new file mode 100644 index 0000000000..a8a2c8d191 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/PrivateEndpointConnectionsGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateEndpointConnections Get. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/PrivateEndpointConnectionsGet.json + */ + /** + * Sample code: Get Private Endpoint Connection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getPrivateEndpointConnection(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getPrivateEndpointConnections() + .getWithResponse("rg1", "clustername1", "privateendpointconnection1", Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/PrivateEndpointConnectionsGet.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/PrivateEndpointConnectionsGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/PrivateEndpointConnectionsGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/PrivateEndpointConnectionsList.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/PrivateEndpointConnectionsList.java new file mode 100644 index 0000000000..62cd0c74af --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/PrivateEndpointConnectionsList.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateEndpointConnections List. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/PrivateEndpointConnectionsList.json + */ + /** + * Sample code: List Private Endpoint Connections by Managed Cluster. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listPrivateEndpointConnectionsByManagedCluster( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getPrivateEndpointConnections() + .listWithResponse("rg1", "clustername1", Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/PrivateEndpointConnectionsList.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/PrivateEndpointConnectionsList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/PrivateEndpointConnectionsList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/PrivateEndpointConnectionsUpdate.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/PrivateEndpointConnectionsUpdate.java new file mode 100644 index 0000000000..62ccc4903f --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/PrivateEndpointConnectionsUpdate.java @@ -0,0 +1,31 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.PrivateEndpointConnectionInner; +import com.azure.resourcemanager.containerservice.models.ConnectionStatus; +import com.azure.resourcemanager.containerservice.models.PrivateLinkServiceConnectionState; + +/** Samples for PrivateEndpointConnections Update. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/PrivateEndpointConnectionsUpdate.json + */ + /** + * Sample code: Update Private Endpoint Connection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updatePrivateEndpointConnection(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getPrivateEndpointConnections() + .updateWithResponse( + "rg1", + "clustername1", + "privateendpointconnection1", + new PrivateEndpointConnectionInner() + .withPrivateLinkServiceConnectionState( + new PrivateLinkServiceConnectionState().withStatus(ConnectionStatus.APPROVED)), + Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/PrivateEndpointConnectionsUpdate.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/PrivateEndpointConnectionsUpdate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/PrivateEndpointConnectionsUpdate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/PrivateLinkResourcesList.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/PrivateLinkResourcesList.java new file mode 100644 index 0000000000..a4a57393c1 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/PrivateLinkResourcesList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateLinkResources List. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/PrivateLinkResourcesList.json + */ + /** + * Sample code: List Private Link Resources by Managed Cluster. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listPrivateLinkResourcesByManagedCluster(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getPrivateLinkResources() + .listWithResponse("rg1", "clustername1", Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/PrivateLinkResourcesList.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/PrivateLinkResourcesList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/PrivateLinkResourcesList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ResolvePrivateLinkServiceId.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ResolvePrivateLinkServiceId.java new file mode 100644 index 0000000000..40da30a34e --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ResolvePrivateLinkServiceId.java @@ -0,0 +1,24 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.PrivateLinkResourceInner; + +/** Samples for ResolvePrivateLinkServiceId Post. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/ResolvePrivateLinkServiceId.json + */ + /** + * Sample code: Resolve the Private Link Service ID for Managed Cluster. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void resolveThePrivateLinkServiceIDForManagedCluster( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getResolvePrivateLinkServiceIds() + .postWithResponse( + "rg1", "clustername1", new PrivateLinkResourceInner().withName("management"), Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ResolvePrivateLinkServiceId.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ResolvePrivateLinkServiceId.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/ResolvePrivateLinkServiceId.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/RunCommandRequest.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/RunCommandRequest.java new file mode 100644 index 0000000000..66d2bddf19 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/RunCommandRequest.java @@ -0,0 +1,26 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.models.RunCommandRequest; + +/** Samples for ManagedClusters RunCommand. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/RunCommandRequest.json + */ + /** + * Sample code: submitNewCommand. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void submitNewCommand(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .runCommand( + "rg1", + "clustername1", + new RunCommandRequest().withCommand("kubectl apply -f ns.yaml").withContext("").withClusterToken(""), + Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/RunCommandRequest.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/RunCommandRequest.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/RunCommandRequest.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/RunCommandResultFailed.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/RunCommandResultFailed.java new file mode 100644 index 0000000000..ca56e28d84 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/RunCommandResultFailed.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ManagedClusters GetCommandResult. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/RunCommandResultFailed.json + */ + /** + * Sample code: commandFailedResult. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void commandFailedResult(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .getCommandResultWithResponse("rg1", "clustername1", "def7b3ea71bd4f7e9d226ddbc0f00ad9", Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/RunCommandResultFailed.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/RunCommandResultFailed.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/RunCommandResultFailed.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/RunCommandResultSucceed.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/RunCommandResultSucceed.java new file mode 100644 index 0000000000..ee0b31065d --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/RunCommandResultSucceed.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ManagedClusters GetCommandResult. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/RunCommandResultSucceed.json + */ + /** + * Sample code: commandSucceedResult. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void commandSucceedResult(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getManagedClusters() + .getCommandResultWithResponse("rg1", "clustername1", "def7b3ea71bd4f7e9d226ddbc0f00ad9", Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/RunCommandResultSucceed.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/RunCommandResultSucceed.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/RunCommandResultSucceed.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsCreate.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsCreate.java new file mode 100644 index 0000000000..70da2a1655 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsCreate.java @@ -0,0 +1,46 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.fluent.models.SnapshotInner; +import com.azure.resourcemanager.containerservice.models.CreationData; +import java.util.HashMap; +import java.util.Map; + +/** Samples for Snapshots CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/SnapshotsCreate.json + */ + /** + * Sample code: Create/Update Snapshot. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createUpdateSnapshot(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getSnapshots() + .createOrUpdateWithResponse( + "rg1", + "snapshot1", + new SnapshotInner() + .withLocation("westus") + .withTags(mapOf("key1", "val1", "key2", "val2")) + .withCreationData( + new CreationData() + .withSourceResourceId( + "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster1/agentPools/pool0")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsCreate.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsDelete.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsDelete.java new file mode 100644 index 0000000000..6b7903431b --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for Snapshots Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/SnapshotsDelete.json + */ + /** + * Sample code: Delete Snapshot. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteSnapshot(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getSnapshots() + .deleteWithResponse("rg1", "snapshot1", Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsDelete.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsGet.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsGet.java new file mode 100644 index 0000000000..923b5f1629 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for Snapshots GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/SnapshotsGet.json + */ + /** + * Sample code: Get Snapshot. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getSnapshot(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getSnapshots() + .getByResourceGroupWithResponse("rg1", "snapshot1", Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsGet.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsList.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsList.java new file mode 100644 index 0000000000..49e340af40 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for Snapshots List. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/SnapshotsList.json + */ + /** + * Sample code: List Snapshots. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listSnapshots(com.azure.resourcemanager.AzureResourceManager azure) { + azure.kubernetesClusters().manager().serviceClient().getSnapshots().list(Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsList.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsListByResourceGroup.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsListByResourceGroup.java new file mode 100644 index 0000000000..3f91a1d180 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsListByResourceGroup.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for Snapshots ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/SnapshotsListByResourceGroup.json + */ + /** + * Sample code: List Snapshots by Resource Group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listSnapshotsByResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure.kubernetesClusters().manager().serviceClient().getSnapshots().listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsListByResourceGroup.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsListByResourceGroup.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsListByResourceGroup.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsUpdateTags.java b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsUpdateTags.java new file mode 100644 index 0000000000..f1611dd121 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsUpdateTags.java @@ -0,0 +1,36 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.containerservice.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for Snapshots UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples/SnapshotsUpdateTags.json + */ + /** + * Sample code: Update Snapshot Tags. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateSnapshotTags(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .kubernetesClusters() + .manager() + .serviceClient() + .getSnapshots() + .updateTagsWithResponse( + "rg1", "snapshot1", new TagsObject().withTags(mapOf("key2", "new-val2", "key3", "val3")), Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsUpdateTags.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-07-01/examples-java/SnapshotsUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraKeyspaceCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraKeyspaceCreateUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraKeyspaceCreateUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraKeyspaceCreateUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraKeyspaceDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraKeyspaceDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraKeyspaceDelete.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraKeyspaceDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraKeyspaceGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraKeyspaceGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraKeyspaceGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraKeyspaceGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraKeyspaceList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraKeyspaceList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraKeyspaceList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraKeyspaceList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraKeyspaceMigrateToAutoscale.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraKeyspaceMigrateToAutoscale.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraKeyspaceMigrateToAutoscale.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraKeyspaceMigrateToAutoscale.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraKeyspaceMigrateToManualThroughput.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraKeyspaceMigrateToManualThroughput.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraKeyspaceMigrateToManualThroughput.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraKeyspaceMigrateToManualThroughput.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraKeyspaceThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraKeyspaceThroughputGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraKeyspaceThroughputGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraKeyspaceThroughputGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraKeyspaceThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraKeyspaceThroughputUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraKeyspaceThroughputUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraKeyspaceThroughputUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraTableCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraTableCreateUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraTableCreateUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraTableCreateUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraTableDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraTableDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraTableDelete.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraTableDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraTableGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraTableGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraTableGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraTableGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraTableList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraTableList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraTableList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraTableList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraTableMigrateToAutoscale.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraTableMigrateToAutoscale.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraTableMigrateToAutoscale.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraTableMigrateToAutoscale.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraTableMigrateToManualThroughput.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraTableMigrateToManualThroughput.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraTableMigrateToManualThroughput.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraTableMigrateToManualThroughput.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraTableThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraTableThroughputGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraTableThroughputGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraTableThroughputGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraTableThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraTableThroughputUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraTableThroughputUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCassandraTableThroughputUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCollectionGetMetricDefinitions.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCollectionGetMetricDefinitions.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCollectionGetMetricDefinitions.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCollectionGetMetricDefinitions.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCollectionGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCollectionGetMetrics.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCollectionGetMetrics.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCollectionGetMetrics.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCollectionGetUsages.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCollectionGetUsages.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCollectionGetUsages.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCollectionGetUsages.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCollectionPartitionGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCollectionPartitionGetMetrics.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCollectionPartitionGetMetrics.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCollectionPartitionGetMetrics.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCollectionPartitionGetUsages.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCollectionPartitionGetUsages.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCollectionPartitionGetUsages.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCollectionPartitionGetUsages.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCollectionPartitionRegionGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCollectionPartitionRegionGetMetrics.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCollectionPartitionRegionGetMetrics.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBCollectionPartitionRegionGetMetrics.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDataTransferServiceCreate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDataTransferServiceCreate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDataTransferServiceCreate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDataTransferServiceCreate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDataTransferServiceDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDataTransferServiceDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDataTransferServiceDelete.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDataTransferServiceDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDataTransferServiceGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDataTransferServiceGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDataTransferServiceGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDataTransferServiceGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountCheckNameExists.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountCheckNameExists.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountCheckNameExists.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountCheckNameExists.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountCreateMax.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountCreateMax.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountCreateMax.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountCreateMax.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountCreateMin.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountCreateMin.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountCreateMin.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountCreateMin.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountDelete.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountFailoverPriorityChange.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountFailoverPriorityChange.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountFailoverPriorityChange.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountFailoverPriorityChange.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountGetMetricDefinitions.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountGetMetricDefinitions.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountGetMetricDefinitions.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountGetMetricDefinitions.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountGetMetrics.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountGetMetrics.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountGetMetrics.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountGetUsages.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountGetUsages.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountGetUsages.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountGetUsages.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountListByResourceGroup.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountListByResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountListByResourceGroup.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountListByResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountListConnectionStrings.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountListConnectionStrings.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountListConnectionStrings.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountListConnectionStrings.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountListConnectionStringsMongo.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountListConnectionStringsMongo.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountListConnectionStringsMongo.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountListConnectionStringsMongo.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountListKeys.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountListKeys.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountListKeys.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountListKeys.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountListReadOnlyKeys.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountListReadOnlyKeys.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountListReadOnlyKeys.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountListReadOnlyKeys.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountOfflineRegion.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountOfflineRegion.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountOfflineRegion.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountOfflineRegion.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountOnlineRegion.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountOnlineRegion.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountOnlineRegion.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountOnlineRegion.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountPatch.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountPatch.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountPatch.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountPatch.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountRegenerateKey.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountRegenerateKey.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountRegenerateKey.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountRegenerateKey.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountRegionGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountRegionGetMetrics.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountRegionGetMetrics.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseAccountRegionGetMetrics.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseGetMetricDefinitions.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseGetMetricDefinitions.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseGetMetricDefinitions.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseGetMetricDefinitions.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseGetMetrics.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseGetMetrics.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseGetMetrics.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseGetUsages.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseGetUsages.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseGetUsages.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBDatabaseGetUsages.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGraphAPIComputeServiceCreate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGraphAPIComputeServiceCreate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGraphAPIComputeServiceCreate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGraphAPIComputeServiceCreate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGraphAPIComputeServiceDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGraphAPIComputeServiceDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGraphAPIComputeServiceDelete.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGraphAPIComputeServiceDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGraphAPIComputeServiceGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGraphAPIComputeServiceGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGraphAPIComputeServiceGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGraphAPIComputeServiceGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinDatabaseCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinDatabaseCreateUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinDatabaseCreateUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinDatabaseCreateUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinDatabaseDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinDatabaseDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinDatabaseDelete.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinDatabaseDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinDatabaseGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinDatabaseGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinDatabaseGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinDatabaseGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinDatabaseList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinDatabaseList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinDatabaseList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinDatabaseList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinDatabaseMigrateToAutoscale.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinDatabaseMigrateToAutoscale.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinDatabaseMigrateToAutoscale.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinDatabaseMigrateToAutoscale.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinDatabaseMigrateToManualThroughput.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinDatabaseMigrateToManualThroughput.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinDatabaseMigrateToManualThroughput.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinDatabaseMigrateToManualThroughput.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinDatabaseThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinDatabaseThroughputGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinDatabaseThroughputGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinDatabaseThroughputGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinDatabaseThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinDatabaseThroughputUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinDatabaseThroughputUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinDatabaseThroughputUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinGraphCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinGraphCreateUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinGraphCreateUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinGraphCreateUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinGraphDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinGraphDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinGraphDelete.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinGraphDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinGraphGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinGraphGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinGraphGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinGraphGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinGraphList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinGraphList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinGraphList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinGraphList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinGraphMigrateToAutoscale.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinGraphMigrateToAutoscale.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinGraphMigrateToAutoscale.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinGraphMigrateToAutoscale.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinGraphMigrateToManualThroughput.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinGraphMigrateToManualThroughput.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinGraphMigrateToManualThroughput.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinGraphMigrateToManualThroughput.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinGraphThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinGraphThroughputGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinGraphThroughputGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinGraphThroughputGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinGraphThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinGraphThroughputUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinGraphThroughputUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBGremlinGraphThroughputUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBLocationGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBLocationGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBLocationGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBLocationGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBLocationList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBLocationList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBLocationList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBLocationList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraClusterCreate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraClusterCreate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraClusterCreate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraClusterCreate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraClusterDeallocate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraClusterDeallocate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraClusterDeallocate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraClusterDeallocate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraClusterDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraClusterDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraClusterDelete.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraClusterDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraClusterGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraClusterGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraClusterGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraClusterGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraClusterListByResourceGroup.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraClusterListByResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraClusterListByResourceGroup.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraClusterListByResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraClusterListBySubscription.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraClusterListBySubscription.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraClusterListBySubscription.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraClusterListBySubscription.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraClusterPatch.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraClusterPatch.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraClusterPatch.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraClusterPatch.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraClusterStart.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraClusterStart.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraClusterStart.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraClusterStart.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraCommand.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraCommand.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraCommand.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraCommand.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraDataCenterCreate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraDataCenterCreate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraDataCenterCreate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraDataCenterCreate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraDataCenterDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraDataCenterDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraDataCenterDelete.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraDataCenterDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraDataCenterGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraDataCenterGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraDataCenterGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraDataCenterGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraDataCenterList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraDataCenterList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraDataCenterList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraDataCenterList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraDataCenterPatch.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraDataCenterPatch.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraDataCenterPatch.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraDataCenterPatch.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraStatus.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraStatus.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraStatus.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBManagedCassandraStatus.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMaterializedViewsBuilderServiceCreate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMaterializedViewsBuilderServiceCreate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMaterializedViewsBuilderServiceCreate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMaterializedViewsBuilderServiceCreate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMaterializedViewsBuilderServiceDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMaterializedViewsBuilderServiceDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMaterializedViewsBuilderServiceDelete.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMaterializedViewsBuilderServiceDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMaterializedViewsBuilderServiceGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMaterializedViewsBuilderServiceGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMaterializedViewsBuilderServiceGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMaterializedViewsBuilderServiceGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionBackupInformation.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionBackupInformation.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionBackupInformation.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionBackupInformation.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionCreateUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionCreateUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionCreateUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionDelete.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionMigrateToAutoscale.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionMigrateToAutoscale.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionMigrateToAutoscale.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionMigrateToAutoscale.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionMigrateToManualThroughput.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionMigrateToManualThroughput.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionMigrateToManualThroughput.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionMigrateToManualThroughput.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionThroughputGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionThroughputGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionThroughputGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionThroughputUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionThroughputUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBCollectionThroughputUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBDatabaseCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBDatabaseCreateUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBDatabaseCreateUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBDatabaseCreateUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBDatabaseDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBDatabaseDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBDatabaseDelete.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBDatabaseDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBDatabaseGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBDatabaseGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBDatabaseGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBDatabaseGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBDatabaseList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBDatabaseList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBDatabaseList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBDatabaseList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBDatabaseMigrateToAutoscale.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBDatabaseMigrateToAutoscale.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBDatabaseMigrateToAutoscale.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBDatabaseMigrateToAutoscale.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBDatabaseMigrateToManualThroughput.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBDatabaseMigrateToManualThroughput.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBDatabaseMigrateToManualThroughput.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBDatabaseMigrateToManualThroughput.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBDatabaseThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBDatabaseThroughputGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBDatabaseThroughputGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBDatabaseThroughputGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBDatabaseThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBDatabaseThroughputUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBDatabaseThroughputUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBMongoDBDatabaseThroughputUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBNotebookWorkspaceCreate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBNotebookWorkspaceCreate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBNotebookWorkspaceCreate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBNotebookWorkspaceCreate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBNotebookWorkspaceDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBNotebookWorkspaceDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBNotebookWorkspaceDelete.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBNotebookWorkspaceDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBNotebookWorkspaceGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBNotebookWorkspaceGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBNotebookWorkspaceGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBNotebookWorkspaceGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBNotebookWorkspaceList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBNotebookWorkspaceList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBNotebookWorkspaceList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBNotebookWorkspaceList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBNotebookWorkspaceListConnectionInfo.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBNotebookWorkspaceListConnectionInfo.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBNotebookWorkspaceListConnectionInfo.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBNotebookWorkspaceListConnectionInfo.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBNotebookWorkspaceRegenerateAuthToken.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBNotebookWorkspaceRegenerateAuthToken.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBNotebookWorkspaceRegenerateAuthToken.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBNotebookWorkspaceRegenerateAuthToken.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBNotebookWorkspaceStart.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBNotebookWorkspaceStart.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBNotebookWorkspaceStart.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBNotebookWorkspaceStart.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBOperationsList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBOperationsList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBOperationsList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBOperationsList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPKeyRangeIdGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPKeyRangeIdGetMetrics.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPKeyRangeIdGetMetrics.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPKeyRangeIdGetMetrics.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPKeyRangeIdRegionGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPKeyRangeIdRegionGetMetrics.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPKeyRangeIdRegionGetMetrics.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPKeyRangeIdRegionGetMetrics.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPercentileGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPercentileGetMetrics.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPercentileGetMetrics.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPercentileGetMetrics.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPercentileSourceTargetGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPercentileSourceTargetGetMetrics.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPercentileSourceTargetGetMetrics.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPercentileSourceTargetGetMetrics.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPercentileTargetGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPercentileTargetGetMetrics.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPercentileTargetGetMetrics.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPercentileTargetGetMetrics.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPrivateEndpointConnectionDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPrivateEndpointConnectionDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPrivateEndpointConnectionDelete.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPrivateEndpointConnectionDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPrivateEndpointConnectionGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPrivateEndpointConnectionGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPrivateEndpointConnectionGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPrivateEndpointConnectionGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPrivateEndpointConnectionListGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPrivateEndpointConnectionListGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPrivateEndpointConnectionListGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPrivateEndpointConnectionListGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPrivateEndpointConnectionUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPrivateEndpointConnectionUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPrivateEndpointConnectionUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPrivateEndpointConnectionUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPrivateLinkResourceGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPrivateLinkResourceGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPrivateLinkResourceGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPrivateLinkResourceGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPrivateLinkResourceListGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPrivateLinkResourceListGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPrivateLinkResourceListGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBPrivateLinkResourceListGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRegionCollectionGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRegionCollectionGetMetrics.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRegionCollectionGetMetrics.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRegionCollectionGetMetrics.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableDatabaseAccountGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableDatabaseAccountGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableDatabaseAccountGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableDatabaseAccountGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableDatabaseAccountList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableDatabaseAccountList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableDatabaseAccountList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableDatabaseAccountList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableDatabaseAccountNoLocationList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableDatabaseAccountNoLocationList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableDatabaseAccountNoLocationList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableDatabaseAccountNoLocationList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableMongodbCollectionList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableMongodbCollectionList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableMongodbCollectionList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableMongodbCollectionList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableMongodbDatabaseList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableMongodbDatabaseList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableMongodbDatabaseList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableMongodbDatabaseList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableMongodbResourceList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableMongodbResourceList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableMongodbResourceList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableMongodbResourceList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableSqlContainerList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableSqlContainerList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableSqlContainerList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableSqlContainerList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableSqlDatabaseList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableSqlDatabaseList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableSqlDatabaseList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableSqlDatabaseList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableSqlResourceList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableSqlResourceList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableSqlResourceList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestorableSqlResourceList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestoreDatabaseAccountCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestoreDatabaseAccountCreateUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestoreDatabaseAccountCreateUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBRestoreDatabaseAccountCreateUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBServicesList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBServicesList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBServicesList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBServicesList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerBackupInformation.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerBackupInformation.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerBackupInformation.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerBackupInformation.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerCreateUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerCreateUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerCreateUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerDelete.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerMigrateToAutoscale.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerMigrateToAutoscale.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerMigrateToAutoscale.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerMigrateToAutoscale.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerMigrateToManualThroughput.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerMigrateToManualThroughput.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerMigrateToManualThroughput.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerMigrateToManualThroughput.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerThroughputGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerThroughputGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerThroughputGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerThroughputUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerThroughputUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlContainerThroughputUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDatabaseCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDatabaseCreateUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDatabaseCreateUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDatabaseCreateUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDatabaseDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDatabaseDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDatabaseDelete.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDatabaseDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDatabaseGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDatabaseGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDatabaseGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDatabaseGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDatabaseList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDatabaseList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDatabaseList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDatabaseList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDatabaseMigrateToAutoscale.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDatabaseMigrateToAutoscale.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDatabaseMigrateToAutoscale.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDatabaseMigrateToAutoscale.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDatabaseMigrateToManualThroughput.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDatabaseMigrateToManualThroughput.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDatabaseMigrateToManualThroughput.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDatabaseMigrateToManualThroughput.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDatabaseThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDatabaseThroughputGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDatabaseThroughputGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDatabaseThroughputGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDatabaseThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDatabaseThroughputUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDatabaseThroughputUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDatabaseThroughputUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDedicatedGatewayServiceCreate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDedicatedGatewayServiceCreate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDedicatedGatewayServiceCreate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDedicatedGatewayServiceCreate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDedicatedGatewayServiceDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDedicatedGatewayServiceDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDedicatedGatewayServiceDelete.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDedicatedGatewayServiceDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDedicatedGatewayServiceGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDedicatedGatewayServiceGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDedicatedGatewayServiceGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlDedicatedGatewayServiceGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlRoleAssignmentCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlRoleAssignmentCreateUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlRoleAssignmentCreateUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlRoleAssignmentCreateUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlRoleAssignmentDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlRoleAssignmentDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlRoleAssignmentDelete.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlRoleAssignmentDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlRoleAssignmentGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlRoleAssignmentGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlRoleAssignmentGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlRoleAssignmentGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlRoleAssignmentList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlRoleAssignmentList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlRoleAssignmentList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlRoleAssignmentList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlRoleDefinitionCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlRoleDefinitionCreateUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlRoleDefinitionCreateUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlRoleDefinitionCreateUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlRoleDefinitionDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlRoleDefinitionDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlRoleDefinitionDelete.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlRoleDefinitionDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlRoleDefinitionGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlRoleDefinitionGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlRoleDefinitionGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlRoleDefinitionGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlRoleDefinitionList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlRoleDefinitionList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlRoleDefinitionList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlRoleDefinitionList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlStoredProcedureCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlStoredProcedureCreateUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlStoredProcedureCreateUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlStoredProcedureCreateUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlStoredProcedureDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlStoredProcedureDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlStoredProcedureDelete.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlStoredProcedureDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlStoredProcedureGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlStoredProcedureGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlStoredProcedureGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlStoredProcedureGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlStoredProcedureList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlStoredProcedureList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlStoredProcedureList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlStoredProcedureList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlTriggerCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlTriggerCreateUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlTriggerCreateUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlTriggerCreateUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlTriggerDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlTriggerDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlTriggerDelete.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlTriggerDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlTriggerGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlTriggerGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlTriggerGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlTriggerGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlTriggerList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlTriggerList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlTriggerList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlTriggerList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlUserDefinedFunctionCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlUserDefinedFunctionCreateUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlUserDefinedFunctionCreateUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlUserDefinedFunctionCreateUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlUserDefinedFunctionDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlUserDefinedFunctionDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlUserDefinedFunctionDelete.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlUserDefinedFunctionDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlUserDefinedFunctionGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlUserDefinedFunctionGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlUserDefinedFunctionGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlUserDefinedFunctionGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlUserDefinedFunctionList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlUserDefinedFunctionList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlUserDefinedFunctionList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBSqlUserDefinedFunctionList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBTableCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBTableCreateUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBTableCreateUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBTableCreateUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBTableDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBTableDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBTableDelete.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBTableDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBTableGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBTableGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBTableGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBTableGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBTableList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBTableList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBTableList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBTableList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBTableMigrateToAutoscale.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBTableMigrateToAutoscale.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBTableMigrateToAutoscale.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBTableMigrateToAutoscale.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBTableMigrateToManualThroughput.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBTableMigrateToManualThroughput.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBTableMigrateToManualThroughput.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBTableMigrateToManualThroughput.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBTableThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBTableThroughputGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBTableThroughputGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBTableThroughputGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBTableThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBTableThroughputUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBTableThroughputUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/examples-java/CosmosDBTableThroughputUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateAAAARecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateAAAARecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateAAAARecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateAAAARecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateARecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateARecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateARecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateARecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateARecordsetAlias.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateARecordsetAlias.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateARecordsetAlias.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateARecordsetAlias.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateCNAMERecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateCNAMERecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateCNAMERecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateCNAMERecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateCaaRecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateCaaRecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateCaaRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateCaaRecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateMXRecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateMXRecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateMXRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateMXRecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateNSRecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateNSRecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateNSRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateNSRecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdatePTRRecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdatePTRRecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdatePTRRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdatePTRRecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateSOARecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateSOARecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateSOARecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateSOARecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateSRVRecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateSRVRecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateSRVRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateSRVRecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateTXTRecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateTXTRecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateTXTRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateTXTRecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateZone.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateZone.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateZone.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/CreateOrUpdateZone.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/DeleteAAAARecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/DeleteAAAARecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/DeleteAAAARecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/DeleteAAAARecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/DeleteARecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/DeleteARecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/DeleteARecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/DeleteARecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/DeleteCaaRecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/DeleteCaaRecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/DeleteCaaRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/DeleteCaaRecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/DeletePTRRecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/DeletePTRRecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/DeletePTRRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/DeletePTRRecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/DeleteSRVRecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/DeleteSRVRecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/DeleteSRVRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/DeleteSRVRecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/DeleteTXTRecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/DeleteTXTRecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/DeleteTXTRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/DeleteTXTRecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/DeleteZone.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/DeleteZone.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/DeleteZone.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/DeleteZone.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetAAAARecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetAAAARecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetAAAARecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetAAAARecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetARecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetARecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetARecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetARecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetCNAMERecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetCNAMERecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetCNAMERecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetCNAMERecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetCaaRecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetCaaRecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetCaaRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetCaaRecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetDnsResourceReference.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetDnsResourceReference.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetDnsResourceReference.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetDnsResourceReference.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetMXRecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetMXRecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetMXRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetMXRecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetNSRecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetNSRecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetNSRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetNSRecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetPTRRecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetPTRRecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetPTRRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetPTRRecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetSOARecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetSOARecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetSOARecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetSOARecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetSRVRecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetSRVRecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetSRVRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetSRVRecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetTXTRecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetTXTRecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetTXTRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetTXTRecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetZone.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetZone.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetZone.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/GetZone.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListAAAARecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListAAAARecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListAAAARecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListAAAARecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListARecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListARecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListARecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListARecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListCNAMERecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListCNAMERecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListCNAMERecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListCNAMERecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListCaaRecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListCaaRecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListCaaRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListCaaRecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListMXRecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListMXRecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListMXRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListMXRecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListNSRecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListNSRecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListNSRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListNSRecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListPTRRecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListPTRRecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListPTRRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListPTRRecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListRecordSetsByZone.java b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListRecordSetsByZone.java index 981fac93aa..7feed7fc94 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListRecordSetsByZone.java +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListRecordSetsByZone.java @@ -1,6 +1,6 @@ import com.azure.core.util.Context; -/** Samples for RecordSets ListByDnsZone. */ +/** Samples for RecordSets ListAllByDnsZone. */ public final class Main { /* * x-ms-original-file: specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples/ListRecordSetsByZone.json @@ -16,6 +16,6 @@ public final class Main { .manager() .serviceClient() .getRecordSets() - .listByDnsZone("rg1", "zone1", null, null, Context.NONE); + .listAllByDnsZone("rg1", "zone1", null, null, Context.NONE); } } diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListRecordSetsByZone.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListRecordSetsByZone.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListRecordSetsByZone.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListRecordSetsByZone.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListSOARecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListSOARecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListSOARecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListSOARecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListSRVRecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListSRVRecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListSRVRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListSRVRecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListTXTRecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListTXTRecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListTXTRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListTXTRecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListZonesByResourceGroup.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListZonesByResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListZonesByResourceGroup.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListZonesByResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListZonesBySubscription.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListZonesBySubscription.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListZonesBySubscription.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/ListZonesBySubscription.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchAAAARecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchAAAARecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchAAAARecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchAAAARecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchARecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchARecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchARecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchARecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchCNAMERecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchCNAMERecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchCNAMERecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchCNAMERecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchCaaRecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchCaaRecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchCaaRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchCaaRecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchMXRecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchMXRecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchMXRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchMXRecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchNSRecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchNSRecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchNSRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchNSRecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchPTRRecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchPTRRecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchPTRRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchPTRRecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchSOARecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchSOARecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchSOARecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchSOARecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchSRVRecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchSRVRecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchSRVRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchSRVRecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchTXTRecordset.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchTXTRecordset.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchTXTRecordset.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchTXTRecordset.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchZone.json b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchZone.json index 04d1f96f67..1c2f329976 100644 --- a/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchZone.json +++ b/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01/examples-java/PatchZone.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ClusterDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ClusterDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ClusterDelete.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ClusterDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ClusterGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ClusterGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ClusterGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ClusterGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ClusterPatch.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ClusterPatch.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ClusterPatch.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ClusterPatch.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ClusterPut.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ClusterPut.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ClusterPut.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ClusterPut.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ClusterQuotaConfigurationGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ClusterQuotaConfigurationGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ClusterQuotaConfigurationGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ClusterQuotaConfigurationGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ClusterQuotaConfigurationPatch.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ClusterQuotaConfigurationPatch.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ClusterQuotaConfigurationPatch.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ClusterQuotaConfigurationPatch.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ClustersListByResourceGroup.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ClustersListByResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ClustersListByResourceGroup.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ClustersListByResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ClustersListBySubscription.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ClustersListBySubscription.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ClustersListBySubscription.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ClustersListBySubscription.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ListAvailableClustersGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ListAvailableClustersGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ListAvailableClustersGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ListAvailableClustersGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ListNamespacesInClusterGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ListNamespacesInClusterGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ListNamespacesInClusterGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/Clusters/ListNamespacesInClusterGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/ConsumerGroup/EHConsumerGroupCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/ConsumerGroup/EHConsumerGroupCreate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/ConsumerGroup/EHConsumerGroupCreate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/ConsumerGroup/EHConsumerGroupCreate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/ConsumerGroup/EHConsumerGroupDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/ConsumerGroup/EHConsumerGroupDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/ConsumerGroup/EHConsumerGroupDelete.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/ConsumerGroup/EHConsumerGroupDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/ConsumerGroup/EHConsumerGroupGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/ConsumerGroup/EHConsumerGroupGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/ConsumerGroup/EHConsumerGroupGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/ConsumerGroup/EHConsumerGroupGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/ConsumerGroup/EHConsumerGroupListByEventHub.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/ConsumerGroup/EHConsumerGroupListByEventHub.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/ConsumerGroup/EHConsumerGroupListByEventHub.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/ConsumerGroup/EHConsumerGroupListByEventHub.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EHOperations_List.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EHOperations_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EHOperations_List.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EHOperations_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubAuthorizationRuleCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubAuthorizationRuleCreate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubAuthorizationRuleCreate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubAuthorizationRuleCreate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubAuthorizationRuleDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubAuthorizationRuleDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubAuthorizationRuleDelete.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubAuthorizationRuleDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubAuthorizationRuleGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubAuthorizationRuleGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubAuthorizationRuleGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubAuthorizationRuleGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubAuthorizationRuleListAll.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubAuthorizationRuleListAll.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubAuthorizationRuleListAll.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubAuthorizationRuleListAll.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubAuthorizationRuleListKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubAuthorizationRuleListKey.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubAuthorizationRuleListKey.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubAuthorizationRuleListKey.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubAuthorizationRuleRegenerateKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubAuthorizationRuleRegenerateKey.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubAuthorizationRuleRegenerateKey.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubAuthorizationRuleRegenerateKey.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubCreate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubCreate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubCreate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubDelete.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubListByNameSpace.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubListByNameSpace.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubListByNameSpace.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/EventHubs/EHEventHubListByNameSpace.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceAuthorizationRuleDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceAuthorizationRuleDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceAuthorizationRuleDelete.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceAuthorizationRuleDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceAuthorizationRuleGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceAuthorizationRuleGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceAuthorizationRuleGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceAuthorizationRuleGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceAuthorizationRuleListAll.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceAuthorizationRuleListAll.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceAuthorizationRuleListAll.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceAuthorizationRuleListAll.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceAuthorizationRuleListKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceAuthorizationRuleListKey.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceAuthorizationRuleListKey.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceAuthorizationRuleListKey.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceAuthorizationRuleRegenerateKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceAuthorizationRuleRegenerateKey.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceAuthorizationRuleRegenerateKey.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceAuthorizationRuleRegenerateKey.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceCheckNameAvailability.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceCheckNameAvailability.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceCheckNameAvailability.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceCheckNameAvailability.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceCreate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceCreate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceCreate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceDelete.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceList.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceList.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceListByResourceGroup.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceListByResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceListByResourceGroup.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceListByResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceUpdate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/EHNameSpaceUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionCreate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionCreate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionCreate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionDelete.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionList.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionList.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/PrivateLinkResourcesGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/PrivateLinkResourcesGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/PrivateLinkResourcesGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/PrivateLinkResourcesGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetCreate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetCreate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetCreate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetList.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetList.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/SchemaRegistry/SchemaRegistryCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/SchemaRegistry/SchemaRegistryCreate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/SchemaRegistry/SchemaRegistryCreate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/SchemaRegistry/SchemaRegistryCreate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/SchemaRegistry/SchemaRegistryDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/SchemaRegistry/SchemaRegistryDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/SchemaRegistry/SchemaRegistryDelete.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/SchemaRegistry/SchemaRegistryDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/SchemaRegistry/SchemaRegistryGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/SchemaRegistry/SchemaRegistryGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/SchemaRegistry/SchemaRegistryGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/SchemaRegistry/SchemaRegistryGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/SchemaRegistry/SchemaRegistryListByNamespace.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/SchemaRegistry/SchemaRegistryListByNamespace.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/SchemaRegistry/SchemaRegistryListByNamespace.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/SchemaRegistry/SchemaRegistryListByNamespace.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasAuthorizationRuleGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasAuthorizationRuleGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasAuthorizationRuleGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasAuthorizationRuleGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasAuthorizationRuleListAll.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasAuthorizationRuleListAll.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasAuthorizationRuleListAll.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasAuthorizationRuleListAll.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasAuthorizationRuleListKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasAuthorizationRuleListKey.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasAuthorizationRuleListKey.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasAuthorizationRuleListKey.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasBreakPairing.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasBreakPairing.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasBreakPairing.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasBreakPairing.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasCheckNameAvailability.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasCheckNameAvailability.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasCheckNameAvailability.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasCheckNameAvailability.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasCreate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasCreate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasCreate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasDelete.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasFailOver.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasFailOver.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasFailOver.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasFailOver.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasList.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasList.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2021-11-01/examples-java/disasterRecoveryConfigs/EHAliasList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/DeletedManagedHsm_Get.java b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/DeletedManagedHsm_Get.java new file mode 100644 index 0000000000..cbf1b57a1b --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/DeletedManagedHsm_Get.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ManagedHsms GetDeleted. */ +public final class Main { + /* + * x-ms-original-file: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples/DeletedManagedHsm_Get.json + */ + /** + * Sample code: Retrieve a deleted managed HSM. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void retrieveADeletedManagedHSM(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .vaults() + .manager() + .serviceClient() + .getManagedHsms() + .getDeletedWithResponse("hsm1", "westus", Context.NONE); + } +} diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/DeletedManagedHsm_Get.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/DeletedManagedHsm_Get.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/DeletedManagedHsm_Get.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/DeletedManagedHsm_List.java b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/DeletedManagedHsm_List.java new file mode 100644 index 0000000000..e3828d156e --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/DeletedManagedHsm_List.java @@ -0,0 +1,17 @@ +import com.azure.core.util.Context; + +/** Samples for ManagedHsms ListDeleted. */ +public final class Main { + /* + * x-ms-original-file: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples/DeletedManagedHsm_List.json + */ + /** + * Sample code: List deleted managed HSMs in the specified subscription. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listDeletedManagedHSMsInTheSpecifiedSubscription( + com.azure.resourcemanager.AzureResourceManager azure) { + azure.vaults().manager().serviceClient().getManagedHsms().listDeleted(Context.NONE); + } +} diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/DeletedManagedHsm_List.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/DeletedManagedHsm_List.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/DeletedManagedHsm_List.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/DeletedManagedHsm_Purge.java b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/DeletedManagedHsm_Purge.java new file mode 100644 index 0000000000..216b9e6491 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/DeletedManagedHsm_Purge.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for ManagedHsms PurgeDeleted. */ +public final class Main { + /* + * x-ms-original-file: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples/DeletedManagedHsm_Purge.json + */ + /** + * Sample code: Purge a managed HSM Pool. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void purgeAManagedHSMPool(com.azure.resourcemanager.AzureResourceManager azure) { + azure.vaults().manager().serviceClient().getManagedHsms().purgeDeleted("hsm1", "westus", Context.NONE); + } +} diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/DeletedManagedHsm_Purge.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/DeletedManagedHsm_Purge.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/DeletedManagedHsm_Purge.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_CreateOrUpdate.java b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_CreateOrUpdate.java new file mode 100644 index 0000000000..68e9cbc086 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_CreateOrUpdate.java @@ -0,0 +1,57 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.keyvault.fluent.models.ManagedHsmInner; +import com.azure.resourcemanager.keyvault.models.ManagedHsmProperties; +import com.azure.resourcemanager.keyvault.models.ManagedHsmSku; +import com.azure.resourcemanager.keyvault.models.ManagedHsmSkuFamily; +import com.azure.resourcemanager.keyvault.models.ManagedHsmSkuName; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; +import java.util.UUID; + +/** Samples for ManagedHsms CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples/ManagedHsm_CreateOrUpdate.json + */ + /** + * Sample code: Create a new managed HSM Pool or update an existing managed HSM Pool. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createANewManagedHSMPoolOrUpdateAnExistingManagedHSMPool( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .vaults() + .manager() + .serviceClient() + .getManagedHsms() + .createOrUpdate( + "hsm-group", + "hsm1", + new ManagedHsmInner() + .withLocation("westus") + .withTags(mapOf("Dept", "hsm", "Environment", "dogfood")) + .withSku( + new ManagedHsmSku().withFamily(ManagedHsmSkuFamily.B).withName(ManagedHsmSkuName.STANDARD_B1)) + .withProperties( + new ManagedHsmProperties() + .withTenantId(UUID.fromString("00000000-0000-0000-0000-000000000000")) + .withInitialAdminObjectIds(Arrays.asList("00000000-0000-0000-0000-000000000000")) + .withEnableSoftDelete(true) + .withSoftDeleteRetentionInDays(90) + .withEnablePurgeProtection(true)), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_CreateOrUpdate.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_CreateOrUpdate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_CreateOrUpdate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_Delete.java b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_Delete.java new file mode 100644 index 0000000000..415c496dd7 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_Delete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for ManagedHsms Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples/ManagedHsm_Delete.json + */ + /** + * Sample code: Delete a managed HSM Pool. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteAManagedHSMPool(com.azure.resourcemanager.AzureResourceManager azure) { + azure.vaults().manager().serviceClient().getManagedHsms().delete("hsm-group", "hsm1", Context.NONE); + } +} diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_Delete.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_Delete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_Delete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_Get.java b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_Get.java new file mode 100644 index 0000000000..5c1b1166f8 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_Get.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ManagedHsms GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples/ManagedHsm_Get.json + */ + /** + * Sample code: Retrieve a managed HSM Pool. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void retrieveAManagedHSMPool(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .vaults() + .manager() + .serviceClient() + .getManagedHsms() + .getByResourceGroupWithResponse("hsm-group", "hsm1", Context.NONE); + } +} diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_Get.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_Get.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_Get.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_ListByResourceGroup.java b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_ListByResourceGroup.java new file mode 100644 index 0000000000..1a1869adec --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_ListByResourceGroup.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for ManagedHsms ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples/ManagedHsm_ListByResourceGroup.json + */ + /** + * Sample code: List managed HSM Pools in a resource group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listManagedHSMPoolsInAResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure.vaults().manager().serviceClient().getManagedHsms().listByResourceGroup("hsm-group", null, Context.NONE); + } +} diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_ListByResourceGroup.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_ListByResourceGroup.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_ListByResourceGroup.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_ListBySubscription.java b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_ListBySubscription.java new file mode 100644 index 0000000000..26fa03baea --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_ListBySubscription.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for ManagedHsms List. */ +public final class Main { + /* + * x-ms-original-file: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples/ManagedHsm_ListBySubscription.json + */ + /** + * Sample code: List managed HSM Pools in a subscription. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listManagedHSMPoolsInASubscription(com.azure.resourcemanager.AzureResourceManager azure) { + azure.vaults().manager().serviceClient().getManagedHsms().list(null, Context.NONE); + } +} diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_ListBySubscription.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_ListBySubscription.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_ListBySubscription.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_ListPrivateEndpointConnectionsByResource.java b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_ListPrivateEndpointConnectionsByResource.java new file mode 100644 index 0000000000..097f2420f2 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_ListPrivateEndpointConnectionsByResource.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for MhsmPrivateEndpointConnections ListByResource. */ +public final class Main { + /* + * x-ms-original-file: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples/ManagedHsm_ListPrivateEndpointConnectionsByResource.json + */ + /** + * Sample code: List managed HSM Pools in a subscription. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listManagedHSMPoolsInASubscription(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .vaults() + .manager() + .serviceClient() + .getMhsmPrivateEndpointConnections() + .listByResource("sample-group", "sample-mhsm", Context.NONE); + } +} diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_ListPrivateEndpointConnectionsByResource.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_ListPrivateEndpointConnectionsByResource.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_ListPrivateEndpointConnectionsByResource.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_Update.java b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_Update.java new file mode 100644 index 0000000000..9f4b5e3a47 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_Update.java @@ -0,0 +1,39 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.keyvault.fluent.models.ManagedHsmInner; +import java.util.HashMap; +import java.util.Map; + +/** Samples for ManagedHsms Update. */ +public final class Main { + /* + * x-ms-original-file: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples/ManagedHsm_Update.json + */ + /** + * Sample code: Update an existing managed HSM Pool. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateAnExistingManagedHSMPool(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .vaults() + .manager() + .serviceClient() + .getManagedHsms() + .update( + "hsm-group", + "hsm1", + new ManagedHsmInner().withTags(mapOf("Dept", "hsm", "Environment", "dogfood", "Slice", "A")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_Update.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_Update.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_Update.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_deletePrivateEndpointConnection.java b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_deletePrivateEndpointConnection.java new file mode 100644 index 0000000000..176ec23343 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_deletePrivateEndpointConnection.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for MhsmPrivateEndpointConnections Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples/ManagedHsm_deletePrivateEndpointConnection.json + */ + /** + * Sample code: ManagedHsmDeletePrivateEndpointConnection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void managedHsmDeletePrivateEndpointConnection(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .vaults() + .manager() + .serviceClient() + .getMhsmPrivateEndpointConnections() + .delete("sample-group", "sample-mhsm", "sample-pec", Context.NONE); + } +} diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_deletePrivateEndpointConnection.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_deletePrivateEndpointConnection.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_deletePrivateEndpointConnection.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_getPrivateEndpointConnection.java b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_getPrivateEndpointConnection.java new file mode 100644 index 0000000000..916249536e --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_getPrivateEndpointConnection.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for MhsmPrivateEndpointConnections Get. */ +public final class Main { + /* + * x-ms-original-file: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples/ManagedHsm_getPrivateEndpointConnection.json + */ + /** + * Sample code: ManagedHsmGetPrivateEndpointConnection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void managedHsmGetPrivateEndpointConnection(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .vaults() + .manager() + .serviceClient() + .getMhsmPrivateEndpointConnections() + .getWithResponse("sample-group", "sample-mhsm", "sample-pec", Context.NONE); + } +} diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_getPrivateEndpointConnection.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_getPrivateEndpointConnection.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_getPrivateEndpointConnection.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_listPrivateLinkResources.java b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_listPrivateLinkResources.java new file mode 100644 index 0000000000..0f538ebead --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_listPrivateLinkResources.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for MhsmPrivateLinkResources ListByMhsmResource. */ +public final class Main { + /* + * x-ms-original-file: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples/ManagedHsm_listPrivateLinkResources.json + */ + /** + * Sample code: KeyVaultListPrivateLinkResources. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void keyVaultListPrivateLinkResources(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .vaults() + .manager() + .serviceClient() + .getMhsmPrivateLinkResources() + .listByMhsmResourceWithResponse("sample-group", "sample-mhsm", Context.NONE); + } +} diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_listPrivateLinkResources.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_listPrivateLinkResources.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_listPrivateLinkResources.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_putPrivateEndpointConnection.java b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_putPrivateEndpointConnection.java new file mode 100644 index 0000000000..a89a7830df --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_putPrivateEndpointConnection.java @@ -0,0 +1,33 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.keyvault.fluent.models.MhsmPrivateEndpointConnectionInner; +import com.azure.resourcemanager.keyvault.models.MhsmPrivateLinkServiceConnectionState; +import com.azure.resourcemanager.keyvault.models.PrivateEndpointServiceConnectionStatus; + +/** Samples for MhsmPrivateEndpointConnections Put. */ +public final class Main { + /* + * x-ms-original-file: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples/ManagedHsm_putPrivateEndpointConnection.json + */ + /** + * Sample code: ManagedHsmPutPrivateEndpointConnection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void managedHsmPutPrivateEndpointConnection(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .vaults() + .manager() + .serviceClient() + .getMhsmPrivateEndpointConnections() + .putWithResponse( + "sample-group", + "sample-mhsm", + "sample-pec", + new MhsmPrivateEndpointConnectionInner() + .withPrivateLinkServiceConnectionState( + new MhsmPrivateLinkServiceConnectionState() + .withStatus(PrivateEndpointServiceConnectionStatus.APPROVED) + .withDescription("My name is Joe and I'm approving this.")), + Context.NONE); + } +} diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_putPrivateEndpointConnection.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_putPrivateEndpointConnection.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/ManagedHsm_putPrivateEndpointConnection.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/checkVaultNameAvailability.java b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/checkVaultNameAvailability.java new file mode 100644 index 0000000000..871fcfc779 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/checkVaultNameAvailability.java @@ -0,0 +1,23 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.keyvault.models.VaultCheckNameAvailabilityParameters; + +/** Samples for Vaults CheckNameAvailability. */ +public final class Main { + /* + * x-ms-original-file: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples/checkVaultNameAvailability.json + */ + /** + * Sample code: Validate a vault name. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void validateAVaultName(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .vaults() + .manager() + .serviceClient() + .getVaults() + .checkNameAvailabilityWithResponse( + new VaultCheckNameAvailabilityParameters().withName("sample-vault"), Context.NONE); + } +} diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/checkVaultNameAvailability.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/checkVaultNameAvailability.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/checkVaultNameAvailability.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/createVault.java b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/createVault.java new file mode 100644 index 0000000000..efd75bd930 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/createVault.java @@ -0,0 +1,101 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.keyvault.models.AccessPolicyEntry; +import com.azure.resourcemanager.keyvault.models.CertificatePermissions; +import com.azure.resourcemanager.keyvault.models.KeyPermissions; +import com.azure.resourcemanager.keyvault.models.Permissions; +import com.azure.resourcemanager.keyvault.models.SecretPermissions; +import com.azure.resourcemanager.keyvault.models.Sku; +import com.azure.resourcemanager.keyvault.models.SkuFamily; +import com.azure.resourcemanager.keyvault.models.SkuName; +import com.azure.resourcemanager.keyvault.models.VaultCreateOrUpdateParameters; +import com.azure.resourcemanager.keyvault.models.VaultProperties; +import java.util.Arrays; +import java.util.UUID; + +/** Samples for Vaults CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples/createVault.json + */ + /** + * Sample code: Create a new vault or update an existing vault. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createANewVaultOrUpdateAnExistingVault(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .vaults() + .manager() + .serviceClient() + .getVaults() + .createOrUpdate( + "sample-resource-group", + "sample-vault", + new VaultCreateOrUpdateParameters() + .withLocation("westus") + .withProperties( + new VaultProperties() + .withTenantId(UUID.fromString("00000000-0000-0000-0000-000000000000")) + .withSku(new Sku().withFamily(SkuFamily.A).withName(SkuName.STANDARD)) + .withAccessPolicies( + Arrays + .asList( + new AccessPolicyEntry() + .withTenantId(UUID.fromString("00000000-0000-0000-0000-000000000000")) + .withObjectId("00000000-0000-0000-0000-000000000000") + .withPermissions( + new Permissions() + .withKeys( + Arrays + .asList( + KeyPermissions.ENCRYPT, + KeyPermissions.DECRYPT, + KeyPermissions.WRAP_KEY, + KeyPermissions.UNWRAP_KEY, + KeyPermissions.SIGN, + KeyPermissions.VERIFY, + KeyPermissions.GET, + KeyPermissions.LIST, + KeyPermissions.CREATE, + KeyPermissions.UPDATE, + KeyPermissions.IMPORT, + KeyPermissions.DELETE, + KeyPermissions.BACKUP, + KeyPermissions.RESTORE, + KeyPermissions.RECOVER, + KeyPermissions.PURGE)) + .withSecrets( + Arrays + .asList( + SecretPermissions.GET, + SecretPermissions.LIST, + SecretPermissions.SET, + SecretPermissions.DELETE, + SecretPermissions.BACKUP, + SecretPermissions.RESTORE, + SecretPermissions.RECOVER, + SecretPermissions.PURGE)) + .withCertificates( + Arrays + .asList( + CertificatePermissions.GET, + CertificatePermissions.LIST, + CertificatePermissions.DELETE, + CertificatePermissions.CREATE, + CertificatePermissions.IMPORT, + CertificatePermissions.UPDATE, + CertificatePermissions.MANAGECONTACTS, + CertificatePermissions.GETISSUERS, + CertificatePermissions.LISTISSUERS, + CertificatePermissions.SETISSUERS, + CertificatePermissions.DELETEISSUERS, + CertificatePermissions.MANAGEISSUERS, + CertificatePermissions.RECOVER, + CertificatePermissions.PURGE))))) + .withEnabledForDeployment(true) + .withEnabledForDiskEncryption(true) + .withEnabledForTemplateDeployment(true) + .withPublicNetworkAccess("Enabled")), + Context.NONE); + } +} diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/createVault.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/createVault.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/createVault.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/createVaultWithNetworkAcls.java b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/createVaultWithNetworkAcls.java new file mode 100644 index 0000000000..d3bb635c16 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/createVaultWithNetworkAcls.java @@ -0,0 +1,60 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.keyvault.models.IpRule; +import com.azure.resourcemanager.keyvault.models.NetworkRuleAction; +import com.azure.resourcemanager.keyvault.models.NetworkRuleBypassOptions; +import com.azure.resourcemanager.keyvault.models.NetworkRuleSet; +import com.azure.resourcemanager.keyvault.models.Sku; +import com.azure.resourcemanager.keyvault.models.SkuFamily; +import com.azure.resourcemanager.keyvault.models.SkuName; +import com.azure.resourcemanager.keyvault.models.VaultCreateOrUpdateParameters; +import com.azure.resourcemanager.keyvault.models.VaultProperties; +import com.azure.resourcemanager.keyvault.models.VirtualNetworkRule; +import java.util.Arrays; +import java.util.UUID; + +/** Samples for Vaults CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples/createVaultWithNetworkAcls.json + */ + /** + * Sample code: Create or update a vault with network acls. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createOrUpdateAVaultWithNetworkAcls(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .vaults() + .manager() + .serviceClient() + .getVaults() + .createOrUpdate( + "sample-resource-group", + "sample-vault", + new VaultCreateOrUpdateParameters() + .withLocation("westus") + .withProperties( + new VaultProperties() + .withTenantId(UUID.fromString("00000000-0000-0000-0000-000000000000")) + .withSku(new Sku().withFamily(SkuFamily.A).withName(SkuName.STANDARD)) + .withEnabledForDeployment(true) + .withEnabledForDiskEncryption(true) + .withEnabledForTemplateDeployment(true) + .withNetworkAcls( + new NetworkRuleSet() + .withBypass(NetworkRuleBypassOptions.AZURE_SERVICES) + .withDefaultAction(NetworkRuleAction.DENY) + .withIpRules( + Arrays + .asList( + new IpRule().withValue("124.56.78.91"), + new IpRule().withValue("'10.91.4.0/24'"))) + .withVirtualNetworkRules( + Arrays + .asList( + new VirtualNetworkRule() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1"))))), + Context.NONE); + } +} diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/createVaultWithNetworkAcls.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/createVaultWithNetworkAcls.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/createVaultWithNetworkAcls.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/deletePrivateEndpointConnection.java b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/deletePrivateEndpointConnection.java new file mode 100644 index 0000000000..daa87e5ed0 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/deletePrivateEndpointConnection.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateEndpointConnections Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples/deletePrivateEndpointConnection.json + */ + /** + * Sample code: KeyVaultDeletePrivateEndpointConnection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void keyVaultDeletePrivateEndpointConnection(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .vaults() + .manager() + .serviceClient() + .getPrivateEndpointConnections() + .delete("sample-group", "sample-vault", "sample-pec", Context.NONE); + } +} diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/deletePrivateEndpointConnection.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/deletePrivateEndpointConnection.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/deletePrivateEndpointConnection.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/deleteVault.java b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/deleteVault.java new file mode 100644 index 0000000000..21f991de3c --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/deleteVault.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for Vaults Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples/deleteVault.json + */ + /** + * Sample code: Delete a vault. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteAVault(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .vaults() + .manager() + .serviceClient() + .getVaults() + .deleteWithResponse("sample-resource-group", "sample-vault", Context.NONE); + } +} diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/deleteVault.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/deleteVault.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/deleteVault.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/getDeletedVault.java b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/getDeletedVault.java new file mode 100644 index 0000000000..60fc8bca41 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/getDeletedVault.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for Vaults GetDeleted. */ +public final class Main { + /* + * x-ms-original-file: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples/getDeletedVault.json + */ + /** + * Sample code: Retrieve a deleted vault. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void retrieveADeletedVault(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .vaults() + .manager() + .serviceClient() + .getVaults() + .getDeletedWithResponse("sample-vault", "westus", Context.NONE); + } +} diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/getDeletedVault.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/getDeletedVault.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/getDeletedVault.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/getPrivateEndpointConnection.java b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/getPrivateEndpointConnection.java new file mode 100644 index 0000000000..72b37ad3d4 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/getPrivateEndpointConnection.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateEndpointConnections Get. */ +public final class Main { + /* + * x-ms-original-file: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples/getPrivateEndpointConnection.json + */ + /** + * Sample code: KeyVaultGetPrivateEndpointConnection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void keyVaultGetPrivateEndpointConnection(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .vaults() + .manager() + .serviceClient() + .getPrivateEndpointConnections() + .getWithResponse("sample-group", "sample-vault", "sample-pec", Context.NONE); + } +} diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/getPrivateEndpointConnection.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/getPrivateEndpointConnection.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/getPrivateEndpointConnection.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/getVault.java b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/getVault.java new file mode 100644 index 0000000000..7607065427 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/getVault.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for Vaults GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples/getVault.json + */ + /** + * Sample code: Retrieve a vault. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void retrieveAVault(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .vaults() + .manager() + .serviceClient() + .getVaults() + .getByResourceGroupWithResponse("sample-resource-group", "sample-vault", Context.NONE); + } +} diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/getVault.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/getVault.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/getVault.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listDeletedVaults.java b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listDeletedVaults.java new file mode 100644 index 0000000000..d5c091afb0 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listDeletedVaults.java @@ -0,0 +1,17 @@ +import com.azure.core.util.Context; + +/** Samples for Vaults ListDeleted. */ +public final class Main { + /* + * x-ms-original-file: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples/listDeletedVaults.json + */ + /** + * Sample code: List deleted vaults in the specified subscription. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listDeletedVaultsInTheSpecifiedSubscription( + com.azure.resourcemanager.AzureResourceManager azure) { + azure.vaults().manager().serviceClient().getVaults().listDeleted(Context.NONE); + } +} diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listDeletedVaults.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listDeletedVaults.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listDeletedVaults.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listOperations.java b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listOperations.java new file mode 100644 index 0000000000..15eeafbabb --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listOperations.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for Operations List. */ +public final class Main { + /* + * x-ms-original-file: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples/listOperations.json + */ + /** + * Sample code: Lists available Rest API operations. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listsAvailableRestAPIOperations(com.azure.resourcemanager.AzureResourceManager azure) { + azure.vaults().manager().serviceClient().getOperations().list(Context.NONE); + } +} diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listOperations.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listOperations.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listOperations.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listPrivateEndpointConnection.java b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listPrivateEndpointConnection.java new file mode 100644 index 0000000000..7976d426bd --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listPrivateEndpointConnection.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateEndpointConnections ListByResource. */ +public final class Main { + /* + * x-ms-original-file: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples/listPrivateEndpointConnection.json + */ + /** + * Sample code: KeyVaultListPrivateEndpointConnection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void keyVaultListPrivateEndpointConnection(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .vaults() + .manager() + .serviceClient() + .getPrivateEndpointConnections() + .listByResource("sample-group", "sample-vault", Context.NONE); + } +} diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listPrivateEndpointConnection.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listPrivateEndpointConnection.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listPrivateEndpointConnection.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listPrivateLinkResources.java b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listPrivateLinkResources.java new file mode 100644 index 0000000000..e5edc96896 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listPrivateLinkResources.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateLinkResources ListByVault. */ +public final class Main { + /* + * x-ms-original-file: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples/listPrivateLinkResources.json + */ + /** + * Sample code: KeyVaultListPrivateLinkResources. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void keyVaultListPrivateLinkResources(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .vaults() + .manager() + .serviceClient() + .getPrivateLinkResources() + .listByVaultWithResponse("sample-group", "sample-vault", Context.NONE); + } +} diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listPrivateLinkResources.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listPrivateLinkResources.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listPrivateLinkResources.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listVault.java b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listVault.java new file mode 100644 index 0000000000..7989033837 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listVault.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for Vaults List. */ +public final class Main { + /* + * x-ms-original-file: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples/listVault.json + */ + /** + * Sample code: List vaults in the specified subscription. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listVaultsInTheSpecifiedSubscription(com.azure.resourcemanager.AzureResourceManager azure) { + azure.vaults().manager().serviceClient().getVaults().list(1, Context.NONE); + } +} diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listVault.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listVault.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listVault.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listVaultByResourceGroup.java b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listVaultByResourceGroup.java new file mode 100644 index 0000000000..d8339d4cdd --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listVaultByResourceGroup.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for Vaults ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples/listVaultByResourceGroup.json + */ + /** + * Sample code: List vaults in the specified resource group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listVaultsInTheSpecifiedResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure.vaults().manager().serviceClient().getVaults().listByResourceGroup("sample-group", 1, Context.NONE); + } +} diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listVaultByResourceGroup.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listVaultByResourceGroup.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listVaultByResourceGroup.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listVaultBySubscription.java b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listVaultBySubscription.java new file mode 100644 index 0000000000..276f78ec66 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listVaultBySubscription.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for Vaults ListBySubscription. */ +public final class Main { + /* + * x-ms-original-file: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples/listVaultBySubscription.json + */ + /** + * Sample code: List vaults in the specified subscription. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listVaultsInTheSpecifiedSubscription(com.azure.resourcemanager.AzureResourceManager azure) { + azure.vaults().manager().serviceClient().getVaults().listBySubscription(1, Context.NONE); + } +} diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listVaultBySubscription.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listVaultBySubscription.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/listVaultBySubscription.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/purgeDeletedVault.java b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/purgeDeletedVault.java new file mode 100644 index 0000000000..7188571f72 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/purgeDeletedVault.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for Vaults PurgeDeleted. */ +public final class Main { + /* + * x-ms-original-file: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples/purgeDeletedVault.json + */ + /** + * Sample code: Purge a deleted vault. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void purgeADeletedVault(com.azure.resourcemanager.AzureResourceManager azure) { + azure.vaults().manager().serviceClient().getVaults().purgeDeleted("sample-vault", "westus", Context.NONE); + } +} diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/purgeDeletedVault.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/purgeDeletedVault.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/purgeDeletedVault.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/putPrivateEndpointConnection.java b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/putPrivateEndpointConnection.java new file mode 100644 index 0000000000..c8788bbbaa --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/putPrivateEndpointConnection.java @@ -0,0 +1,34 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.keyvault.fluent.models.PrivateEndpointConnectionInner; +import com.azure.resourcemanager.keyvault.models.PrivateEndpointServiceConnectionStatus; +import com.azure.resourcemanager.keyvault.models.PrivateLinkServiceConnectionState; + +/** Samples for PrivateEndpointConnections Put. */ +public final class Main { + /* + * x-ms-original-file: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples/putPrivateEndpointConnection.json + */ + /** + * Sample code: KeyVaultPutPrivateEndpointConnection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void keyVaultPutPrivateEndpointConnection(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .vaults() + .manager() + .serviceClient() + .getPrivateEndpointConnections() + .putWithResponse( + "sample-group", + "sample-vault", + "sample-pec", + new PrivateEndpointConnectionInner() + .withEtag("") + .withPrivateLinkServiceConnectionState( + new PrivateLinkServiceConnectionState() + .withStatus(PrivateEndpointServiceConnectionStatus.APPROVED) + .withDescription("My name is Joe and I'm approving this.")), + Context.NONE); + } +} diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/putPrivateEndpointConnection.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/putPrivateEndpointConnection.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/putPrivateEndpointConnection.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/updateAccessPoliciesAdd.java b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/updateAccessPoliciesAdd.java new file mode 100644 index 0000000000..d67cb744ac --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/updateAccessPoliciesAdd.java @@ -0,0 +1,50 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.keyvault.fluent.models.VaultAccessPolicyParametersInner; +import com.azure.resourcemanager.keyvault.models.AccessPolicyEntry; +import com.azure.resourcemanager.keyvault.models.AccessPolicyUpdateKind; +import com.azure.resourcemanager.keyvault.models.CertificatePermissions; +import com.azure.resourcemanager.keyvault.models.KeyPermissions; +import com.azure.resourcemanager.keyvault.models.Permissions; +import com.azure.resourcemanager.keyvault.models.SecretPermissions; +import com.azure.resourcemanager.keyvault.models.VaultAccessPolicyProperties; +import java.util.Arrays; +import java.util.UUID; + +/** Samples for Vaults UpdateAccessPolicy. */ +public final class Main { + /* + * x-ms-original-file: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples/updateAccessPoliciesAdd.json + */ + /** + * Sample code: Add an access policy, or update an access policy with new permissions. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void addAnAccessPolicyOrUpdateAnAccessPolicyWithNewPermissions( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .vaults() + .manager() + .serviceClient() + .getVaults() + .updateAccessPolicyWithResponse( + "sample-group", + "sample-vault", + AccessPolicyUpdateKind.ADD, + new VaultAccessPolicyParametersInner() + .withProperties( + new VaultAccessPolicyProperties() + .withAccessPolicies( + Arrays + .asList( + new AccessPolicyEntry() + .withTenantId(UUID.fromString("00000000-0000-0000-0000-000000000000")) + .withObjectId("00000000-0000-0000-0000-000000000000") + .withPermissions( + new Permissions() + .withKeys(Arrays.asList(KeyPermissions.ENCRYPT)) + .withSecrets(Arrays.asList(SecretPermissions.GET)) + .withCertificates(Arrays.asList(CertificatePermissions.GET)))))), + Context.NONE); + } +} diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/updateAccessPoliciesAdd.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/updateAccessPoliciesAdd.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/updateAccessPoliciesAdd.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/updateVault.java b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/updateVault.java new file mode 100644 index 0000000000..8566293e0f --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/updateVault.java @@ -0,0 +1,100 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.keyvault.models.AccessPolicyEntry; +import com.azure.resourcemanager.keyvault.models.CertificatePermissions; +import com.azure.resourcemanager.keyvault.models.KeyPermissions; +import com.azure.resourcemanager.keyvault.models.Permissions; +import com.azure.resourcemanager.keyvault.models.SecretPermissions; +import com.azure.resourcemanager.keyvault.models.Sku; +import com.azure.resourcemanager.keyvault.models.SkuFamily; +import com.azure.resourcemanager.keyvault.models.SkuName; +import com.azure.resourcemanager.keyvault.models.VaultPatchParameters; +import com.azure.resourcemanager.keyvault.models.VaultPatchProperties; +import java.util.Arrays; +import java.util.UUID; + +/** Samples for Vaults Update. */ +public final class Main { + /* + * x-ms-original-file: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples/updateVault.json + */ + /** + * Sample code: Update an existing vault. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateAnExistingVault(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .vaults() + .manager() + .serviceClient() + .getVaults() + .updateWithResponse( + "sample-resource-group", + "sample-vault", + new VaultPatchParameters() + .withProperties( + new VaultPatchProperties() + .withTenantId(UUID.fromString("00000000-0000-0000-0000-000000000000")) + .withSku(new Sku().withFamily(SkuFamily.A).withName(SkuName.STANDARD)) + .withAccessPolicies( + Arrays + .asList( + new AccessPolicyEntry() + .withTenantId(UUID.fromString("00000000-0000-0000-0000-000000000000")) + .withObjectId("00000000-0000-0000-0000-000000000000") + .withPermissions( + new Permissions() + .withKeys( + Arrays + .asList( + KeyPermissions.ENCRYPT, + KeyPermissions.DECRYPT, + KeyPermissions.WRAP_KEY, + KeyPermissions.UNWRAP_KEY, + KeyPermissions.SIGN, + KeyPermissions.VERIFY, + KeyPermissions.GET, + KeyPermissions.LIST, + KeyPermissions.CREATE, + KeyPermissions.UPDATE, + KeyPermissions.IMPORT, + KeyPermissions.DELETE, + KeyPermissions.BACKUP, + KeyPermissions.RESTORE, + KeyPermissions.RECOVER, + KeyPermissions.PURGE)) + .withSecrets( + Arrays + .asList( + SecretPermissions.GET, + SecretPermissions.LIST, + SecretPermissions.SET, + SecretPermissions.DELETE, + SecretPermissions.BACKUP, + SecretPermissions.RESTORE, + SecretPermissions.RECOVER, + SecretPermissions.PURGE)) + .withCertificates( + Arrays + .asList( + CertificatePermissions.GET, + CertificatePermissions.LIST, + CertificatePermissions.DELETE, + CertificatePermissions.CREATE, + CertificatePermissions.IMPORT, + CertificatePermissions.UPDATE, + CertificatePermissions.MANAGECONTACTS, + CertificatePermissions.GETISSUERS, + CertificatePermissions.LISTISSUERS, + CertificatePermissions.SETISSUERS, + CertificatePermissions.DELETEISSUERS, + CertificatePermissions.MANAGEISSUERS, + CertificatePermissions.RECOVER, + CertificatePermissions.PURGE))))) + .withEnabledForDeployment(true) + .withEnabledForDiskEncryption(true) + .withEnabledForTemplateDeployment(true) + .withPublicNetworkAccess("Enabled")), + Context.NONE); + } +} diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/updateVault.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/updateVault.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2021-10-01/examples-java/updateVault.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples-java/IdentityCreate.json b/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples-java/IdentityCreate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples-java/IdentityCreate.json +++ b/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples-java/IdentityCreate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples-java/IdentityDelete.json b/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples-java/IdentityDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples-java/IdentityDelete.json +++ b/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples-java/IdentityDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples-java/IdentityGet.json b/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples-java/IdentityGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples-java/IdentityGet.json +++ b/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples-java/IdentityGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples-java/IdentityListByResourceGroup.json b/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples-java/IdentityListByResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples-java/IdentityListByResourceGroup.json +++ b/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples-java/IdentityListByResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples-java/IdentityListBySubscription.json b/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples-java/IdentityListBySubscription.json index 04d1f96f67..1c2f329976 100644 --- a/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples-java/IdentityListBySubscription.json +++ b/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples-java/IdentityListBySubscription.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples-java/IdentityUpdate.json b/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples-java/IdentityUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples-java/IdentityUpdate.json +++ b/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples-java/IdentityUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples-java/MsiOperationsList.json b/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples-java/MsiOperationsList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples-java/MsiOperationsList.json +++ b/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples-java/MsiOperationsList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples-java/SystemAssignedIdentityGet.json b/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples-java/SystemAssignedIdentityGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples-java/SystemAssignedIdentityGet.json +++ b/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples-java/SystemAssignedIdentityGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableRequestHeadersGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableRequestHeadersGet.java new file mode 100644 index 0000000000..704b07ec46 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableRequestHeadersGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ApplicationGateways ListAvailableRequestHeaders. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ApplicationGatewayAvailableRequestHeadersGet.json + */ + /** + * Sample code: Get Available Request Headers. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getAvailableRequestHeaders(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getApplicationGateways() + .listAvailableRequestHeadersWithResponse(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableRequestHeadersGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableRequestHeadersGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableRequestHeadersGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableResponseHeadersGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableResponseHeadersGet.java new file mode 100644 index 0000000000..fe8a92814c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableResponseHeadersGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ApplicationGateways ListAvailableResponseHeaders. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ApplicationGatewayAvailableResponseHeadersGet.json + */ + /** + * Sample code: Get Available Response Headers. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getAvailableResponseHeaders(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getApplicationGateways() + .listAvailableResponseHeadersWithResponse(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableResponseHeadersGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableResponseHeadersGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableResponseHeadersGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableServerVariablesGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableServerVariablesGet.java new file mode 100644 index 0000000000..dc79dd70ca --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableServerVariablesGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ApplicationGateways ListAvailableServerVariables. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ApplicationGatewayAvailableServerVariablesGet.json + */ + /** + * Sample code: Get Available Server Variables. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getAvailableServerVariables(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getApplicationGateways() + .listAvailableServerVariablesWithResponse(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableServerVariablesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableServerVariablesGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableServerVariablesGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableSslOptionsGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableSslOptionsGet.java new file mode 100644 index 0000000000..5125dd2c6b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableSslOptionsGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ApplicationGateways ListAvailableSslOptions. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ApplicationGatewayAvailableSslOptionsGet.json + */ + /** + * Sample code: Get Available Ssl Options. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getAvailableSslOptions(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getApplicationGateways() + .listAvailableSslOptionsWithResponse(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableSslOptionsGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableSslOptionsGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.java new file mode 100644 index 0000000000..383c71bc2a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ApplicationGateways ListAvailableSslPredefinedPolicies. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json + */ + /** + * Sample code: Get Available Ssl Predefined Policies. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getAvailableSslPredefinedPolicies(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getApplicationGateways() + .listAvailableSslPredefinedPolicies(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.java new file mode 100644 index 0000000000..d3bf5c6eb1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ApplicationGateways GetSslPredefinedPolicy. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json + */ + /** + * Sample code: Get Available Ssl Predefined Policy by name. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getAvailableSslPredefinedPolicyByName(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getApplicationGateways() + .getSslPredefinedPolicyWithResponse("AppGwSslPolicy20150501", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableWafRuleSetsGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableWafRuleSetsGet.java new file mode 100644 index 0000000000..65e5310dd0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableWafRuleSetsGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ApplicationGateways ListAvailableWafRuleSets. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ApplicationGatewayAvailableWafRuleSetsGet.json + */ + /** + * Sample code: Get Available Waf Rule Sets. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getAvailableWafRuleSets(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getApplicationGateways() + .listAvailableWafRuleSetsWithResponse(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableWafRuleSetsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableWafRuleSetsGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayAvailableWafRuleSetsGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayBackendHealthGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayBackendHealthGet.java new file mode 100644 index 0000000000..c9a5bf9352 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayBackendHealthGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ApplicationGateways BackendHealth. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ApplicationGatewayBackendHealthGet.json + */ + /** + * Sample code: Get Backend Health. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getBackendHealth(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getApplicationGateways() + .backendHealth("appgw", "appgw", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayBackendHealthGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayBackendHealthGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayBackendHealthGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayBackendHealthTest.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayBackendHealthTest.java new file mode 100644 index 0000000000..8bf78825b7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayBackendHealthTest.java @@ -0,0 +1,41 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.ApplicationGatewayOnDemandProbe; +import com.azure.resourcemanager.network.models.ApplicationGatewayProtocol; + +/** Samples for ApplicationGateways BackendHealthOnDemand. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ApplicationGatewayBackendHealthTest.json + */ + /** + * Sample code: Test Backend Health. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void testBackendHealth(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getApplicationGateways() + .backendHealthOnDemand( + "rg1", + "appgw", + new ApplicationGatewayOnDemandProbe() + .withProtocol(ApplicationGatewayProtocol.HTTP) + .withPath("/") + .withTimeout(30) + .withPickHostnameFromBackendHttpSettings(true) + .withBackendAddressPool( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool")) + .withBackendHttpSettings( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings")), + null, + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayBackendHealthTest.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayBackendHealthTest.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayBackendHealthTest.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayCreate.java new file mode 100644 index 0000000000..679ff11eeb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayCreate.java @@ -0,0 +1,370 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.ApplicationGatewayInner; +import com.azure.resourcemanager.network.fluent.models.ApplicationGatewayIpConfigurationInner; +import com.azure.resourcemanager.network.fluent.models.ApplicationGatewayPathRuleInner; +import com.azure.resourcemanager.network.fluent.models.ApplicationGatewayRequestRoutingRuleInner; +import com.azure.resourcemanager.network.fluent.models.ApplicationGatewaySslCertificateInner; +import com.azure.resourcemanager.network.fluent.models.ApplicationGatewayUrlPathMapInner; +import com.azure.resourcemanager.network.models.ApplicationGatewayBackendAddress; +import com.azure.resourcemanager.network.models.ApplicationGatewayBackendAddressPool; +import com.azure.resourcemanager.network.models.ApplicationGatewayBackendHttpSettings; +import com.azure.resourcemanager.network.models.ApplicationGatewayClientAuthConfiguration; +import com.azure.resourcemanager.network.models.ApplicationGatewayCookieBasedAffinity; +import com.azure.resourcemanager.network.models.ApplicationGatewayFrontendIpConfiguration; +import com.azure.resourcemanager.network.models.ApplicationGatewayFrontendPort; +import com.azure.resourcemanager.network.models.ApplicationGatewayGlobalConfiguration; +import com.azure.resourcemanager.network.models.ApplicationGatewayHeaderConfiguration; +import com.azure.resourcemanager.network.models.ApplicationGatewayHttpListener; +import com.azure.resourcemanager.network.models.ApplicationGatewayLoadDistributionAlgorithm; +import com.azure.resourcemanager.network.models.ApplicationGatewayLoadDistributionPolicy; +import com.azure.resourcemanager.network.models.ApplicationGatewayLoadDistributionTarget; +import com.azure.resourcemanager.network.models.ApplicationGatewayProtocol; +import com.azure.resourcemanager.network.models.ApplicationGatewayRequestRoutingRuleType; +import com.azure.resourcemanager.network.models.ApplicationGatewayRewriteRule; +import com.azure.resourcemanager.network.models.ApplicationGatewayRewriteRuleActionSet; +import com.azure.resourcemanager.network.models.ApplicationGatewayRewriteRuleCondition; +import com.azure.resourcemanager.network.models.ApplicationGatewayRewriteRuleSet; +import com.azure.resourcemanager.network.models.ApplicationGatewaySku; +import com.azure.resourcemanager.network.models.ApplicationGatewaySkuName; +import com.azure.resourcemanager.network.models.ApplicationGatewaySslCipherSuite; +import com.azure.resourcemanager.network.models.ApplicationGatewaySslPolicy; +import com.azure.resourcemanager.network.models.ApplicationGatewaySslPolicyType; +import com.azure.resourcemanager.network.models.ApplicationGatewaySslProfile; +import com.azure.resourcemanager.network.models.ApplicationGatewaySslProtocol; +import com.azure.resourcemanager.network.models.ApplicationGatewayTier; +import com.azure.resourcemanager.network.models.ApplicationGatewayTrustedClientCertificate; +import com.azure.resourcemanager.network.models.ApplicationGatewayTrustedRootCertificate; +import com.azure.resourcemanager.network.models.ApplicationGatewayUrlConfiguration; +import com.azure.resourcemanager.network.models.ManagedServiceIdentity; +import com.azure.resourcemanager.network.models.ManagedServiceIdentityUserAssignedIdentities; +import com.azure.resourcemanager.network.models.ResourceIdentityType; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for ApplicationGateways CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ApplicationGatewayCreate.json + */ + /** + * Sample code: Create Application Gateway. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createApplicationGateway(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getApplicationGateways() + .createOrUpdate( + "rg1", + "appgw", + new ApplicationGatewayInner() + .withLocation("eastus") + .withIdentity( + new ManagedServiceIdentity() + .withType(ResourceIdentityType.USER_ASSIGNED) + .withUserAssignedIdentities( + mapOf( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1", + new ManagedServiceIdentityUserAssignedIdentities()))) + .withSku( + new ApplicationGatewaySku() + .withName(ApplicationGatewaySkuName.STANDARD_V2) + .withTier(ApplicationGatewayTier.STANDARD_V2) + .withCapacity(3)) + .withGatewayIpConfigurations( + Arrays + .asList( + new ApplicationGatewayIpConfigurationInner() + .withName("appgwipc") + .withSubnet( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet")))) + .withTrustedRootCertificates( + Arrays + .asList( + new ApplicationGatewayTrustedRootCertificate().withName("rootcert").withData("****"), + new ApplicationGatewayTrustedRootCertificate() + .withName("rootcert1") + .withKeyVaultSecretId("https://kv/secret"))) + .withTrustedClientCertificates( + Arrays + .asList( + new ApplicationGatewayTrustedClientCertificate() + .withName("clientcert") + .withData("****"))) + .withSslCertificates( + Arrays + .asList( + new ApplicationGatewaySslCertificateInner() + .withName("sslcert") + .withData("****") + .withPassword("****"), + new ApplicationGatewaySslCertificateInner() + .withName("sslcert2") + .withKeyVaultSecretId("https://kv/secret"))) + .withFrontendIpConfigurations( + Arrays + .asList( + new ApplicationGatewayFrontendIpConfiguration() + .withName("appgwfip") + .withPublicIpAddress( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip")))) + .withFrontendPorts( + Arrays + .asList( + new ApplicationGatewayFrontendPort().withName("appgwfp").withPort(443), + new ApplicationGatewayFrontendPort().withName("appgwfp80").withPort(80))) + .withBackendAddressPools( + Arrays + .asList( + new ApplicationGatewayBackendAddressPool() + .withName("appgwpool") + .withBackendAddresses( + Arrays + .asList( + new ApplicationGatewayBackendAddress().withIpAddress("10.0.1.1"), + new ApplicationGatewayBackendAddress().withIpAddress("10.0.1.2"))), + new ApplicationGatewayBackendAddressPool() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool1") + .withName("appgwpool1") + .withBackendAddresses( + Arrays + .asList( + new ApplicationGatewayBackendAddress(), + new ApplicationGatewayBackendAddress())))) + .withBackendHttpSettingsCollection( + Arrays + .asList( + new ApplicationGatewayBackendHttpSettings() + .withName("appgwbhs") + .withPort(80) + .withProtocol(ApplicationGatewayProtocol.HTTP) + .withCookieBasedAffinity(ApplicationGatewayCookieBasedAffinity.DISABLED) + .withRequestTimeout(30))) + .withHttpListeners( + Arrays + .asList( + new ApplicationGatewayHttpListener() + .withName("appgwhl") + .withFrontendIpConfiguration( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip")) + .withFrontendPort( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp")) + .withProtocol(ApplicationGatewayProtocol.HTTPS) + .withSslCertificate( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert")) + .withSslProfile( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslProfiles/sslProfile1")) + .withRequireServerNameIndication(false), + new ApplicationGatewayHttpListener() + .withName("appgwhttplistener") + .withFrontendIpConfiguration( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip")) + .withFrontendPort( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80")) + .withProtocol(ApplicationGatewayProtocol.HTTP))) + .withSslProfiles( + Arrays + .asList( + new ApplicationGatewaySslProfile() + .withName("sslProfile1") + .withTrustedClientCertificates( + Arrays + .asList( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/trustedClientCertificates/clientcert"))) + .withSslPolicy( + new ApplicationGatewaySslPolicy() + .withPolicyType(ApplicationGatewaySslPolicyType.CUSTOM) + .withCipherSuites( + Arrays + .asList( + ApplicationGatewaySslCipherSuite + .TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256)) + .withMinProtocolVersion(ApplicationGatewaySslProtocol.TLSV1_1)) + .withClientAuthConfiguration( + new ApplicationGatewayClientAuthConfiguration() + .withVerifyClientCertIssuerDN(true)))) + .withUrlPathMaps( + Arrays + .asList( + new ApplicationGatewayUrlPathMapInner() + .withName("pathMap1") + .withDefaultBackendAddressPool( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool")) + .withDefaultBackendHttpSettings( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs")) + .withDefaultRewriteRuleSet( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1")) + .withDefaultLoadDistributionPolicy( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1")) + .withPathRules( + Arrays + .asList( + new ApplicationGatewayPathRuleInner() + .withName("apiPaths") + .withPaths(Arrays.asList("/api", "/v1/api")) + .withBackendAddressPool( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool")) + .withBackendHttpSettings( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs")) + .withRewriteRuleSet( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1")) + .withLoadDistributionPolicy( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1")))))) + .withRequestRoutingRules( + Arrays + .asList( + new ApplicationGatewayRequestRoutingRuleInner() + .withName("appgwrule") + .withRuleType(ApplicationGatewayRequestRoutingRuleType.BASIC) + .withPriority(10) + .withBackendAddressPool( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool")) + .withBackendHttpSettings( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs")) + .withHttpListener( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl")) + .withRewriteRuleSet( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1")) + .withLoadDistributionPolicy( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1")), + new ApplicationGatewayRequestRoutingRuleInner() + .withName("appgwPathBasedRule") + .withRuleType(ApplicationGatewayRequestRoutingRuleType.PATH_BASED_ROUTING) + .withPriority(20) + .withHttpListener( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener")) + .withUrlPathMap( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1")))) + .withRewriteRuleSets( + Arrays + .asList( + new ApplicationGatewayRewriteRuleSet() + .withName("rewriteRuleSet1") + .withRewriteRules( + Arrays + .asList( + new ApplicationGatewayRewriteRule() + .withName("Set X-Forwarded-For") + .withRuleSequence(102) + .withConditions( + Arrays + .asList( + new ApplicationGatewayRewriteRuleCondition() + .withVariable("http_req_Authorization") + .withPattern("^Bearer") + .withIgnoreCase(true) + .withNegate(false))) + .withActionSet( + new ApplicationGatewayRewriteRuleActionSet() + .withRequestHeaderConfigurations( + Arrays + .asList( + new ApplicationGatewayHeaderConfiguration() + .withHeaderName("X-Forwarded-For") + .withHeaderValue( + "{var_add_x_forwarded_for_proxy}"))) + .withResponseHeaderConfigurations( + Arrays + .asList( + new ApplicationGatewayHeaderConfiguration() + .withHeaderName("Strict-Transport-Security") + .withHeaderValue("max-age=31536000"))) + .withUrlConfiguration( + new ApplicationGatewayUrlConfiguration() + .withModifiedPath("/abc"))))))) + .withLoadDistributionPolicies( + Arrays + .asList( + new ApplicationGatewayLoadDistributionPolicy() + .withName("ldp1") + .withLoadDistributionTargets( + Arrays + .asList( + new ApplicationGatewayLoadDistributionTarget() + .withName("ld11") + .withWeightPerServer(40) + .withBackendAddressPool( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool")), + new ApplicationGatewayLoadDistributionTarget() + .withName("ld11") + .withWeightPerServer(60) + .withBackendAddressPool( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool1")))) + .withLoadDistributionAlgorithm( + ApplicationGatewayLoadDistributionAlgorithm.ROUND_ROBIN))) + .withGlobalConfiguration( + new ApplicationGatewayGlobalConfiguration() + .withEnableRequestBuffering(true) + .withEnableResponseBuffering(true)), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayDelete.java new file mode 100644 index 0000000000..c87e272d87 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for ApplicationGateways Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ApplicationGatewayDelete.json + */ + /** + * Sample code: Delete ApplicationGateway. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteApplicationGateway(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getApplicationGateways().delete("rg1", "appgw", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayGet.java new file mode 100644 index 0000000000..3d3cd1f00f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ApplicationGateways GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ApplicationGatewayGet.json + */ + /** + * Sample code: Get ApplicationGateway. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getApplicationGateway(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getApplicationGateways() + .getByResourceGroupWithResponse("rg1", "appgw", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayList.java new file mode 100644 index 0000000000..4c2fac5886 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayList.java @@ -0,0 +1,17 @@ +import com.azure.core.util.Context; + +/** Samples for ApplicationGateways ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ApplicationGatewayList.json + */ + /** + * Sample code: Lists all application gateways in a resource group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listsAllApplicationGatewaysInAResourceGroup( + com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getApplicationGateways().listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayListAll.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayListAll.java new file mode 100644 index 0000000000..3bc4963168 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayListAll.java @@ -0,0 +1,17 @@ +import com.azure.core.util.Context; + +/** Samples for ApplicationGateways List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ApplicationGatewayListAll.json + */ + /** + * Sample code: Lists all application gateways in a subscription. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listsAllApplicationGatewaysInASubscription( + com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getApplicationGateways().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayListAll.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayListAll.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayPrivateEndpointConnectionDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayPrivateEndpointConnectionDelete.java new file mode 100644 index 0000000000..7c5eb532a9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayPrivateEndpointConnectionDelete.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for ApplicationGatewayPrivateEndpointConnections Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ApplicationGatewayPrivateEndpointConnectionDelete.json + */ + /** + * Sample code: Delete Application Gateway Private Endpoint Connection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteApplicationGatewayPrivateEndpointConnection( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getApplicationGatewayPrivateEndpointConnections() + .delete("rg1", "appgw", "connection1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayPrivateEndpointConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayPrivateEndpointConnectionDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayPrivateEndpointConnectionDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayPrivateEndpointConnectionGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayPrivateEndpointConnectionGet.java new file mode 100644 index 0000000000..46991989af --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayPrivateEndpointConnectionGet.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for ApplicationGatewayPrivateEndpointConnections Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ApplicationGatewayPrivateEndpointConnectionGet.json + */ + /** + * Sample code: Get Application Gateway Private Endpoint Connection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getApplicationGatewayPrivateEndpointConnection( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getApplicationGatewayPrivateEndpointConnections() + .getWithResponse("rg1", "appgw", "connection1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayPrivateEndpointConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayPrivateEndpointConnectionGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayPrivateEndpointConnectionGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayPrivateEndpointConnectionList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayPrivateEndpointConnectionList.java new file mode 100644 index 0000000000..6bf6d08ad7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayPrivateEndpointConnectionList.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for ApplicationGatewayPrivateEndpointConnections List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ApplicationGatewayPrivateEndpointConnectionList.json + */ + /** + * Sample code: Lists all private endpoint connections on application gateway. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listsAllPrivateEndpointConnectionsOnApplicationGateway( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getApplicationGatewayPrivateEndpointConnections() + .list("rg1", "appgw", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayPrivateEndpointConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayPrivateEndpointConnectionList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayPrivateEndpointConnectionList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayPrivateEndpointConnectionUpdate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayPrivateEndpointConnectionUpdate.java new file mode 100644 index 0000000000..90a1f6b4bf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayPrivateEndpointConnectionUpdate.java @@ -0,0 +1,34 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.ApplicationGatewayPrivateEndpointConnectionInner; +import com.azure.resourcemanager.network.models.PrivateLinkServiceConnectionState; + +/** Samples for ApplicationGatewayPrivateEndpointConnections Update. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ApplicationGatewayPrivateEndpointConnectionUpdate.json + */ + /** + * Sample code: Update Application Gateway Private Endpoint Connection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateApplicationGatewayPrivateEndpointConnection( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getApplicationGatewayPrivateEndpointConnections() + .update( + "rg1", + "appgw", + "connection1", + new ApplicationGatewayPrivateEndpointConnectionInner() + .withName("connection1") + .withPrivateLinkServiceConnectionState( + new PrivateLinkServiceConnectionState() + .withStatus("Approved") + .withDescription("approved it for some reason.")), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayPrivateEndpointConnectionUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayPrivateEndpointConnectionUpdate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayPrivateEndpointConnectionUpdate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayPrivateLinkResourceList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayPrivateLinkResourceList.java new file mode 100644 index 0000000000..fc9efa2102 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayPrivateLinkResourceList.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for ApplicationGatewayPrivateLinkResources List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ApplicationGatewayPrivateLinkResourceList.json + */ + /** + * Sample code: Lists all private link resources on application gateway. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listsAllPrivateLinkResourcesOnApplicationGateway( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getApplicationGatewayPrivateLinkResources() + .list("rg1", "appgw", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayPrivateLinkResourceList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayPrivateLinkResourceList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayPrivateLinkResourceList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayStart.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayStart.java new file mode 100644 index 0000000000..3036b9ac41 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayStart.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for ApplicationGateways Start. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ApplicationGatewayStart.json + */ + /** + * Sample code: Start Application Gateway. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void startApplicationGateway(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getApplicationGateways().start("rg1", "appgw", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayStart.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayStart.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayStart.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayStop.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayStop.java new file mode 100644 index 0000000000..da54fedf09 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayStop.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for ApplicationGateways Stop. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ApplicationGatewayStop.json + */ + /** + * Sample code: Stop Application Gateway. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void stopApplicationGateway(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getApplicationGateways().stop("rg1", "appgw", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayStop.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayStop.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayStop.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayUpdateTags.java new file mode 100644 index 0000000000..9c44d0790e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayUpdateTags.java @@ -0,0 +1,36 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for ApplicationGateways UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ApplicationGatewayUpdateTags.json + */ + /** + * Sample code: Update Application Gateway tags. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateApplicationGatewayTags(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getApplicationGateways() + .updateTagsWithResponse( + "rg1", "AppGw", new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationGatewayUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupCreate.java new file mode 100644 index 0000000000..57c420a4f8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupCreate.java @@ -0,0 +1,23 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.ApplicationSecurityGroupInner; + +/** Samples for ApplicationSecurityGroups CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ApplicationSecurityGroupCreate.json + */ + /** + * Sample code: Create application security group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createApplicationSecurityGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getApplicationSecurityGroups() + .createOrUpdate( + "rg1", "test-asg", new ApplicationSecurityGroupInner().withLocation("westus"), Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupDelete.java new file mode 100644 index 0000000000..235daf2729 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ApplicationSecurityGroups Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ApplicationSecurityGroupDelete.json + */ + /** + * Sample code: Delete application security group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteApplicationSecurityGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getApplicationSecurityGroups() + .delete("rg1", "test-asg", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupGet.java new file mode 100644 index 0000000000..5f441e64ee --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ApplicationSecurityGroups GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ApplicationSecurityGroupGet.json + */ + /** + * Sample code: Get application security group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getApplicationSecurityGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getApplicationSecurityGroups() + .getByResourceGroupWithResponse("rg1", "test-asg", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupList.java new file mode 100644 index 0000000000..2978273712 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ApplicationSecurityGroups ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ApplicationSecurityGroupList.json + */ + /** + * Sample code: List load balancers in resource group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listLoadBalancersInResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getApplicationSecurityGroups() + .listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupListAll.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupListAll.java new file mode 100644 index 0000000000..e6c9cc4ceb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupListAll.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for ApplicationSecurityGroups List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ApplicationSecurityGroupListAll.json + */ + /** + * Sample code: List all application security groups. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllApplicationSecurityGroups(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getApplicationSecurityGroups().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupListAll.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupListAll.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupUpdateTags.java new file mode 100644 index 0000000000..2683e16c07 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupUpdateTags.java @@ -0,0 +1,36 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for ApplicationSecurityGroups UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ApplicationSecurityGroupUpdateTags.json + */ + /** + * Sample code: Update application security group tags. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateApplicationSecurityGroupTags(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getApplicationSecurityGroups() + .updateTagsWithResponse( + "rg1", "test-asg", new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ApplicationSecurityGroupUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AutoApprovedPrivateLinkServicesGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AutoApprovedPrivateLinkServicesGet.java new file mode 100644 index 0000000000..04a36b62b2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AutoApprovedPrivateLinkServicesGet.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateLinkServices ListAutoApprovedPrivateLinkServices. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/AutoApprovedPrivateLinkServicesGet.json + */ + /** + * Sample code: Get list of private link service id that can be linked to a private end point with auto approved. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getListOfPrivateLinkServiceIdThatCanBeLinkedToAPrivateEndPointWithAutoApproved( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPrivateLinkServices() + .listAutoApprovedPrivateLinkServices("regionName", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AutoApprovedPrivateLinkServicesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AutoApprovedPrivateLinkServicesGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AutoApprovedPrivateLinkServicesGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AutoApprovedPrivateLinkServicesResourceGroupGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AutoApprovedPrivateLinkServicesResourceGroupGet.java new file mode 100644 index 0000000000..b00073509b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AutoApprovedPrivateLinkServicesResourceGroupGet.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateLinkServices ListAutoApprovedPrivateLinkServicesByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json + */ + /** + * Sample code: Get list of private link service id that can be linked to a private end point with auto approved. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getListOfPrivateLinkServiceIdThatCanBeLinkedToAPrivateEndPointWithAutoApproved( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPrivateLinkServices() + .listAutoApprovedPrivateLinkServicesByResourceGroup("regionName", "rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AutoApprovedPrivateLinkServicesResourceGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AutoApprovedPrivateLinkServicesResourceGroupGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AutoApprovedPrivateLinkServicesResourceGroupGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailableDelegationsResourceGroupGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailableDelegationsResourceGroupGet.java new file mode 100644 index 0000000000..0d205326bb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailableDelegationsResourceGroupGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for AvailableResourceGroupDelegations List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/AvailableDelegationsResourceGroupGet.json + */ + /** + * Sample code: Get available delegations in the resource group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getAvailableDelegationsInTheResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getAvailableResourceGroupDelegations() + .list("westcentralus", "rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailableDelegationsResourceGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailableDelegationsResourceGroupGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailableDelegationsResourceGroupGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailableDelegationsSubscriptionGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailableDelegationsSubscriptionGet.java new file mode 100644 index 0000000000..e3d6a6e285 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailableDelegationsSubscriptionGet.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for AvailableDelegations List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/AvailableDelegationsSubscriptionGet.json + */ + /** + * Sample code: Get available delegations. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getAvailableDelegations(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getAvailableDelegations().list("westcentralus", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailableDelegationsSubscriptionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailableDelegationsSubscriptionGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailableDelegationsSubscriptionGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailablePrivateEndpointTypesGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailablePrivateEndpointTypesGet.java new file mode 100644 index 0000000000..c37bc6bf8b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailablePrivateEndpointTypesGet.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for AvailablePrivateEndpointTypes List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/AvailablePrivateEndpointTypesGet.json + */ + /** + * Sample code: Get available PrivateEndpoint types. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getAvailablePrivateEndpointTypes(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getAvailablePrivateEndpointTypes().list("regionName", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailablePrivateEndpointTypesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailablePrivateEndpointTypesGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailablePrivateEndpointTypesGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailablePrivateEndpointTypesResourceGroupGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailablePrivateEndpointTypesResourceGroupGet.java new file mode 100644 index 0000000000..53f660852b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailablePrivateEndpointTypesResourceGroupGet.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for AvailablePrivateEndpointTypes ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json + */ + /** + * Sample code: Get available PrivateEndpoint types in the resource group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getAvailablePrivateEndpointTypesInTheResourceGroup( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getAvailablePrivateEndpointTypes() + .listByResourceGroup("regionName", "rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailablePrivateEndpointTypesResourceGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailablePrivateEndpointTypesResourceGroupGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailablePrivateEndpointTypesResourceGroupGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailableServiceAliasesList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailableServiceAliasesList.java new file mode 100644 index 0000000000..1cad42979c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailableServiceAliasesList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for AvailableServiceAliases List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/AvailableServiceAliasesList.json + */ + /** + * Sample code: Get available service aliases. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getAvailableServiceAliases(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getAvailableServiceAliases().list("westcentralus", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailableServiceAliasesList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailableServiceAliasesList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailableServiceAliasesList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailableServiceAliasesListByResourceGroup.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailableServiceAliasesListByResourceGroup.java new file mode 100644 index 0000000000..61e7b233c0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailableServiceAliasesListByResourceGroup.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for AvailableServiceAliases ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/AvailableServiceAliasesListByResourceGroup.json + */ + /** + * Sample code: Get available service aliases in the resource group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getAvailableServiceAliasesInTheResourceGroup( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getAvailableServiceAliases() + .listByResourceGroup("rg1", "westcentralus", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailableServiceAliasesListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailableServiceAliasesListByResourceGroup.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AvailableServiceAliasesListByResourceGroup.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallDelete.java new file mode 100644 index 0000000000..488e908f11 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for AzureFirewalls Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/AzureFirewallDelete.json + */ + /** + * Sample code: Delete Azure Firewall. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteAzureFirewall(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getAzureFirewalls().delete("rg1", "azurefirewall", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallFqdnTagsListBySubscription.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallFqdnTagsListBySubscription.java new file mode 100644 index 0000000000..8fb62f9809 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallFqdnTagsListBySubscription.java @@ -0,0 +1,17 @@ +import com.azure.core.util.Context; + +/** Samples for AzureFirewallFqdnTags List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/AzureFirewallFqdnTagsListBySubscription.json + */ + /** + * Sample code: List all Azure Firewall FQDN Tags for a given subscription. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllAzureFirewallFQDNTagsForAGivenSubscription( + com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getAzureFirewallFqdnTags().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallFqdnTagsListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallFqdnTagsListBySubscription.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallFqdnTagsListBySubscription.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallGet.java new file mode 100644 index 0000000000..be09db09f0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for AzureFirewalls GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/AzureFirewallGet.json + */ + /** + * Sample code: Get Azure Firewall. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getAzureFirewall(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getAzureFirewalls() + .getByResourceGroupWithResponse("rg1", "azurefirewall", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallGetWithAdditionalProperties.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallGetWithAdditionalProperties.java new file mode 100644 index 0000000000..1d654f461b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallGetWithAdditionalProperties.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for AzureFirewalls GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/AzureFirewallGetWithAdditionalProperties.json + */ + /** + * Sample code: Get Azure Firewall With Additional Properties. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getAzureFirewallWithAdditionalProperties(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getAzureFirewalls() + .getByResourceGroupWithResponse("rg1", "azurefirewall", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallGetWithAdditionalProperties.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallGetWithAdditionalProperties.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallGetWithAdditionalProperties.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallGetWithIpGroups.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallGetWithIpGroups.java new file mode 100644 index 0000000000..7bec62073e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallGetWithIpGroups.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for AzureFirewalls GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/AzureFirewallGetWithIpGroups.json + */ + /** + * Sample code: Get Azure Firewall With IpGroups. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getAzureFirewallWithIpGroups(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getAzureFirewalls() + .getByResourceGroupWithResponse("rg1", "azurefirewall", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallGetWithIpGroups.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallGetWithIpGroups.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallGetWithIpGroups.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallGetWithMgmtSubnet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallGetWithMgmtSubnet.java new file mode 100644 index 0000000000..5f14d6ac3d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallGetWithMgmtSubnet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for AzureFirewalls GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/AzureFirewallGetWithMgmtSubnet.json + */ + /** + * Sample code: Get Azure Firewall With management subnet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getAzureFirewallWithManagementSubnet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getAzureFirewalls() + .getByResourceGroupWithResponse("rg1", "azurefirewall", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallGetWithMgmtSubnet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallGetWithMgmtSubnet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallGetWithMgmtSubnet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallGetWithZones.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallGetWithZones.java new file mode 100644 index 0000000000..f382fc0cec --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallGetWithZones.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for AzureFirewalls GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/AzureFirewallGetWithZones.json + */ + /** + * Sample code: Get Azure Firewall With Zones. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getAzureFirewallWithZones(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getAzureFirewalls() + .getByResourceGroupWithResponse("rg1", "azurefirewall", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallGetWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallGetWithZones.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallGetWithZones.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallListByResourceGroup.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallListByResourceGroup.java new file mode 100644 index 0000000000..703dc6ebd2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallListByResourceGroup.java @@ -0,0 +1,17 @@ +import com.azure.core.util.Context; + +/** Samples for AzureFirewalls ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/AzureFirewallListByResourceGroup.json + */ + /** + * Sample code: List all Azure Firewalls for a given resource group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllAzureFirewallsForAGivenResourceGroup( + com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getAzureFirewalls().listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallListByResourceGroup.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallListByResourceGroup.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallListBySubscription.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallListBySubscription.java new file mode 100644 index 0000000000..d8b3995eeb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallListBySubscription.java @@ -0,0 +1,17 @@ +import com.azure.core.util.Context; + +/** Samples for AzureFirewalls List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/AzureFirewallListBySubscription.json + */ + /** + * Sample code: List all Azure Firewalls for a given subscription. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllAzureFirewallsForAGivenSubscription( + com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getAzureFirewalls().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallListBySubscription.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallListBySubscription.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallListLearnedIPPrefixes.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallListLearnedIPPrefixes.java new file mode 100644 index 0000000000..fdc6f797cd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallListLearnedIPPrefixes.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for AzureFirewalls ListLearnedPrefixes. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/AzureFirewallListLearnedIPPrefixes.json + */ + /** + * Sample code: AzureFirewallListLearnedPrefixes. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void azureFirewallListLearnedPrefixes(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getAzureFirewalls() + .listLearnedPrefixes("rg1", "azureFirewall1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallListLearnedIPPrefixes.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallListLearnedIPPrefixes.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallListLearnedIPPrefixes.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPut.java new file mode 100644 index 0000000000..2932802a8b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPut.java @@ -0,0 +1,158 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.AzureFirewallInner; +import com.azure.resourcemanager.network.models.AzureFirewallApplicationRule; +import com.azure.resourcemanager.network.models.AzureFirewallApplicationRuleCollection; +import com.azure.resourcemanager.network.models.AzureFirewallApplicationRuleProtocol; +import com.azure.resourcemanager.network.models.AzureFirewallApplicationRuleProtocolType; +import com.azure.resourcemanager.network.models.AzureFirewallIpConfiguration; +import com.azure.resourcemanager.network.models.AzureFirewallNatRCAction; +import com.azure.resourcemanager.network.models.AzureFirewallNatRCActionType; +import com.azure.resourcemanager.network.models.AzureFirewallNatRule; +import com.azure.resourcemanager.network.models.AzureFirewallNatRuleCollection; +import com.azure.resourcemanager.network.models.AzureFirewallNetworkRule; +import com.azure.resourcemanager.network.models.AzureFirewallNetworkRuleCollection; +import com.azure.resourcemanager.network.models.AzureFirewallNetworkRuleProtocol; +import com.azure.resourcemanager.network.models.AzureFirewallRCAction; +import com.azure.resourcemanager.network.models.AzureFirewallRCActionType; +import com.azure.resourcemanager.network.models.AzureFirewallSku; +import com.azure.resourcemanager.network.models.AzureFirewallSkuName; +import com.azure.resourcemanager.network.models.AzureFirewallSkuTier; +import com.azure.resourcemanager.network.models.AzureFirewallThreatIntelMode; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for AzureFirewalls CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/AzureFirewallPut.json + */ + /** + * Sample code: Create Azure Firewall. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createAzureFirewall(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getAzureFirewalls() + .createOrUpdate( + "rg1", + "azurefirewall", + new AzureFirewallInner() + .withLocation("West US") + .withTags(mapOf("key1", "value1")) + .withZones(Arrays.asList()) + .withApplicationRuleCollections( + Arrays + .asList( + new AzureFirewallApplicationRuleCollection() + .withName("apprulecoll") + .withPriority(110) + .withAction(new AzureFirewallRCAction().withType(AzureFirewallRCActionType.DENY)) + .withRules( + Arrays + .asList( + new AzureFirewallApplicationRule() + .withName("rule1") + .withDescription("Deny inbound rule") + .withSourceAddresses(Arrays.asList("216.58.216.164", "10.0.0.0/24")) + .withProtocols( + Arrays + .asList( + new AzureFirewallApplicationRuleProtocol() + .withProtocolType( + AzureFirewallApplicationRuleProtocolType.HTTPS) + .withPort(443))) + .withTargetFqdns(Arrays.asList("www.test.com")))))) + .withNatRuleCollections( + Arrays + .asList( + new AzureFirewallNatRuleCollection() + .withName("natrulecoll") + .withPriority(112) + .withAction( + new AzureFirewallNatRCAction().withType(AzureFirewallNatRCActionType.DNAT)) + .withRules( + Arrays + .asList( + new AzureFirewallNatRule() + .withName("DNAT-HTTPS-traffic") + .withDescription("D-NAT all outbound web traffic for inspection") + .withSourceAddresses(Arrays.asList("*")) + .withDestinationAddresses(Arrays.asList("1.2.3.4")) + .withDestinationPorts(Arrays.asList("443")) + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withTranslatedAddress("1.2.3.5") + .withTranslatedPort("8443"), + new AzureFirewallNatRule() + .withName("DNAT-HTTP-traffic-With-FQDN") + .withDescription("D-NAT all inbound web traffic for inspection") + .withSourceAddresses(Arrays.asList("*")) + .withDestinationAddresses(Arrays.asList("1.2.3.4")) + .withDestinationPorts(Arrays.asList("80")) + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withTranslatedPort("880") + .withTranslatedFqdn("internalhttpserver"))))) + .withNetworkRuleCollections( + Arrays + .asList( + new AzureFirewallNetworkRuleCollection() + .withName("netrulecoll") + .withPriority(112) + .withAction(new AzureFirewallRCAction().withType(AzureFirewallRCActionType.DENY)) + .withRules( + Arrays + .asList( + new AzureFirewallNetworkRule() + .withName("L4-traffic") + .withDescription("Block traffic based on source IPs and ports") + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withSourceAddresses( + Arrays + .asList("192.168.1.1-192.168.1.12", "10.1.4.12-10.1.4.255")) + .withDestinationAddresses(Arrays.asList("*")) + .withDestinationPorts(Arrays.asList("443-444", "8443")), + new AzureFirewallNetworkRule() + .withName("L4-traffic-with-FQDN") + .withDescription( + "Block traffic based on source IPs and ports to amazon") + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withSourceAddresses(Arrays.asList("10.2.4.12-10.2.4.255")) + .withDestinationPorts(Arrays.asList("443-444", "8443")) + .withDestinationFqdns(Arrays.asList("www.amazon.com")))))) + .withIpConfigurations( + Arrays + .asList( + new AzureFirewallIpConfiguration() + .withName("azureFirewallIpConfiguration") + .withSubnet( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet")) + .withPublicIpAddress( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName")))) + .withThreatIntelMode(AzureFirewallThreatIntelMode.ALERT) + .withSku( + new AzureFirewallSku() + .withName(AzureFirewallSkuName.AZFW_VNET) + .withTier(AzureFirewallSkuTier.STANDARD)), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPutInHub.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPutInHub.java new file mode 100644 index 0000000000..8e7a7cc07b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPutInHub.java @@ -0,0 +1,66 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.AzureFirewallInner; +import com.azure.resourcemanager.network.models.AzureFirewallSku; +import com.azure.resourcemanager.network.models.AzureFirewallSkuName; +import com.azure.resourcemanager.network.models.AzureFirewallSkuTier; +import com.azure.resourcemanager.network.models.AzureFirewallThreatIntelMode; +import com.azure.resourcemanager.network.models.HubIpAddresses; +import com.azure.resourcemanager.network.models.HubPublicIpAddresses; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for AzureFirewalls CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/AzureFirewallPutInHub.json + */ + /** + * Sample code: Create Azure Firewall in virtual Hub. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createAzureFirewallInVirtualHub(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getAzureFirewalls() + .createOrUpdate( + "rg1", + "azurefirewall", + new AzureFirewallInner() + .withLocation("West US") + .withTags(mapOf("key1", "value1")) + .withZones(Arrays.asList()) + .withThreatIntelMode(AzureFirewallThreatIntelMode.ALERT) + .withVirtualHub( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1")) + .withFirewallPolicy( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/policy1")) + .withHubIpAddresses( + new HubIpAddresses() + .withPublicIPs(new HubPublicIpAddresses().withAddresses(Arrays.asList()).withCount(1))) + .withSku( + new AzureFirewallSku() + .withName(AzureFirewallSkuName.AZFW_HUB) + .withTier(AzureFirewallSkuTier.STANDARD)), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPutInHub.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPutInHub.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPutInHub.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPutWithAdditionalProperties.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPutWithAdditionalProperties.java new file mode 100644 index 0000000000..accf0e0912 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPutWithAdditionalProperties.java @@ -0,0 +1,160 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.AzureFirewallInner; +import com.azure.resourcemanager.network.models.AzureFirewallApplicationRule; +import com.azure.resourcemanager.network.models.AzureFirewallApplicationRuleCollection; +import com.azure.resourcemanager.network.models.AzureFirewallApplicationRuleProtocol; +import com.azure.resourcemanager.network.models.AzureFirewallApplicationRuleProtocolType; +import com.azure.resourcemanager.network.models.AzureFirewallIpConfiguration; +import com.azure.resourcemanager.network.models.AzureFirewallNatRCAction; +import com.azure.resourcemanager.network.models.AzureFirewallNatRCActionType; +import com.azure.resourcemanager.network.models.AzureFirewallNatRule; +import com.azure.resourcemanager.network.models.AzureFirewallNatRuleCollection; +import com.azure.resourcemanager.network.models.AzureFirewallNetworkRule; +import com.azure.resourcemanager.network.models.AzureFirewallNetworkRuleCollection; +import com.azure.resourcemanager.network.models.AzureFirewallNetworkRuleProtocol; +import com.azure.resourcemanager.network.models.AzureFirewallRCAction; +import com.azure.resourcemanager.network.models.AzureFirewallRCActionType; +import com.azure.resourcemanager.network.models.AzureFirewallSku; +import com.azure.resourcemanager.network.models.AzureFirewallSkuName; +import com.azure.resourcemanager.network.models.AzureFirewallSkuTier; +import com.azure.resourcemanager.network.models.AzureFirewallThreatIntelMode; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for AzureFirewalls CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/AzureFirewallPutWithAdditionalProperties.json + */ + /** + * Sample code: Create Azure Firewall With Additional Properties. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createAzureFirewallWithAdditionalProperties( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getAzureFirewalls() + .createOrUpdate( + "rg1", + "azurefirewall", + new AzureFirewallInner() + .withLocation("West US") + .withTags(mapOf("key1", "value1")) + .withZones(Arrays.asList()) + .withApplicationRuleCollections( + Arrays + .asList( + new AzureFirewallApplicationRuleCollection() + .withName("apprulecoll") + .withPriority(110) + .withAction(new AzureFirewallRCAction().withType(AzureFirewallRCActionType.DENY)) + .withRules( + Arrays + .asList( + new AzureFirewallApplicationRule() + .withName("rule1") + .withDescription("Deny inbound rule") + .withSourceAddresses(Arrays.asList("216.58.216.164", "10.0.0.0/24")) + .withProtocols( + Arrays + .asList( + new AzureFirewallApplicationRuleProtocol() + .withProtocolType( + AzureFirewallApplicationRuleProtocolType.HTTPS) + .withPort(443))) + .withTargetFqdns(Arrays.asList("www.test.com")))))) + .withNatRuleCollections( + Arrays + .asList( + new AzureFirewallNatRuleCollection() + .withName("natrulecoll") + .withPriority(112) + .withAction( + new AzureFirewallNatRCAction().withType(AzureFirewallNatRCActionType.DNAT)) + .withRules( + Arrays + .asList( + new AzureFirewallNatRule() + .withName("DNAT-HTTPS-traffic") + .withDescription("D-NAT all outbound web traffic for inspection") + .withSourceAddresses(Arrays.asList("*")) + .withDestinationAddresses(Arrays.asList("1.2.3.4")) + .withDestinationPorts(Arrays.asList("443")) + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withTranslatedAddress("1.2.3.5") + .withTranslatedPort("8443"), + new AzureFirewallNatRule() + .withName("DNAT-HTTP-traffic-With-FQDN") + .withDescription("D-NAT all inbound web traffic for inspection") + .withSourceAddresses(Arrays.asList("*")) + .withDestinationAddresses(Arrays.asList("1.2.3.4")) + .withDestinationPorts(Arrays.asList("80")) + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withTranslatedPort("880") + .withTranslatedFqdn("internalhttpserver"))))) + .withNetworkRuleCollections( + Arrays + .asList( + new AzureFirewallNetworkRuleCollection() + .withName("netrulecoll") + .withPriority(112) + .withAction(new AzureFirewallRCAction().withType(AzureFirewallRCActionType.DENY)) + .withRules( + Arrays + .asList( + new AzureFirewallNetworkRule() + .withName("L4-traffic") + .withDescription("Block traffic based on source IPs and ports") + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withSourceAddresses( + Arrays + .asList("192.168.1.1-192.168.1.12", "10.1.4.12-10.1.4.255")) + .withDestinationAddresses(Arrays.asList("*")) + .withDestinationPorts(Arrays.asList("443-444", "8443")), + new AzureFirewallNetworkRule() + .withName("L4-traffic-with-FQDN") + .withDescription( + "Block traffic based on source IPs and ports to amazon") + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withSourceAddresses(Arrays.asList("10.2.4.12-10.2.4.255")) + .withDestinationPorts(Arrays.asList("443-444", "8443")) + .withDestinationFqdns(Arrays.asList("www.amazon.com")))))) + .withIpConfigurations( + Arrays + .asList( + new AzureFirewallIpConfiguration() + .withName("azureFirewallIpConfiguration") + .withSubnet( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet")) + .withPublicIpAddress( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName")))) + .withThreatIntelMode(AzureFirewallThreatIntelMode.ALERT) + .withSku( + new AzureFirewallSku() + .withName(AzureFirewallSkuName.AZFW_VNET) + .withTier(AzureFirewallSkuTier.STANDARD)) + .withAdditionalProperties(mapOf("key1", "value1", "key2", "value2")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPutWithAdditionalProperties.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPutWithAdditionalProperties.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPutWithAdditionalProperties.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPutWithIpGroups.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPutWithIpGroups.java new file mode 100644 index 0000000000..a243f7283b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPutWithIpGroups.java @@ -0,0 +1,158 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.AzureFirewallInner; +import com.azure.resourcemanager.network.models.AzureFirewallApplicationRule; +import com.azure.resourcemanager.network.models.AzureFirewallApplicationRuleCollection; +import com.azure.resourcemanager.network.models.AzureFirewallApplicationRuleProtocol; +import com.azure.resourcemanager.network.models.AzureFirewallApplicationRuleProtocolType; +import com.azure.resourcemanager.network.models.AzureFirewallIpConfiguration; +import com.azure.resourcemanager.network.models.AzureFirewallNatRCAction; +import com.azure.resourcemanager.network.models.AzureFirewallNatRCActionType; +import com.azure.resourcemanager.network.models.AzureFirewallNatRule; +import com.azure.resourcemanager.network.models.AzureFirewallNatRuleCollection; +import com.azure.resourcemanager.network.models.AzureFirewallNetworkRule; +import com.azure.resourcemanager.network.models.AzureFirewallNetworkRuleCollection; +import com.azure.resourcemanager.network.models.AzureFirewallNetworkRuleProtocol; +import com.azure.resourcemanager.network.models.AzureFirewallRCAction; +import com.azure.resourcemanager.network.models.AzureFirewallRCActionType; +import com.azure.resourcemanager.network.models.AzureFirewallSku; +import com.azure.resourcemanager.network.models.AzureFirewallSkuName; +import com.azure.resourcemanager.network.models.AzureFirewallSkuTier; +import com.azure.resourcemanager.network.models.AzureFirewallThreatIntelMode; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for AzureFirewalls CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/AzureFirewallPutWithIpGroups.json + */ + /** + * Sample code: Create Azure Firewall With IpGroups. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createAzureFirewallWithIpGroups(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getAzureFirewalls() + .createOrUpdate( + "rg1", + "azurefirewall", + new AzureFirewallInner() + .withLocation("West US") + .withTags(mapOf("key1", "value1")) + .withZones(Arrays.asList()) + .withApplicationRuleCollections( + Arrays + .asList( + new AzureFirewallApplicationRuleCollection() + .withName("apprulecoll") + .withPriority(110) + .withAction(new AzureFirewallRCAction().withType(AzureFirewallRCActionType.DENY)) + .withRules( + Arrays + .asList( + new AzureFirewallApplicationRule() + .withName("rule1") + .withDescription("Deny inbound rule") + .withSourceAddresses(Arrays.asList("216.58.216.164", "10.0.0.0/24")) + .withProtocols( + Arrays + .asList( + new AzureFirewallApplicationRuleProtocol() + .withProtocolType( + AzureFirewallApplicationRuleProtocolType.HTTPS) + .withPort(443))) + .withTargetFqdns(Arrays.asList("www.test.com")))))) + .withNatRuleCollections( + Arrays + .asList( + new AzureFirewallNatRuleCollection() + .withName("natrulecoll") + .withPriority(112) + .withAction( + new AzureFirewallNatRCAction().withType(AzureFirewallNatRCActionType.DNAT)) + .withRules( + Arrays + .asList( + new AzureFirewallNatRule() + .withName("DNAT-HTTPS-traffic") + .withDescription("D-NAT all outbound web traffic for inspection") + .withSourceAddresses(Arrays.asList("*")) + .withDestinationAddresses(Arrays.asList("1.2.3.4")) + .withDestinationPorts(Arrays.asList("443")) + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withTranslatedAddress("1.2.3.5") + .withTranslatedPort("8443"), + new AzureFirewallNatRule() + .withName("DNAT-HTTP-traffic-With-FQDN") + .withDescription("D-NAT all inbound web traffic for inspection") + .withSourceAddresses(Arrays.asList("*")) + .withDestinationAddresses(Arrays.asList("1.2.3.4")) + .withDestinationPorts(Arrays.asList("80")) + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withTranslatedPort("880") + .withTranslatedFqdn("internalhttpserver"))))) + .withNetworkRuleCollections( + Arrays + .asList( + new AzureFirewallNetworkRuleCollection() + .withName("netrulecoll") + .withPriority(112) + .withAction(new AzureFirewallRCAction().withType(AzureFirewallRCActionType.DENY)) + .withRules( + Arrays + .asList( + new AzureFirewallNetworkRule() + .withName("L4-traffic") + .withDescription("Block traffic based on source IPs and ports") + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withSourceAddresses( + Arrays + .asList("192.168.1.1-192.168.1.12", "10.1.4.12-10.1.4.255")) + .withDestinationAddresses(Arrays.asList("*")) + .withDestinationPorts(Arrays.asList("443-444", "8443")), + new AzureFirewallNetworkRule() + .withName("L4-traffic-with-FQDN") + .withDescription( + "Block traffic based on source IPs and ports to amazon") + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withSourceAddresses(Arrays.asList("10.2.4.12-10.2.4.255")) + .withDestinationPorts(Arrays.asList("443-444", "8443")) + .withDestinationFqdns(Arrays.asList("www.amazon.com")))))) + .withIpConfigurations( + Arrays + .asList( + new AzureFirewallIpConfiguration() + .withName("azureFirewallIpConfiguration") + .withSubnet( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet")) + .withPublicIpAddress( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName")))) + .withThreatIntelMode(AzureFirewallThreatIntelMode.ALERT) + .withSku( + new AzureFirewallSku() + .withName(AzureFirewallSkuName.AZFW_VNET) + .withTier(AzureFirewallSkuTier.STANDARD)), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPutWithIpGroups.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPutWithIpGroups.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPutWithIpGroups.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPutWithMgmtSubnet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPutWithMgmtSubnet.java new file mode 100644 index 0000000000..efdfb7dbae --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPutWithMgmtSubnet.java @@ -0,0 +1,169 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.AzureFirewallInner; +import com.azure.resourcemanager.network.models.AzureFirewallApplicationRule; +import com.azure.resourcemanager.network.models.AzureFirewallApplicationRuleCollection; +import com.azure.resourcemanager.network.models.AzureFirewallApplicationRuleProtocol; +import com.azure.resourcemanager.network.models.AzureFirewallApplicationRuleProtocolType; +import com.azure.resourcemanager.network.models.AzureFirewallIpConfiguration; +import com.azure.resourcemanager.network.models.AzureFirewallNatRCAction; +import com.azure.resourcemanager.network.models.AzureFirewallNatRCActionType; +import com.azure.resourcemanager.network.models.AzureFirewallNatRule; +import com.azure.resourcemanager.network.models.AzureFirewallNatRuleCollection; +import com.azure.resourcemanager.network.models.AzureFirewallNetworkRule; +import com.azure.resourcemanager.network.models.AzureFirewallNetworkRuleCollection; +import com.azure.resourcemanager.network.models.AzureFirewallNetworkRuleProtocol; +import com.azure.resourcemanager.network.models.AzureFirewallRCAction; +import com.azure.resourcemanager.network.models.AzureFirewallRCActionType; +import com.azure.resourcemanager.network.models.AzureFirewallSku; +import com.azure.resourcemanager.network.models.AzureFirewallSkuName; +import com.azure.resourcemanager.network.models.AzureFirewallSkuTier; +import com.azure.resourcemanager.network.models.AzureFirewallThreatIntelMode; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for AzureFirewalls CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/AzureFirewallPutWithMgmtSubnet.json + */ + /** + * Sample code: Create Azure Firewall With management subnet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createAzureFirewallWithManagementSubnet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getAzureFirewalls() + .createOrUpdate( + "rg1", + "azurefirewall", + new AzureFirewallInner() + .withLocation("West US") + .withTags(mapOf("key1", "value1")) + .withZones(Arrays.asList()) + .withApplicationRuleCollections( + Arrays + .asList( + new AzureFirewallApplicationRuleCollection() + .withName("apprulecoll") + .withPriority(110) + .withAction(new AzureFirewallRCAction().withType(AzureFirewallRCActionType.DENY)) + .withRules( + Arrays + .asList( + new AzureFirewallApplicationRule() + .withName("rule1") + .withDescription("Deny inbound rule") + .withSourceAddresses(Arrays.asList("216.58.216.164", "10.0.0.0/24")) + .withProtocols( + Arrays + .asList( + new AzureFirewallApplicationRuleProtocol() + .withProtocolType( + AzureFirewallApplicationRuleProtocolType.HTTPS) + .withPort(443))) + .withTargetFqdns(Arrays.asList("www.test.com")))))) + .withNatRuleCollections( + Arrays + .asList( + new AzureFirewallNatRuleCollection() + .withName("natrulecoll") + .withPriority(112) + .withAction( + new AzureFirewallNatRCAction().withType(AzureFirewallNatRCActionType.DNAT)) + .withRules( + Arrays + .asList( + new AzureFirewallNatRule() + .withName("DNAT-HTTPS-traffic") + .withDescription("D-NAT all outbound web traffic for inspection") + .withSourceAddresses(Arrays.asList("*")) + .withDestinationAddresses(Arrays.asList("1.2.3.4")) + .withDestinationPorts(Arrays.asList("443")) + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withTranslatedAddress("1.2.3.5") + .withTranslatedPort("8443"), + new AzureFirewallNatRule() + .withName("DNAT-HTTP-traffic-With-FQDN") + .withDescription("D-NAT all inbound web traffic for inspection") + .withSourceAddresses(Arrays.asList("*")) + .withDestinationAddresses(Arrays.asList("1.2.3.4")) + .withDestinationPorts(Arrays.asList("80")) + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withTranslatedPort("880") + .withTranslatedFqdn("internalhttpserver"))))) + .withNetworkRuleCollections( + Arrays + .asList( + new AzureFirewallNetworkRuleCollection() + .withName("netrulecoll") + .withPriority(112) + .withAction(new AzureFirewallRCAction().withType(AzureFirewallRCActionType.DENY)) + .withRules( + Arrays + .asList( + new AzureFirewallNetworkRule() + .withName("L4-traffic") + .withDescription("Block traffic based on source IPs and ports") + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withSourceAddresses( + Arrays + .asList("192.168.1.1-192.168.1.12", "10.1.4.12-10.1.4.255")) + .withDestinationAddresses(Arrays.asList("*")) + .withDestinationPorts(Arrays.asList("443-444", "8443")), + new AzureFirewallNetworkRule() + .withName("L4-traffic-with-FQDN") + .withDescription( + "Block traffic based on source IPs and ports to amazon") + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withSourceAddresses(Arrays.asList("10.2.4.12-10.2.4.255")) + .withDestinationPorts(Arrays.asList("443-444", "8443")) + .withDestinationFqdns(Arrays.asList("www.amazon.com")))))) + .withIpConfigurations( + Arrays + .asList( + new AzureFirewallIpConfiguration() + .withName("azureFirewallIpConfiguration") + .withSubnet( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet")) + .withPublicIpAddress( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName")))) + .withManagementIpConfiguration( + new AzureFirewallIpConfiguration() + .withName("azureFirewallMgmtIpConfiguration") + .withSubnet( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallManagementSubnet")) + .withPublicIpAddress( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/managementPipName"))) + .withThreatIntelMode(AzureFirewallThreatIntelMode.ALERT) + .withSku( + new AzureFirewallSku() + .withName(AzureFirewallSkuName.AZFW_VNET) + .withTier(AzureFirewallSkuTier.STANDARD)), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPutWithMgmtSubnet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPutWithMgmtSubnet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPutWithMgmtSubnet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPutWithZones.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPutWithZones.java new file mode 100644 index 0000000000..bba4b0cdf3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPutWithZones.java @@ -0,0 +1,158 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.AzureFirewallInner; +import com.azure.resourcemanager.network.models.AzureFirewallApplicationRule; +import com.azure.resourcemanager.network.models.AzureFirewallApplicationRuleCollection; +import com.azure.resourcemanager.network.models.AzureFirewallApplicationRuleProtocol; +import com.azure.resourcemanager.network.models.AzureFirewallApplicationRuleProtocolType; +import com.azure.resourcemanager.network.models.AzureFirewallIpConfiguration; +import com.azure.resourcemanager.network.models.AzureFirewallNatRCAction; +import com.azure.resourcemanager.network.models.AzureFirewallNatRCActionType; +import com.azure.resourcemanager.network.models.AzureFirewallNatRule; +import com.azure.resourcemanager.network.models.AzureFirewallNatRuleCollection; +import com.azure.resourcemanager.network.models.AzureFirewallNetworkRule; +import com.azure.resourcemanager.network.models.AzureFirewallNetworkRuleCollection; +import com.azure.resourcemanager.network.models.AzureFirewallNetworkRuleProtocol; +import com.azure.resourcemanager.network.models.AzureFirewallRCAction; +import com.azure.resourcemanager.network.models.AzureFirewallRCActionType; +import com.azure.resourcemanager.network.models.AzureFirewallSku; +import com.azure.resourcemanager.network.models.AzureFirewallSkuName; +import com.azure.resourcemanager.network.models.AzureFirewallSkuTier; +import com.azure.resourcemanager.network.models.AzureFirewallThreatIntelMode; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for AzureFirewalls CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/AzureFirewallPutWithZones.json + */ + /** + * Sample code: Create Azure Firewall With Zones. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createAzureFirewallWithZones(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getAzureFirewalls() + .createOrUpdate( + "rg1", + "azurefirewall", + new AzureFirewallInner() + .withLocation("West US 2") + .withTags(mapOf("key1", "value1")) + .withZones(Arrays.asList("1", "2", "3")) + .withApplicationRuleCollections( + Arrays + .asList( + new AzureFirewallApplicationRuleCollection() + .withName("apprulecoll") + .withPriority(110) + .withAction(new AzureFirewallRCAction().withType(AzureFirewallRCActionType.DENY)) + .withRules( + Arrays + .asList( + new AzureFirewallApplicationRule() + .withName("rule1") + .withDescription("Deny inbound rule") + .withSourceAddresses(Arrays.asList("216.58.216.164", "10.0.0.0/24")) + .withProtocols( + Arrays + .asList( + new AzureFirewallApplicationRuleProtocol() + .withProtocolType( + AzureFirewallApplicationRuleProtocolType.HTTPS) + .withPort(443))) + .withTargetFqdns(Arrays.asList("www.test.com")))))) + .withNatRuleCollections( + Arrays + .asList( + new AzureFirewallNatRuleCollection() + .withName("natrulecoll") + .withPriority(112) + .withAction( + new AzureFirewallNatRCAction().withType(AzureFirewallNatRCActionType.DNAT)) + .withRules( + Arrays + .asList( + new AzureFirewallNatRule() + .withName("DNAT-HTTPS-traffic") + .withDescription("D-NAT all outbound web traffic for inspection") + .withSourceAddresses(Arrays.asList("*")) + .withDestinationAddresses(Arrays.asList("1.2.3.4")) + .withDestinationPorts(Arrays.asList("443")) + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withTranslatedAddress("1.2.3.5") + .withTranslatedPort("8443"), + new AzureFirewallNatRule() + .withName("DNAT-HTTP-traffic-With-FQDN") + .withDescription("D-NAT all inbound web traffic for inspection") + .withSourceAddresses(Arrays.asList("*")) + .withDestinationAddresses(Arrays.asList("1.2.3.4")) + .withDestinationPorts(Arrays.asList("80")) + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withTranslatedPort("880") + .withTranslatedFqdn("internalhttpserver"))))) + .withNetworkRuleCollections( + Arrays + .asList( + new AzureFirewallNetworkRuleCollection() + .withName("netrulecoll") + .withPriority(112) + .withAction(new AzureFirewallRCAction().withType(AzureFirewallRCActionType.DENY)) + .withRules( + Arrays + .asList( + new AzureFirewallNetworkRule() + .withName("L4-traffic") + .withDescription("Block traffic based on source IPs and ports") + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withSourceAddresses( + Arrays + .asList("192.168.1.1-192.168.1.12", "10.1.4.12-10.1.4.255")) + .withDestinationAddresses(Arrays.asList("*")) + .withDestinationPorts(Arrays.asList("443-444", "8443")), + new AzureFirewallNetworkRule() + .withName("L4-traffic-with-FQDN") + .withDescription( + "Block traffic based on source IPs and ports to amazon") + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withSourceAddresses(Arrays.asList("10.2.4.12-10.2.4.255")) + .withDestinationPorts(Arrays.asList("443-444", "8443")) + .withDestinationFqdns(Arrays.asList("www.amazon.com")))))) + .withIpConfigurations( + Arrays + .asList( + new AzureFirewallIpConfiguration() + .withName("azureFirewallIpConfiguration") + .withSubnet( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet")) + .withPublicIpAddress( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName")))) + .withThreatIntelMode(AzureFirewallThreatIntelMode.ALERT) + .withSku( + new AzureFirewallSku() + .withName(AzureFirewallSkuName.AZFW_VNET) + .withTier(AzureFirewallSkuTier.STANDARD)), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPutWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPutWithZones.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallPutWithZones.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallUpdateTags.java new file mode 100644 index 0000000000..4790ba32c7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallUpdateTags.java @@ -0,0 +1,36 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for AzureFirewalls UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/AzureFirewallUpdateTags.json + */ + /** + * Sample code: Update Azure Firewall Tags. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateAzureFirewallTags(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getAzureFirewalls() + .updateTags( + "azfwtest", "fw1", new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureFirewallUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureWebCategoriesListBySubscription.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureWebCategoriesListBySubscription.java new file mode 100644 index 0000000000..a006fefe27 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureWebCategoriesListBySubscription.java @@ -0,0 +1,17 @@ +import com.azure.core.util.Context; + +/** Samples for WebCategories List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/AzureWebCategoriesListBySubscription.json + */ + /** + * Sample code: List all Azure Web Categories for a given subscription. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllAzureWebCategoriesForAGivenSubscription( + com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getWebCategories().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureWebCategoriesListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureWebCategoriesListBySubscription.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureWebCategoriesListBySubscription.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureWebCategoryGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureWebCategoryGet.java new file mode 100644 index 0000000000..c80dab5ad2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureWebCategoryGet.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for WebCategories Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/AzureWebCategoryGet.json + */ + /** + * Sample code: Get Azure Web Category by name. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getAzureWebCategoryByName(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getWebCategories().getWithResponse("Arts", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureWebCategoryGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureWebCategoryGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/AzureWebCategoryGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostDelete.java new file mode 100644 index 0000000000..9cc2183a59 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for BastionHosts Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/BastionHostDelete.json + */ + /** + * Sample code: Delete Bastion Host. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteBastionHost(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getBastionHosts().delete("rg1", "bastionhosttenant", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostGet.java new file mode 100644 index 0000000000..16d9025734 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for BastionHosts GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/BastionHostGet.json + */ + /** + * Sample code: Get Bastion Host. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getBastionHost(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getBastionHosts() + .getByResourceGroupWithResponse("rg1", "bastionhosttenant'", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostListByResourceGroup.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostListByResourceGroup.java new file mode 100644 index 0000000000..c2447facb5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostListByResourceGroup.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for BastionHosts ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/BastionHostListByResourceGroup.json + */ + /** + * Sample code: List all Bastion Hosts for a given resource group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllBastionHostsForAGivenResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getBastionHosts().listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostListByResourceGroup.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostListByResourceGroup.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostListBySubscription.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostListBySubscription.java new file mode 100644 index 0000000000..57b7d483a8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostListBySubscription.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for BastionHosts List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/BastionHostListBySubscription.json + */ + /** + * Sample code: List all Bastion Hosts for a given subscription. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllBastionHostsForAGivenSubscription(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getBastionHosts().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostListBySubscription.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostListBySubscription.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostPatch.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostPatch.java new file mode 100644 index 0000000000..f3aec35e1b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostPatch.java @@ -0,0 +1,39 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for BastionHosts UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/BastionHostPatch.json + */ + /** + * Sample code: Patch Bastion Host. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void patchBastionHost(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getBastionHosts() + .updateTags( + "rg1", + "bastionhosttenant", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostPatch.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostPatch.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostPatch.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostPut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostPut.java new file mode 100644 index 0000000000..5fc3eb86c2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostPut.java @@ -0,0 +1,42 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.BastionHostInner; +import com.azure.resourcemanager.network.models.BastionHostIpConfiguration; +import java.util.Arrays; + +/** Samples for BastionHosts CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/BastionHostPut.json + */ + /** + * Sample code: Create Bastion Host. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createBastionHost(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getBastionHosts() + .createOrUpdate( + "rg1", + "bastionhosttenant", + new BastionHostInner() + .withIpConfigurations( + Arrays + .asList( + new BastionHostIpConfiguration() + .withName("bastionHostIpConfiguration") + .withSubnet( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet")) + .withPublicIpAddress( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName")))), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/BastionHostPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CheckPrivateLinkServiceVisibility.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CheckPrivateLinkServiceVisibility.java new file mode 100644 index 0000000000..09786e7a0d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CheckPrivateLinkServiceVisibility.java @@ -0,0 +1,26 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.CheckPrivateLinkServiceVisibilityRequest; + +/** Samples for PrivateLinkServices CheckPrivateLinkServiceVisibility. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/CheckPrivateLinkServiceVisibility.json + */ + /** + * Sample code: Check private link service visibility. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void checkPrivateLinkServiceVisibility(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPrivateLinkServices() + .checkPrivateLinkServiceVisibility( + "westus", + new CheckPrivateLinkServiceVisibilityRequest() + .withPrivateLinkServiceAlias("mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CheckPrivateLinkServiceVisibility.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CheckPrivateLinkServiceVisibility.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CheckPrivateLinkServiceVisibility.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CheckPrivateLinkServiceVisibilityByResourceGroup.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CheckPrivateLinkServiceVisibilityByResourceGroup.java new file mode 100644 index 0000000000..56685ed5c1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CheckPrivateLinkServiceVisibilityByResourceGroup.java @@ -0,0 +1,27 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.CheckPrivateLinkServiceVisibilityRequest; + +/** Samples for PrivateLinkServices CheckPrivateLinkServiceVisibilityByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json + */ + /** + * Sample code: Check private link service visibility. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void checkPrivateLinkServiceVisibility(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPrivateLinkServices() + .checkPrivateLinkServiceVisibilityByResourceGroup( + "westus", + "rg1", + new CheckPrivateLinkServiceVisibilityRequest() + .withPrivateLinkServiceAlias("mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CheckPrivateLinkServiceVisibilityByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CheckPrivateLinkServiceVisibilityByResourceGroup.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CheckPrivateLinkServiceVisibilityByResourceGroup.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServiceNetworkInterfaceGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServiceNetworkInterfaceGet.java new file mode 100644 index 0000000000..96ea2dcd2c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServiceNetworkInterfaceGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkInterfaces GetCloudServiceNetworkInterface. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/CloudServiceNetworkInterfaceGet.json + */ + /** + * Sample code: Get cloud service network interface. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getCloudServiceNetworkInterface(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkInterfaces() + .getCloudServiceNetworkInterfaceWithResponse("rg1", "cs1", "TestVMRole_IN_0", "nic1", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServiceNetworkInterfaceGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServiceNetworkInterfaceGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServiceNetworkInterfaceGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServiceNetworkInterfaceList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServiceNetworkInterfaceList.java new file mode 100644 index 0000000000..e5cf3244ab --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServiceNetworkInterfaceList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkInterfaces ListCloudServiceNetworkInterfaces. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/CloudServiceNetworkInterfaceList.json + */ + /** + * Sample code: List cloud service network interfaces. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listCloudServiceNetworkInterfaces(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkInterfaces() + .listCloudServiceNetworkInterfaces("rg1", "cs1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServiceNetworkInterfaceList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServiceNetworkInterfaceList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServiceNetworkInterfaceList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServicePublicIpGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServicePublicIpGet.java new file mode 100644 index 0000000000..4530ddd7d6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServicePublicIpGet.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for PublicIpAddresses GetCloudServicePublicIpAddress. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/CloudServicePublicIpGet.json + */ + /** + * Sample code: GetVMSSPublicIP. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getVMSSPublicIP(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPublicIpAddresses() + .getCloudServicePublicIpAddressWithResponse( + "cs-tester", "cs1", "Test_VM_0", "nic1", "ip1", "pub1", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServicePublicIpGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServicePublicIpGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServicePublicIpGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServicePublicIpListAll.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServicePublicIpListAll.java new file mode 100644 index 0000000000..f340a23b95 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServicePublicIpListAll.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for PublicIpAddresses ListCloudServicePublicIpAddresses. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/CloudServicePublicIpListAll.json + */ + /** + * Sample code: ListVMSSPublicIP. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listVMSSPublicIP(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPublicIpAddresses() + .listCloudServicePublicIpAddresses("cs-tester", "cs1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServicePublicIpListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServicePublicIpListAll.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServicePublicIpListAll.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServiceRoleInstanceNetworkInterfaceList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServiceRoleInstanceNetworkInterfaceList.java new file mode 100644 index 0000000000..77acf4a2ab --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServiceRoleInstanceNetworkInterfaceList.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkInterfaces ListCloudServiceRoleInstanceNetworkInterfaces. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/CloudServiceRoleInstanceNetworkInterfaceList.json + */ + /** + * Sample code: List cloud service role instance network interfaces. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listCloudServiceRoleInstanceNetworkInterfaces( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkInterfaces() + .listCloudServiceRoleInstanceNetworkInterfaces("rg1", "cs1", "TestVMRole_IN_0", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServiceRoleInstanceNetworkInterfaceList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServiceRoleInstanceNetworkInterfaceList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServiceRoleInstanceNetworkInterfaceList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServiceRoleInstancePublicIpList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServiceRoleInstancePublicIpList.java new file mode 100644 index 0000000000..e44cd57a8b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServiceRoleInstancePublicIpList.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for PublicIpAddresses ListCloudServiceRoleInstancePublicIpAddresses. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/CloudServiceRoleInstancePublicIpList.json + */ + /** + * Sample code: ListVMSSVMPublicIP. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listVMSSVMPublicIP(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPublicIpAddresses() + .listCloudServiceRoleInstancePublicIpAddresses( + "cs-tester", "cs1", "Test_VM_0", "nic1", "ip1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServiceRoleInstancePublicIpList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServiceRoleInstancePublicIpList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CloudServiceRoleInstancePublicIpList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ConfigurationPolicyGroupDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ConfigurationPolicyGroupDelete.java new file mode 100644 index 0000000000..6394ff51af --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ConfigurationPolicyGroupDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ConfigurationPolicyGroups Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ConfigurationPolicyGroupDelete.json + */ + /** + * Sample code: ConfigurationPolicyGroupDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void configurationPolicyGroupDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getConfigurationPolicyGroups() + .delete("rg1", "vpnServerConfiguration1", "policyGroup1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ConfigurationPolicyGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ConfigurationPolicyGroupDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ConfigurationPolicyGroupDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ConfigurationPolicyGroupGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ConfigurationPolicyGroupGet.java new file mode 100644 index 0000000000..1f0563306d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ConfigurationPolicyGroupGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ConfigurationPolicyGroups Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ConfigurationPolicyGroupGet.json + */ + /** + * Sample code: ConfigurationPolicyGroupGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void configurationPolicyGroupGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getConfigurationPolicyGroups() + .getWithResponse("rg1", "vpnServerConfiguration1", "policyGroup1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ConfigurationPolicyGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ConfigurationPolicyGroupGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ConfigurationPolicyGroupGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ConfigurationPolicyGroupListByVpnServerConfiguration.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ConfigurationPolicyGroupListByVpnServerConfiguration.java new file mode 100644 index 0000000000..3067387c19 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ConfigurationPolicyGroupListByVpnServerConfiguration.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for ConfigurationPolicyGroups ListByVpnServerConfiguration. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ConfigurationPolicyGroupListByVpnServerConfiguration.json + */ + /** + * Sample code: ConfigurationPolicyGroupListByVpnServerConfiguration. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void configurationPolicyGroupListByVpnServerConfiguration( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getConfigurationPolicyGroups() + .listByVpnServerConfiguration("rg1", "vpnServerConfiguration1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ConfigurationPolicyGroupListByVpnServerConfiguration.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ConfigurationPolicyGroupListByVpnServerConfiguration.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ConfigurationPolicyGroupListByVpnServerConfiguration.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ConfigurationPolicyGroupPut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ConfigurationPolicyGroupPut.java new file mode 100644 index 0000000000..7922e8d1c4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ConfigurationPolicyGroupPut.java @@ -0,0 +1,43 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.VpnServerConfigurationPolicyGroupInner; +import com.azure.resourcemanager.network.models.VpnPolicyMemberAttributeType; +import com.azure.resourcemanager.network.models.VpnServerConfigurationPolicyGroupMember; +import java.util.Arrays; + +/** Samples for ConfigurationPolicyGroups CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ConfigurationPolicyGroupPut.json + */ + /** + * Sample code: ConfigurationPolicyGroupPut. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void configurationPolicyGroupPut(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getConfigurationPolicyGroups() + .createOrUpdate( + "rg1", + "vpnServerConfiguration1", + "policyGroup1", + new VpnServerConfigurationPolicyGroupInner() + .withIsDefault(true) + .withPriority(0) + .withPolicyMembers( + Arrays + .asList( + new VpnServerConfigurationPolicyGroupMember() + .withName("policy1") + .withAttributeType(VpnPolicyMemberAttributeType.RADIUS_AZURE_GROUP_ID) + .withAttributeValue("6ad1bd08"), + new VpnServerConfigurationPolicyGroupMember() + .withName("policy2") + .withAttributeType(VpnPolicyMemberAttributeType.CERTIFICATE_GROUP_ID) + .withAttributeValue("red.com"))), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ConfigurationPolicyGroupPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ConfigurationPolicyGroupPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ConfigurationPolicyGroupPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixCreateCustomizedValues.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixCreateCustomizedValues.java new file mode 100644 index 0000000000..a9be86e86a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixCreateCustomizedValues.java @@ -0,0 +1,26 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.CustomIpPrefixInner; + +/** Samples for CustomIpPrefixes CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/CustomIpPrefixCreateCustomizedValues.json + */ + /** + * Sample code: Create custom IP prefix allocation method. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createCustomIPPrefixAllocationMethod(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getCustomIpPrefixes() + .createOrUpdate( + "rg1", + "test-customipprefix", + new CustomIpPrefixInner().withLocation("westus").withCidr("0.0.0.0/24"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixCreateCustomizedValues.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixCreateCustomizedValues.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixCreateCustomizedValues.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixDelete.java new file mode 100644 index 0000000000..ea7c602662 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for CustomIpPrefixes Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/CustomIpPrefixDelete.json + */ + /** + * Sample code: Delete custom IP prefix. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteCustomIPPrefix(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getCustomIpPrefixes() + .delete("rg1", "test-customipprefix", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixGet.java new file mode 100644 index 0000000000..e257cb080f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for CustomIpPrefixes GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/CustomIpPrefixGet.json + */ + /** + * Sample code: Get custom IP prefix. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getCustomIPPrefix(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getCustomIpPrefixes() + .getByResourceGroupWithResponse("rg1", "test-customipprefix", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixList.java new file mode 100644 index 0000000000..f35baec2f3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for CustomIpPrefixes ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/CustomIpPrefixList.json + */ + /** + * Sample code: List resource group Custom IP prefixes. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listResourceGroupCustomIPPrefixes(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getCustomIpPrefixes().listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixListAll.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixListAll.java new file mode 100644 index 0000000000..79c576c100 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixListAll.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for CustomIpPrefixes List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/CustomIpPrefixListAll.json + */ + /** + * Sample code: List all custom IP prefixes. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllCustomIPPrefixes(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getCustomIpPrefixes().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixListAll.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixListAll.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixUpdateTags.java new file mode 100644 index 0000000000..8c5c8d5f9b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixUpdateTags.java @@ -0,0 +1,39 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for CustomIpPrefixes UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/CustomIpPrefixUpdateTags.json + */ + /** + * Sample code: Update public IP address tags. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updatePublicIPAddressTags(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getCustomIpPrefixes() + .updateTagsWithResponse( + "rg1", + "test-customipprefix", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/CustomIpPrefixUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosCustomPolicyCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosCustomPolicyCreate.java new file mode 100644 index 0000000000..9db4dcdc1e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosCustomPolicyCreate.java @@ -0,0 +1,32 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.DdosCustomPolicyInner; +import com.azure.resourcemanager.network.models.DdosCustomPolicyProtocol; +import com.azure.resourcemanager.network.models.ProtocolCustomSettingsFormat; +import java.util.Arrays; + +/** Samples for DdosCustomPolicies CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/DdosCustomPolicyCreate.json + */ + /** + * Sample code: Create DDoS custom policy. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createDDoSCustomPolicy(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getDdosCustomPolicies() + .createOrUpdate( + "rg1", + "test-ddos-custom-policy", + new DdosCustomPolicyInner() + .withLocation("centraluseuap") + .withProtocolCustomSettings( + Arrays.asList(new ProtocolCustomSettingsFormat().withProtocol(DdosCustomPolicyProtocol.TCP))), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosCustomPolicyCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosCustomPolicyCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosCustomPolicyCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosCustomPolicyDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosCustomPolicyDelete.java new file mode 100644 index 0000000000..3654bec734 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosCustomPolicyDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for DdosCustomPolicies Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/DdosCustomPolicyDelete.json + */ + /** + * Sample code: Delete DDoS custom policy. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteDDoSCustomPolicy(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getDdosCustomPolicies() + .delete("rg1", "test-ddos-custom-policy", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosCustomPolicyDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosCustomPolicyDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosCustomPolicyDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosCustomPolicyGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosCustomPolicyGet.java new file mode 100644 index 0000000000..dbc7f36087 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosCustomPolicyGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for DdosCustomPolicies GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/DdosCustomPolicyGet.json + */ + /** + * Sample code: Get DDoS custom policy. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getDDoSCustomPolicy(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getDdosCustomPolicies() + .getByResourceGroupWithResponse("rg1", "test-ddos-custom-policy", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosCustomPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosCustomPolicyGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosCustomPolicyGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosCustomPolicyUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosCustomPolicyUpdateTags.java new file mode 100644 index 0000000000..18bbb3b8ba --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosCustomPolicyUpdateTags.java @@ -0,0 +1,39 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for DdosCustomPolicies UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/DdosCustomPolicyUpdateTags.json + */ + /** + * Sample code: DDoS Custom policy Update tags. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void dDoSCustomPolicyUpdateTags(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getDdosCustomPolicies() + .updateTagsWithResponse( + "rg1", + "test-ddos-custom-policy", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosCustomPolicyUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosCustomPolicyUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosCustomPolicyUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanCreate.java new file mode 100644 index 0000000000..c5c9c14620 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanCreate.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.DdosProtectionPlanInner; + +/** Samples for DdosProtectionPlans CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/DdosProtectionPlanCreate.json + */ + /** + * Sample code: Create DDoS protection plan. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createDDoSProtectionPlan(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getDdosProtectionPlans() + .createOrUpdate("rg1", "test-plan", new DdosProtectionPlanInner().withLocation("westus"), Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanDelete.java new file mode 100644 index 0000000000..c48468499b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for DdosProtectionPlans Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/DdosProtectionPlanDelete.json + */ + /** + * Sample code: Delete DDoS protection plan. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteDDoSProtectionPlan(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getDdosProtectionPlans().delete("rg1", "test-plan", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanGet.java new file mode 100644 index 0000000000..8e7a14e5fe --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for DdosProtectionPlans GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/DdosProtectionPlanGet.json + */ + /** + * Sample code: Get DDoS protection plan. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getDDoSProtectionPlan(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getDdosProtectionPlans() + .getByResourceGroupWithResponse("rg1", "test-plan", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanList.java new file mode 100644 index 0000000000..6b789744cb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for DdosProtectionPlans ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/DdosProtectionPlanList.json + */ + /** + * Sample code: List DDoS protection plans in resource group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listDDoSProtectionPlansInResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getDdosProtectionPlans().listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanListAll.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanListAll.java new file mode 100644 index 0000000000..269f81d5a1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanListAll.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for DdosProtectionPlans List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/DdosProtectionPlanListAll.json + */ + /** + * Sample code: List all DDoS protection plans. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllDDoSProtectionPlans(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getDdosProtectionPlans().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanListAll.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanListAll.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanUpdateTags.java new file mode 100644 index 0000000000..c617816835 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanUpdateTags.java @@ -0,0 +1,36 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for DdosProtectionPlans UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/DdosProtectionPlanUpdateTags.json + */ + /** + * Sample code: DDoS protection plan Update tags. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void dDoSProtectionPlanUpdateTags(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getDdosProtectionPlans() + .updateTagsWithResponse( + "rg1", "test-plan", new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DdosProtectionPlanUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DefaultSecurityRuleGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DefaultSecurityRuleGet.java new file mode 100644 index 0000000000..cb57c4a321 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DefaultSecurityRuleGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for DefaultSecurityRules Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/DefaultSecurityRuleGet.json + */ + /** + * Sample code: DefaultSecurityRuleGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void defaultSecurityRuleGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getDefaultSecurityRules() + .getWithResponse("testrg", "nsg1", "AllowVnetInBound", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DefaultSecurityRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DefaultSecurityRuleGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DefaultSecurityRuleGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DefaultSecurityRuleList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DefaultSecurityRuleList.java new file mode 100644 index 0000000000..cc4df8b564 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DefaultSecurityRuleList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for DefaultSecurityRules List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/DefaultSecurityRuleList.json + */ + /** + * Sample code: DefaultSecurityRuleList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void defaultSecurityRuleList(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getDefaultSecurityRules().list("testrg", "nsg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DefaultSecurityRuleList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DefaultSecurityRuleList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DefaultSecurityRuleList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DscpConfigurationCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DscpConfigurationCreate.java new file mode 100644 index 0000000000..d8f3cad817 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DscpConfigurationCreate.java @@ -0,0 +1,60 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.DscpConfigurationInner; +import com.azure.resourcemanager.network.models.ProtocolType; +import com.azure.resourcemanager.network.models.QosDefinition; +import com.azure.resourcemanager.network.models.QosIpRange; +import com.azure.resourcemanager.network.models.QosPortRange; +import java.util.Arrays; + +/** Samples for DscpConfiguration CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/DscpConfigurationCreate.json + */ + /** + * Sample code: Create DSCP Configuration. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createDSCPConfiguration(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getDscpConfigurations() + .createOrUpdate( + "rg1", + "mydscpconfig", + new DscpConfigurationInner() + .withLocation("eastus") + .withQosDefinitionCollection( + Arrays + .asList( + new QosDefinition() + .withMarkings(Arrays.asList(1)) + .withSourceIpRanges( + Arrays.asList(new QosIpRange().withStartIp("127.0.0.1").withEndIp("127.0.0.2"))) + .withDestinationIpRanges( + Arrays + .asList(new QosIpRange().withStartIp("127.0.10.1").withEndIp("127.0.10.2"))) + .withSourcePortRanges( + Arrays + .asList( + new QosPortRange().withStart(10).withEnd(11), + new QosPortRange().withStart(20).withEnd(21))) + .withDestinationPortRanges( + Arrays.asList(new QosPortRange().withStart(15).withEnd(15))) + .withProtocol(ProtocolType.TCP), + new QosDefinition() + .withMarkings(Arrays.asList(2)) + .withSourceIpRanges( + Arrays.asList(new QosIpRange().withStartIp("12.0.0.1").withEndIp("12.0.0.2"))) + .withDestinationIpRanges( + Arrays.asList(new QosIpRange().withStartIp("12.0.10.1").withEndIp("12.0.10.2"))) + .withSourcePortRanges(Arrays.asList(new QosPortRange().withStart(11).withEnd(12))) + .withDestinationPortRanges( + Arrays.asList(new QosPortRange().withStart(51).withEnd(52))) + .withProtocol(ProtocolType.UDP))), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DscpConfigurationCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DscpConfigurationCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DscpConfigurationCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DscpConfigurationDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DscpConfigurationDelete.java new file mode 100644 index 0000000000..980c439394 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DscpConfigurationDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for DscpConfiguration Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/DscpConfigurationDelete.json + */ + /** + * Sample code: Delete DSCP Configuration. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteDSCPConfiguration(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getDscpConfigurations().delete("rg1", "mydscpConfig", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DscpConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DscpConfigurationDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DscpConfigurationDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DscpConfigurationGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DscpConfigurationGet.java new file mode 100644 index 0000000000..211f99d6e9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DscpConfigurationGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for DscpConfiguration GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/DscpConfigurationGet.json + */ + /** + * Sample code: Get Dscp Configuration. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getDscpConfiguration(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getDscpConfigurations() + .getByResourceGroupWithResponse("rg1", "mydscpConfig", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DscpConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DscpConfigurationGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DscpConfigurationGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DscpConfigurationList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DscpConfigurationList.java new file mode 100644 index 0000000000..081266b1d4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DscpConfigurationList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for DscpConfiguration ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/DscpConfigurationList.json + */ + /** + * Sample code: Get Dscp Configuration. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getDscpConfiguration(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getDscpConfigurations().listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DscpConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DscpConfigurationList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DscpConfigurationList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DscpConfigurationListAll.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DscpConfigurationListAll.java new file mode 100644 index 0000000000..086db629b1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DscpConfigurationListAll.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for DscpConfiguration List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/DscpConfigurationListAll.json + */ + /** + * Sample code: List all network interfaces. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllNetworkInterfaces(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getDscpConfigurations().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DscpConfigurationListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DscpConfigurationListAll.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/DscpConfigurationListAll.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/EffectiveRoutesListForConnection.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/EffectiveRoutesListForConnection.java new file mode 100644 index 0000000000..6f1b045e25 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/EffectiveRoutesListForConnection.java @@ -0,0 +1,29 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.EffectiveRoutesParameters; + +/** Samples for VirtualHubs GetEffectiveVirtualHubRoutes. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/EffectiveRoutesListForConnection.json + */ + /** + * Sample code: Effective Routes for a Connection resource. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void effectiveRoutesForAConnectionResource(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualHubs() + .getEffectiveVirtualHubRoutes( + "rg1", + "virtualHub1", + new EffectiveRoutesParameters() + .withResourceId( + "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName") + .withVirtualWanResourceType("ExpressRouteConnection"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/EffectiveRoutesListForConnection.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/EffectiveRoutesListForConnection.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/EffectiveRoutesListForConnection.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/EffectiveRoutesListForRouteTable.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/EffectiveRoutesListForRouteTable.java new file mode 100644 index 0000000000..9ec7cf8a7d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/EffectiveRoutesListForRouteTable.java @@ -0,0 +1,29 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.EffectiveRoutesParameters; + +/** Samples for VirtualHubs GetEffectiveVirtualHubRoutes. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/EffectiveRoutesListForRouteTable.json + */ + /** + * Sample code: Effective Routes for a Route Table resource. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void effectiveRoutesForARouteTableResource(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualHubs() + .getEffectiveVirtualHubRoutes( + "rg1", + "virtualHub1", + new EffectiveRoutesParameters() + .withResourceId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1") + .withVirtualWanResourceType("RouteTable"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/EffectiveRoutesListForRouteTable.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/EffectiveRoutesListForRouteTable.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/EffectiveRoutesListForRouteTable.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/EffectiveRoutesListForVirtualHub.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/EffectiveRoutesListForVirtualHub.java new file mode 100644 index 0000000000..73a6b7eb15 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/EffectiveRoutesListForVirtualHub.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualHubs GetEffectiveVirtualHubRoutes. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/EffectiveRoutesListForVirtualHub.json + */ + /** + * Sample code: Effective Routes for the Virtual Hub. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void effectiveRoutesForTheVirtualHub(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualHubs() + .getEffectiveVirtualHubRoutes("rg1", "virtualHub1", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/EffectiveRoutesListForVirtualHub.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/EffectiveRoutesListForVirtualHub.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/EffectiveRoutesListForVirtualHub.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/EndpointServicesList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/EndpointServicesList.java new file mode 100644 index 0000000000..2e24da54a0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/EndpointServicesList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for AvailableEndpointServices List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/EndpointServicesList.json + */ + /** + * Sample code: EndpointServicesList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void endpointServicesList(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getAvailableEndpointServices().list("westus", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/EndpointServicesList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/EndpointServicesList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/EndpointServicesList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitARPTableList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitARPTableList.java new file mode 100644 index 0000000000..b91a7b248b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitARPTableList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteCircuits ListArpTable. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCircuitARPTableList.json + */ + /** + * Sample code: List ARP Table. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listARPTable(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteCircuits() + .listArpTable("rg1", "circuitName", "peeringName", "devicePath", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitARPTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitARPTableList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitARPTableList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitAuthorizationCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitAuthorizationCreate.java new file mode 100644 index 0000000000..5c7a4f89ac --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitAuthorizationCreate.java @@ -0,0 +1,23 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.ExpressRouteCircuitAuthorizationInner; + +/** Samples for ExpressRouteCircuitAuthorizations CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCircuitAuthorizationCreate.json + */ + /** + * Sample code: Create ExpressRouteCircuit Authorization. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createExpressRouteCircuitAuthorization(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteCircuitAuthorizations() + .createOrUpdate( + "rg1", "circuitName", "authorizatinName", new ExpressRouteCircuitAuthorizationInner(), Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitAuthorizationCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitAuthorizationCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitAuthorizationCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitAuthorizationDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitAuthorizationDelete.java new file mode 100644 index 0000000000..6cdf48375c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitAuthorizationDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteCircuitAuthorizations Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCircuitAuthorizationDelete.json + */ + /** + * Sample code: Delete ExpressRouteCircuit Authorization. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteExpressRouteCircuitAuthorization(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteCircuitAuthorizations() + .delete("rg1", "circuitName", "authorizationName", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitAuthorizationDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitAuthorizationDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitAuthorizationDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitAuthorizationGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitAuthorizationGet.java new file mode 100644 index 0000000000..d34cf98977 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitAuthorizationGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteCircuitAuthorizations Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCircuitAuthorizationGet.json + */ + /** + * Sample code: Get ExpressRouteCircuit Authorization. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getExpressRouteCircuitAuthorization(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteCircuitAuthorizations() + .getWithResponse("rg1", "circuitName", "authorizationName", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitAuthorizationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitAuthorizationGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitAuthorizationGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitAuthorizationList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitAuthorizationList.java new file mode 100644 index 0000000000..3e6f2ae699 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitAuthorizationList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteCircuitAuthorizations List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCircuitAuthorizationList.json + */ + /** + * Sample code: List ExpressRouteCircuit Authorization. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listExpressRouteCircuitAuthorization(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteCircuitAuthorizations() + .list("rg1", "circuitName", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitAuthorizationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitAuthorizationList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitAuthorizationList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitConnectionCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitConnectionCreate.java new file mode 100644 index 0000000000..3764799f59 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitConnectionCreate.java @@ -0,0 +1,42 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.ExpressRouteCircuitConnectionInner; +import com.azure.resourcemanager.network.models.Ipv6CircuitConnectionConfig; + +/** Samples for ExpressRouteCircuitConnections CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCircuitConnectionCreate.json + */ + /** + * Sample code: ExpressRouteCircuitConnectionCreate. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void expressRouteCircuitConnectionCreate(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteCircuitConnections() + .createOrUpdate( + "rg1", + "ExpressRouteARMCircuitA", + "AzurePrivatePeering", + "circuitConnectionUSAUS", + new ExpressRouteCircuitConnectionInner() + .withExpressRouteCircuitPeering( + new SubResource() + .withId( + "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering")) + .withPeerExpressRouteCircuitPeering( + new SubResource() + .withId( + "/subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering")) + .withAddressPrefix("10.0.0.0/29") + .withAuthorizationKey("946a1918-b7a2-4917-b43c-8c4cdaee006a") + .withIpv6CircuitConnectionConfig( + new Ipv6CircuitConnectionConfig().withAddressPrefix("aa:bb::/125")), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitConnectionCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitConnectionCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitConnectionCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitConnectionDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitConnectionDelete.java new file mode 100644 index 0000000000..99c4a09a34 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitConnectionDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteCircuitConnections Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCircuitConnectionDelete.json + */ + /** + * Sample code: Delete ExpressRouteCircuit. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteExpressRouteCircuit(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteCircuitConnections() + .delete("rg1", "ExpressRouteARMCircuitA", "AzurePrivatePeering", "circuitConnectionUSAUS", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitConnectionDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitConnectionDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitConnectionGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitConnectionGet.java new file mode 100644 index 0000000000..152af75e9b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitConnectionGet.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteCircuitConnections Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCircuitConnectionGet.json + */ + /** + * Sample code: ExpressRouteCircuitConnectionGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void expressRouteCircuitConnectionGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteCircuitConnections() + .getWithResponse( + "rg1", "ExpressRouteARMCircuitA", "AzurePrivatePeering", "circuitConnectionUSAUS", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitConnectionGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitConnectionGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitConnectionList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitConnectionList.java new file mode 100644 index 0000000000..cb6914cddb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitConnectionList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteCircuitConnections List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCircuitConnectionList.json + */ + /** + * Sample code: List ExpressRouteCircuit Connection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listExpressRouteCircuitConnection(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteCircuitConnections() + .list("rg1", "ExpressRouteARMCircuitA", "AzurePrivatePeering", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitConnectionList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitConnectionList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitCreate.java new file mode 100644 index 0000000000..addf1cfde9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitCreate.java @@ -0,0 +1,45 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.ExpressRouteCircuitInner; +import com.azure.resourcemanager.network.models.ExpressRouteCircuitServiceProviderProperties; +import com.azure.resourcemanager.network.models.ExpressRouteCircuitSku; +import com.azure.resourcemanager.network.models.ExpressRouteCircuitSkuFamily; +import com.azure.resourcemanager.network.models.ExpressRouteCircuitSkuTier; +import java.util.Arrays; + +/** Samples for ExpressRouteCircuits CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCircuitCreate.json + */ + /** + * Sample code: Create ExpressRouteCircuit. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createExpressRouteCircuit(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteCircuits() + .createOrUpdate( + "rg1", + "circuitName", + new ExpressRouteCircuitInner() + .withLocation("Brazil South") + .withSku( + new ExpressRouteCircuitSku() + .withName("Standard_MeteredData") + .withTier(ExpressRouteCircuitSkuTier.STANDARD) + .withFamily(ExpressRouteCircuitSkuFamily.METERED_DATA)) + .withAllowClassicOperations(false) + .withAuthorizations(Arrays.asList()) + .withPeerings(Arrays.asList()) + .withServiceProviderProperties( + new ExpressRouteCircuitServiceProviderProperties() + .withServiceProviderName("Equinix") + .withPeeringLocation("Silicon Valley") + .withBandwidthInMbps(200)), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitCreateOnExpressRoutePort.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitCreateOnExpressRoutePort.java new file mode 100644 index 0000000000..557b0d67fb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitCreateOnExpressRoutePort.java @@ -0,0 +1,43 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.ExpressRouteCircuitInner; +import com.azure.resourcemanager.network.models.ExpressRouteCircuitSku; +import com.azure.resourcemanager.network.models.ExpressRouteCircuitSkuFamily; +import com.azure.resourcemanager.network.models.ExpressRouteCircuitSkuTier; + +/** Samples for ExpressRouteCircuits CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json + */ + /** + * Sample code: Create ExpressRouteCircuit on ExpressRoutePort. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createExpressRouteCircuitOnExpressRoutePort( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteCircuits() + .createOrUpdate( + "rg1", + "expressRouteCircuit1", + new ExpressRouteCircuitInner() + .withLocation("westus") + .withSku( + new ExpressRouteCircuitSku() + .withName("Premium_MeteredData") + .withTier(ExpressRouteCircuitSkuTier.PREMIUM) + .withFamily(ExpressRouteCircuitSkuFamily.METERED_DATA)) + .withExpressRoutePort( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName")) + .withBandwidthInGbps(10.0F) + .withAuthorizationKey("b0be57f5-1fba-463b-adec-ffe767354cdd"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitCreateOnExpressRoutePort.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitCreateOnExpressRoutePort.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitCreateOnExpressRoutePort.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitDelete.java new file mode 100644 index 0000000000..6fa0c92923 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteCircuits Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCircuitDelete.json + */ + /** + * Sample code: Delete ExpressRouteCircuit. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteExpressRouteCircuit(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getExpressRouteCircuits().delete("rg1", "circuitName", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitGet.java new file mode 100644 index 0000000000..2d4760cd42 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteCircuits GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCircuitGet.json + */ + /** + * Sample code: Get ExpressRouteCircuit. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getExpressRouteCircuit(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteCircuits() + .getByResourceGroupWithResponse("rg1", "circuitName", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitListByResourceGroup.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitListByResourceGroup.java new file mode 100644 index 0000000000..68acdf9c99 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitListByResourceGroup.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteCircuits ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCircuitListByResourceGroup.json + */ + /** + * Sample code: List ExpressRouteCircuits in a resource group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listExpressRouteCircuitsInAResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getExpressRouteCircuits().listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitListByResourceGroup.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitListByResourceGroup.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitListBySubscription.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitListBySubscription.java new file mode 100644 index 0000000000..273c905b68 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitListBySubscription.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteCircuits List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCircuitListBySubscription.json + */ + /** + * Sample code: List ExpressRouteCircuits in a subscription. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listExpressRouteCircuitsInASubscription(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getExpressRouteCircuits().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitListBySubscription.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitListBySubscription.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitPeeringCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitPeeringCreate.java new file mode 100644 index 0000000000..ff52a25672 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitPeeringCreate.java @@ -0,0 +1,31 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.ExpressRouteCircuitPeeringInner; + +/** Samples for ExpressRouteCircuitPeerings CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCircuitPeeringCreate.json + */ + /** + * Sample code: Create ExpressRouteCircuit Peerings. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createExpressRouteCircuitPeerings(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteCircuitPeerings() + .createOrUpdate( + "rg1", + "circuitName", + "AzurePrivatePeering", + new ExpressRouteCircuitPeeringInner() + .withPeerAsn(200L) + .withPrimaryPeerAddressPrefix("192.168.16.252/30") + .withSecondaryPeerAddressPrefix("192.168.18.252/30") + .withVlanId(200), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitPeeringCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitPeeringCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitPeeringDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitPeeringDelete.java new file mode 100644 index 0000000000..9a23f27182 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitPeeringDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteCircuitPeerings Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCircuitPeeringDelete.json + */ + /** + * Sample code: Delete ExpressRouteCircuit Peerings. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteExpressRouteCircuitPeerings(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteCircuitPeerings() + .delete("rg1", "circuitName", "peeringName", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitPeeringDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitPeeringDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitPeeringDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitPeeringGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitPeeringGet.java new file mode 100644 index 0000000000..2d9e588312 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitPeeringGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteCircuitPeerings Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCircuitPeeringGet.json + */ + /** + * Sample code: Get ExpressRouteCircuit Peering. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getExpressRouteCircuitPeering(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteCircuitPeerings() + .getWithResponse("rg1", "circuitName", "MicrosoftPeering", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitPeeringGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitPeeringGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitPeeringList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitPeeringList.java new file mode 100644 index 0000000000..740b7cf748 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitPeeringList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteCircuitPeerings List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCircuitPeeringList.json + */ + /** + * Sample code: List ExpressRouteCircuit Peerings. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listExpressRouteCircuitPeerings(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteCircuitPeerings() + .list("rg1", "circuitName", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitPeeringList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitPeeringList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitPeeringStats.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitPeeringStats.java new file mode 100644 index 0000000000..bde0a37e53 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitPeeringStats.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteCircuits GetPeeringStats. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCircuitPeeringStats.json + */ + /** + * Sample code: Get ExpressRoute Circuit Peering Traffic Stats. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getExpressRouteCircuitPeeringTrafficStats(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteCircuits() + .getPeeringStatsWithResponse("rg1", "circuitName", "peeringName", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitPeeringStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitPeeringStats.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitPeeringStats.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitRouteTableList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitRouteTableList.java new file mode 100644 index 0000000000..4dcb1e5638 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitRouteTableList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteCircuits ListRoutesTable. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCircuitRouteTableList.json + */ + /** + * Sample code: List Route Tables. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listRouteTables(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteCircuits() + .listRoutesTable("rg1", "circuitName", "peeringName", "devicePath", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitRouteTableList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitRouteTableList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitRouteTableSummaryList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitRouteTableSummaryList.java new file mode 100644 index 0000000000..646a6a4427 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitRouteTableSummaryList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteCircuits ListRoutesTableSummary. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCircuitRouteTableSummaryList.json + */ + /** + * Sample code: List Route Table Summary. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listRouteTableSummary(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteCircuits() + .listRoutesTableSummary("rg1", "circuitName", "peeringName", "devicePath", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitRouteTableSummaryList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitRouteTableSummaryList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitRouteTableSummaryList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitStats.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitStats.java new file mode 100644 index 0000000000..1b8112eaaf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitStats.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteCircuits GetStats. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCircuitStats.json + */ + /** + * Sample code: Get ExpressRoute Circuit Traffic Stats. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getExpressRouteCircuitTrafficStats(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteCircuits() + .getStatsWithResponse("rg1", "circuitName", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitStats.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitStats.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitUpdateTags.java new file mode 100644 index 0000000000..799dcf9185 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitUpdateTags.java @@ -0,0 +1,36 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for ExpressRouteCircuits UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCircuitUpdateTags.json + */ + /** + * Sample code: Update Express Route Circuit Tags. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateExpressRouteCircuitTags(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteCircuits() + .updateTagsWithResponse( + "ertest", "er1", new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCircuitUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteConnectionCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteConnectionCreate.java new file mode 100644 index 0000000000..43019bd62c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteConnectionCreate.java @@ -0,0 +1,37 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.ExpressRouteConnectionInner; +import com.azure.resourcemanager.network.models.ExpressRouteCircuitPeeringId; + +/** Samples for ExpressRouteConnections CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteConnectionCreate.json + */ + /** + * Sample code: ExpressRouteConnectionCreate. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void expressRouteConnectionCreate(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteConnections() + .createOrUpdate( + "resourceGroupName", + "gateway-2", + "connectionName", + new ExpressRouteConnectionInner() + .withId( + "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName") + .withName("connectionName") + .withExpressRouteCircuitPeering( + new ExpressRouteCircuitPeeringId() + .withId( + "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering")) + .withAuthorizationKey("authorizationKey") + .withRoutingWeight(2), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteConnectionCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteConnectionCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteConnectionCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteConnectionDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteConnectionDelete.java new file mode 100644 index 0000000000..06bd621a4c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteConnectionDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteConnections Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteConnectionDelete.json + */ + /** + * Sample code: ExpressRouteConnectionDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void expressRouteConnectionDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteConnections() + .delete("resourceGroupName", "expressRouteGatewayName", "connectionName", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteConnectionDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteConnectionDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteConnectionGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteConnectionGet.java new file mode 100644 index 0000000000..f413c75ad0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteConnectionGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteConnections Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteConnectionGet.json + */ + /** + * Sample code: ExpressRouteConnectionGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void expressRouteConnectionGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteConnections() + .getWithResponse("resourceGroupName", "expressRouteGatewayName", "connectionName", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteConnectionGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteConnectionGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteConnectionList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteConnectionList.java new file mode 100644 index 0000000000..221d88d1bd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteConnectionList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteConnections List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteConnectionList.json + */ + /** + * Sample code: ExpressRouteConnectionList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void expressRouteConnectionList(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteConnections() + .listWithResponse("resourceGroupName", "expressRouteGatewayName", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteConnectionList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteConnectionList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionBgpPeeringCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionBgpPeeringCreate.java new file mode 100644 index 0000000000..a019c2503e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionBgpPeeringCreate.java @@ -0,0 +1,37 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.ExpressRouteCrossConnectionPeeringInner; +import com.azure.resourcemanager.network.models.Ipv6ExpressRouteCircuitPeeringConfig; + +/** Samples for ExpressRouteCrossConnectionPeerings CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json + */ + /** + * Sample code: ExpressRouteCrossConnectionBgpPeeringCreate. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void expressRouteCrossConnectionBgpPeeringCreate( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteCrossConnectionPeerings() + .createOrUpdate( + "CrossConnection-SiliconValley", + "", + "AzurePrivatePeering", + new ExpressRouteCrossConnectionPeeringInner() + .withPeerAsn(200L) + .withPrimaryPeerAddressPrefix("192.168.16.252/30") + .withSecondaryPeerAddressPrefix("192.168.18.252/30") + .withVlanId(200) + .withIpv6PeeringConfig( + new Ipv6ExpressRouteCircuitPeeringConfig() + .withPrimaryPeerAddressPrefix("3FFE:FFFF:0:CD30::/126") + .withSecondaryPeerAddressPrefix("3FFE:FFFF:0:CD30::4/126")), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionBgpPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionBgpPeeringCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionBgpPeeringCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionBgpPeeringDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionBgpPeeringDelete.java new file mode 100644 index 0000000000..8ad1d5f3e8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionBgpPeeringDelete.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteCrossConnectionPeerings Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCrossConnectionBgpPeeringDelete.json + */ + /** + * Sample code: DeleteExpressRouteCrossConnectionBgpPeering. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteExpressRouteCrossConnectionBgpPeering( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteCrossConnectionPeerings() + .delete("CrossConnection-SiliconValley", "", "AzurePrivatePeering", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionBgpPeeringDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionBgpPeeringDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionBgpPeeringDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionBgpPeeringGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionBgpPeeringGet.java new file mode 100644 index 0000000000..d9b5520ce1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionBgpPeeringGet.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteCrossConnectionPeerings Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCrossConnectionBgpPeeringGet.json + */ + /** + * Sample code: GetExpressRouteCrossConnectionBgpPeering. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getExpressRouteCrossConnectionBgpPeering(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteCrossConnectionPeerings() + .getWithResponse( + "CrossConnection-SiliconValley", "", "AzurePrivatePeering", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionBgpPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionBgpPeeringGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionBgpPeeringGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionBgpPeeringList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionBgpPeeringList.java new file mode 100644 index 0000000000..e0a6034596 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionBgpPeeringList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteCrossConnectionPeerings List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCrossConnectionBgpPeeringList.json + */ + /** + * Sample code: ExpressRouteCrossConnectionBgpPeeringList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void expressRouteCrossConnectionBgpPeeringList(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteCrossConnectionPeerings() + .list("CrossConnection-SiliconValley", "", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionBgpPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionBgpPeeringList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionBgpPeeringList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionGet.java new file mode 100644 index 0000000000..29d55bea6c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteCrossConnections GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCrossConnectionGet.json + */ + /** + * Sample code: GetExpressRouteCrossConnection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getExpressRouteCrossConnection(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteCrossConnections() + .getByResourceGroupWithResponse("CrossConnection-SiliconValley", "", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionList.java new file mode 100644 index 0000000000..311f130ff7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteCrossConnections List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCrossConnectionList.json + */ + /** + * Sample code: ExpressRouteCrossConnectionList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void expressRouteCrossConnectionList(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getExpressRouteCrossConnections().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionListByResourceGroup.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionListByResourceGroup.java new file mode 100644 index 0000000000..8c8b3ba0d0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionListByResourceGroup.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteCrossConnections ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCrossConnectionListByResourceGroup.json + */ + /** + * Sample code: ExpressRouteCrossConnectionListByResourceGroup. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void expressRouteCrossConnectionListByResourceGroup( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteCrossConnections() + .listByResourceGroup("CrossConnection-SiliconValley", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionListByResourceGroup.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionListByResourceGroup.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionUpdate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionUpdate.java new file mode 100644 index 0000000000..c1c44bf4fe --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionUpdate.java @@ -0,0 +1,28 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.ExpressRouteCrossConnectionInner; +import com.azure.resourcemanager.network.models.ServiceProviderProvisioningState; + +/** Samples for ExpressRouteCrossConnections CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCrossConnectionUpdate.json + */ + /** + * Sample code: UpdateExpressRouteCrossConnection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateExpressRouteCrossConnection(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteCrossConnections() + .createOrUpdate( + "CrossConnection-SiliconValley", + "", + new ExpressRouteCrossConnectionInner() + .withServiceProviderProvisioningState(ServiceProviderProvisioningState.NOT_PROVISIONED), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionUpdate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionUpdate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionUpdateTags.java new file mode 100644 index 0000000000..8ced96feae --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionUpdateTags.java @@ -0,0 +1,39 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for ExpressRouteCrossConnections UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCrossConnectionUpdateTags.json + */ + /** + * Sample code: UpdateExpressRouteCrossConnectionTags. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateExpressRouteCrossConnectionTags(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteCrossConnections() + .updateTagsWithResponse( + "CrossConnection-SiliconValley", + "", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionsArpTable.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionsArpTable.java new file mode 100644 index 0000000000..be12295c10 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionsArpTable.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteCrossConnections ListArpTable. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCrossConnectionsArpTable.json + */ + /** + * Sample code: GetExpressRouteCrossConnectionsArpTable. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getExpressRouteCrossConnectionsArpTable(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteCrossConnections() + .listArpTable( + "CrossConnection-SiliconValley", "", "AzurePrivatePeering", "primary", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionsArpTable.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionsArpTable.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionsArpTable.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionsRouteTable.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionsRouteTable.java new file mode 100644 index 0000000000..482cd2e400 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionsRouteTable.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteCrossConnections ListRoutesTable. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCrossConnectionsRouteTable.json + */ + /** + * Sample code: GetExpressRouteCrossConnectionsRouteTable. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getExpressRouteCrossConnectionsRouteTable(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteCrossConnections() + .listRoutesTable( + "CrossConnection-SiliconValley", "", "AzurePrivatePeering", "primary", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionsRouteTable.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionsRouteTable.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionsRouteTable.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionsRouteTableSummary.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionsRouteTableSummary.java new file mode 100644 index 0000000000..6e19837972 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionsRouteTableSummary.java @@ -0,0 +1,23 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteCrossConnections ListRoutesTableSummary. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteCrossConnectionsRouteTableSummary.json + */ + /** + * Sample code: GetExpressRouteCrossConnectionsRouteTableSummary. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getExpressRouteCrossConnectionsRouteTableSummary( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteCrossConnections() + .listRoutesTableSummary( + "CrossConnection-SiliconValley", "", "AzurePrivatePeering", "primary", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionsRouteTableSummary.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionsRouteTableSummary.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteCrossConnectionsRouteTableSummary.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayCreate.java new file mode 100644 index 0000000000..5ffb357a0c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayCreate.java @@ -0,0 +1,37 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.ExpressRouteGatewayInner; +import com.azure.resourcemanager.network.models.ExpressRouteGatewayPropertiesAutoScaleConfiguration; +import com.azure.resourcemanager.network.models.ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds; +import com.azure.resourcemanager.network.models.VirtualHubId; + +/** Samples for ExpressRouteGateways CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteGatewayCreate.json + */ + /** + * Sample code: ExpressRouteGatewayCreate. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void expressRouteGatewayCreate(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteGateways() + .createOrUpdate( + "resourceGroupName", + "gateway-2", + new ExpressRouteGatewayInner() + .withLocation("westus") + .withAutoScaleConfiguration( + new ExpressRouteGatewayPropertiesAutoScaleConfiguration() + .withBounds(new ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds().withMin(3))) + .withVirtualHub( + new VirtualHubId() + .withId( + "/subscriptions/subid/resourceGroups/resourceGroupId/providers/Microsoft.Network/virtualHubs/virtualHubName")), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayDelete.java new file mode 100644 index 0000000000..8950ff3a10 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteGateways Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteGatewayDelete.json + */ + /** + * Sample code: ExpressRouteGatewayDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void expressRouteGatewayDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteGateways() + .delete("resourceGroupName", "expressRouteGatewayName", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayGet.java new file mode 100644 index 0000000000..3d1587b183 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteGateways GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteGatewayGet.json + */ + /** + * Sample code: ExpressRouteGatewayGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void expressRouteGatewayGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteGateways() + .getByResourceGroupWithResponse("resourceGroupName", "expressRouteGatewayName", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayListByResourceGroup.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayListByResourceGroup.java new file mode 100644 index 0000000000..6880808caf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayListByResourceGroup.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteGateways ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteGatewayListByResourceGroup.json + */ + /** + * Sample code: ExpressRouteGatewayListByResourceGroup. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void expressRouteGatewayListByResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteGateways() + .listByResourceGroupWithResponse("resourceGroupName", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayListByResourceGroup.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayListByResourceGroup.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayListBySubscription.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayListBySubscription.java new file mode 100644 index 0000000000..a897060dc3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayListBySubscription.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteGateways ListBySubscription. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteGatewayListBySubscription.json + */ + /** + * Sample code: ExpressRouteGatewayListBySubscription. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void expressRouteGatewayListBySubscription(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteGateways() + .listBySubscriptionWithResponse(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayListBySubscription.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayListBySubscription.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayUpdateTags.java new file mode 100644 index 0000000000..15fe8f090a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayUpdateTags.java @@ -0,0 +1,39 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for ExpressRouteGateways UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteGatewayUpdateTags.json + */ + /** + * Sample code: ExpressRouteGatewayUpdate. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void expressRouteGatewayUpdate(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteGateways() + .updateTags( + "resourceGroupName", + "expressRouteGatewayName", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteGatewayUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteLinkGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteLinkGet.java new file mode 100644 index 0000000000..0f8fb233b6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteLinkGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteLinks Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteLinkGet.json + */ + /** + * Sample code: ExpressRouteLinkGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void expressRouteLinkGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteLinks() + .getWithResponse("rg1", "portName", "linkName", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteLinkGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteLinkGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteLinkGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteLinkList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteLinkList.java new file mode 100644 index 0000000000..3870d00eda --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteLinkList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteLinks List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteLinkList.json + */ + /** + * Sample code: ExpressRouteLinkGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void expressRouteLinkGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getExpressRouteLinks().list("rg1", "portName", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteLinkList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteLinkList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteLinkList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortAuthorizationCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortAuthorizationCreate.java new file mode 100644 index 0000000000..8d95e69e9d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortAuthorizationCreate.java @@ -0,0 +1,27 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.ExpressRoutePortAuthorizationInner; + +/** Samples for ExpressRoutePortAuthorizations CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRoutePortAuthorizationCreate.json + */ + /** + * Sample code: Create ExpressRoutePort Authorization. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createExpressRoutePortAuthorization(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRoutePortAuthorizations() + .createOrUpdate( + "rg1", + "expressRoutePortName", + "authorizatinName", + new ExpressRoutePortAuthorizationInner(), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortAuthorizationCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortAuthorizationCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortAuthorizationCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortAuthorizationDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortAuthorizationDelete.java new file mode 100644 index 0000000000..7e105f9237 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortAuthorizationDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRoutePortAuthorizations Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRoutePortAuthorizationDelete.json + */ + /** + * Sample code: Delete ExpressRoutePort Authorization. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteExpressRoutePortAuthorization(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRoutePortAuthorizations() + .delete("rg1", "expressRoutePortName", "authorizationName", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortAuthorizationDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortAuthorizationDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortAuthorizationDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortAuthorizationGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortAuthorizationGet.java new file mode 100644 index 0000000000..2e5604a274 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortAuthorizationGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRoutePortAuthorizations Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRoutePortAuthorizationGet.json + */ + /** + * Sample code: Get ExpressRoutePort Authorization. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getExpressRoutePortAuthorization(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRoutePortAuthorizations() + .getWithResponse("rg1", "expressRoutePortName", "authorizationName", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortAuthorizationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortAuthorizationGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortAuthorizationGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortAuthorizationList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortAuthorizationList.java new file mode 100644 index 0000000000..aaee3833dc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortAuthorizationList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRoutePortAuthorizations List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRoutePortAuthorizationList.json + */ + /** + * Sample code: List ExpressRoutePort Authorization. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listExpressRoutePortAuthorization(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRoutePortAuthorizations() + .list("rg1", "expressRoutePortName", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortAuthorizationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortAuthorizationList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortAuthorizationList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortCreate.java new file mode 100644 index 0000000000..0ea0cc3541 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortCreate.java @@ -0,0 +1,31 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.ExpressRoutePortInner; +import com.azure.resourcemanager.network.models.ExpressRoutePortsEncapsulation; + +/** Samples for ExpressRoutePorts CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRoutePortCreate.json + */ + /** + * Sample code: ExpressRoutePortCreate. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void expressRoutePortCreate(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRoutePorts() + .createOrUpdate( + "rg1", + "portName", + new ExpressRoutePortInner() + .withLocation("westus") + .withPeeringLocation("peeringLocationName") + .withBandwidthInGbps(100) + .withEncapsulation(ExpressRoutePortsEncapsulation.QINQ), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortDelete.java new file mode 100644 index 0000000000..9bd0367907 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRoutePorts Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRoutePortDelete.json + */ + /** + * Sample code: ExpressRoutePortDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void expressRoutePortDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getExpressRoutePorts().delete("rg1", "portName", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortGet.java new file mode 100644 index 0000000000..3aded60964 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRoutePorts GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRoutePortGet.json + */ + /** + * Sample code: ExpressRoutePortGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void expressRoutePortGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRoutePorts() + .getByResourceGroupWithResponse("rg1", "portName", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortList.java new file mode 100644 index 0000000000..15b75698a8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRoutePorts List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRoutePortList.json + */ + /** + * Sample code: ExpressRoutePortList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void expressRoutePortList(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getExpressRoutePorts().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortListByResourceGroup.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortListByResourceGroup.java new file mode 100644 index 0000000000..77869e83a1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortListByResourceGroup.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRoutePorts ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRoutePortListByResourceGroup.json + */ + /** + * Sample code: ExpressRoutePortListByResourceGroup. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void expressRoutePortListByResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getExpressRoutePorts().listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortListByResourceGroup.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortListByResourceGroup.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortUpdateLink.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortUpdateLink.java new file mode 100644 index 0000000000..0b6c1fcc5a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortUpdateLink.java @@ -0,0 +1,40 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.ExpressRouteLinkInner; +import com.azure.resourcemanager.network.fluent.models.ExpressRoutePortInner; +import com.azure.resourcemanager.network.models.ExpressRouteLinkAdminState; +import com.azure.resourcemanager.network.models.ExpressRoutePortsEncapsulation; +import java.util.Arrays; + +/** Samples for ExpressRoutePorts CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRoutePortUpdateLink.json + */ + /** + * Sample code: ExpressRoutePortUpdateLink. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void expressRoutePortUpdateLink(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRoutePorts() + .createOrUpdate( + "rg1", + "portName", + new ExpressRoutePortInner() + .withLocation("westus") + .withPeeringLocation("peeringLocationName") + .withBandwidthInGbps(100) + .withEncapsulation(ExpressRoutePortsEncapsulation.QINQ) + .withLinks( + Arrays + .asList( + new ExpressRouteLinkInner() + .withName("link1") + .withAdminState(ExpressRouteLinkAdminState.ENABLED))), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortUpdateLink.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortUpdateLink.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortUpdateLink.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortUpdateTags.java new file mode 100644 index 0000000000..cd94b1c950 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortUpdateTags.java @@ -0,0 +1,36 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for ExpressRoutePorts UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRoutePortUpdateTags.json + */ + /** + * Sample code: ExpressRoutePortUpdateTags. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void expressRoutePortUpdateTags(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRoutePorts() + .updateTagsWithResponse( + "rg1", "portName", new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortsLocationGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortsLocationGet.java new file mode 100644 index 0000000000..4fd3e084ae --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortsLocationGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRoutePortsLocations Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRoutePortsLocationGet.json + */ + /** + * Sample code: ExpressRoutePortsLocationGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void expressRoutePortsLocationGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRoutePortsLocations() + .getWithResponse("locationName", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortsLocationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortsLocationGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortsLocationGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortsLocationList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortsLocationList.java new file mode 100644 index 0000000000..6e34cc46f7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortsLocationList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRoutePortsLocations List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRoutePortsLocationList.json + */ + /** + * Sample code: ExpressRoutePortsLocationList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void expressRoutePortsLocationList(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getExpressRoutePortsLocations().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortsLocationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortsLocationList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRoutePortsLocationList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteProviderList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteProviderList.java new file mode 100644 index 0000000000..4f2b14353d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteProviderList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteServiceProviders List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ExpressRouteProviderList.json + */ + /** + * Sample code: List ExpressRoute providers. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listExpressRouteProviders(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getExpressRouteServiceProviders().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteProviderList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteProviderList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ExpressRouteProviderList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyDelete.java new file mode 100644 index 0000000000..981d5c1372 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for FirewallPolicies Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/FirewallPolicyDelete.json + */ + /** + * Sample code: Delete Firewall Policy. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteFirewallPolicy(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getFirewallPolicies().delete("rg1", "firewallPolicy", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyGet.java new file mode 100644 index 0000000000..f20f4f9e8e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for FirewallPolicies GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/FirewallPolicyGet.json + */ + /** + * Sample code: Get FirewallPolicy. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getFirewallPolicy(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getFirewallPolicies() + .getByResourceGroupWithResponse("rg1", "firewallPolicy", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyListByResourceGroup.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyListByResourceGroup.java new file mode 100644 index 0000000000..38c37e8ba0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyListByResourceGroup.java @@ -0,0 +1,17 @@ +import com.azure.core.util.Context; + +/** Samples for FirewallPolicies ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/FirewallPolicyListByResourceGroup.json + */ + /** + * Sample code: List all Firewall Policies for a given resource group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllFirewallPoliciesForAGivenResourceGroup( + com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getFirewallPolicies().listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyListByResourceGroup.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyListByResourceGroup.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyListBySubscription.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyListBySubscription.java new file mode 100644 index 0000000000..305978482c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyListBySubscription.java @@ -0,0 +1,17 @@ +import com.azure.core.util.Context; + +/** Samples for FirewallPolicies List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/FirewallPolicyListBySubscription.json + */ + /** + * Sample code: List all Firewall Policies for a given subscription. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllFirewallPoliciesForAGivenSubscription( + com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getFirewallPolicies().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyListBySubscription.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyListBySubscription.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyNatRuleCollectionGroupGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyNatRuleCollectionGroupGet.java new file mode 100644 index 0000000000..b877a7926d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyNatRuleCollectionGroupGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for FirewallPolicyRuleCollectionGroups Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/FirewallPolicyNatRuleCollectionGroupGet.json + */ + /** + * Sample code: Get FirewallPolicyNatRuleCollectionGroup. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getFirewallPolicyNatRuleCollectionGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getFirewallPolicyRuleCollectionGroups() + .getWithResponse("rg1", "firewallPolicy", "ruleCollectionGroup1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyNatRuleCollectionGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyNatRuleCollectionGroupGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyNatRuleCollectionGroupGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyNatRuleCollectionGroupPut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyNatRuleCollectionGroupPut.java new file mode 100644 index 0000000000..870c64349a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyNatRuleCollectionGroupPut.java @@ -0,0 +1,60 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.FirewallPolicyRuleCollectionGroupInner; +import com.azure.resourcemanager.network.models.FirewallPolicyNatRuleCollection; +import com.azure.resourcemanager.network.models.FirewallPolicyNatRuleCollectionAction; +import com.azure.resourcemanager.network.models.FirewallPolicyNatRuleCollectionActionType; +import com.azure.resourcemanager.network.models.FirewallPolicyRuleNetworkProtocol; +import com.azure.resourcemanager.network.models.NatRule; +import java.util.Arrays; + +/** Samples for FirewallPolicyRuleCollectionGroups CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/FirewallPolicyNatRuleCollectionGroupPut.json + */ + /** + * Sample code: Create FirewallPolicyNatRuleCollectionGroup. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createFirewallPolicyNatRuleCollectionGroup( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getFirewallPolicyRuleCollectionGroups() + .createOrUpdate( + "rg1", + "firewallPolicy", + "ruleCollectionGroup1", + new FirewallPolicyRuleCollectionGroupInner() + .withPriority(100) + .withRuleCollections( + Arrays + .asList( + new FirewallPolicyNatRuleCollection() + .withName("Example-Nat-Rule-Collection") + .withPriority(100) + .withAction( + new FirewallPolicyNatRuleCollectionAction() + .withType(FirewallPolicyNatRuleCollectionActionType.DNAT)) + .withRules( + Arrays + .asList( + new NatRule() + .withName("nat-rule1") + .withIpProtocols( + Arrays + .asList( + FirewallPolicyRuleNetworkProtocol.TCP, + FirewallPolicyRuleNetworkProtocol.UDP)) + .withSourceAddresses(Arrays.asList("2.2.2.2")) + .withDestinationAddresses(Arrays.asList("152.23.32.23")) + .withDestinationPorts(Arrays.asList("8080")) + .withTranslatedPort("8080") + .withSourceIpGroups(Arrays.asList()) + .withTranslatedFqdn("internalhttp.server.net"))))), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyNatRuleCollectionGroupPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyNatRuleCollectionGroupPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyNatRuleCollectionGroupPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyPatch.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyPatch.java new file mode 100644 index 0000000000..9c61c04f4b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyPatch.java @@ -0,0 +1,39 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for FirewallPolicies UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/FirewallPolicyPatch.json + */ + /** + * Sample code: Update FirewallPolicy Tags. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateFirewallPolicyTags(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getFirewallPolicies() + .updateTagsWithResponse( + "myResourceGroup", + "firewallPolicy", + new TagsObject().withTags(mapOf("key1", "value1", "key2", "value2")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyPatch.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyPatch.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyPatch.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyPut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyPut.java new file mode 100644 index 0000000000..4c86491485 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyPut.java @@ -0,0 +1,136 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.FirewallPolicyInner; +import com.azure.resourcemanager.network.models.AzureFirewallThreatIntelMode; +import com.azure.resourcemanager.network.models.DnsSettings; +import com.azure.resourcemanager.network.models.ExplicitProxy; +import com.azure.resourcemanager.network.models.FirewallPolicyCertificateAuthority; +import com.azure.resourcemanager.network.models.FirewallPolicyInsights; +import com.azure.resourcemanager.network.models.FirewallPolicyIntrusionDetection; +import com.azure.resourcemanager.network.models.FirewallPolicyIntrusionDetectionBypassTrafficSpecifications; +import com.azure.resourcemanager.network.models.FirewallPolicyIntrusionDetectionConfiguration; +import com.azure.resourcemanager.network.models.FirewallPolicyIntrusionDetectionProtocol; +import com.azure.resourcemanager.network.models.FirewallPolicyIntrusionDetectionSignatureSpecification; +import com.azure.resourcemanager.network.models.FirewallPolicyIntrusionDetectionStateType; +import com.azure.resourcemanager.network.models.FirewallPolicyLogAnalyticsResources; +import com.azure.resourcemanager.network.models.FirewallPolicyLogAnalyticsWorkspace; +import com.azure.resourcemanager.network.models.FirewallPolicySku; +import com.azure.resourcemanager.network.models.FirewallPolicySkuTier; +import com.azure.resourcemanager.network.models.FirewallPolicySnat; +import com.azure.resourcemanager.network.models.FirewallPolicySql; +import com.azure.resourcemanager.network.models.FirewallPolicyThreatIntelWhitelist; +import com.azure.resourcemanager.network.models.FirewallPolicyTransportSecurity; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for FirewallPolicies CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/FirewallPolicyPut.json + */ + /** + * Sample code: Create FirewallPolicy. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createFirewallPolicy(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getFirewallPolicies() + .createOrUpdate( + "rg1", + "firewallPolicy", + new FirewallPolicyInner() + .withLocation("West US") + .withTags(mapOf("key1", "value1")) + .withThreatIntelMode(AzureFirewallThreatIntelMode.ALERT) + .withThreatIntelWhitelist( + new FirewallPolicyThreatIntelWhitelist() + .withIpAddresses(Arrays.asList("20.3.4.5")) + .withFqdns(Arrays.asList("*.microsoft.com"))) + .withInsights( + new FirewallPolicyInsights() + .withIsEnabled(true) + .withRetentionDays(100) + .withLogAnalyticsResources( + new FirewallPolicyLogAnalyticsResources() + .withWorkspaces( + Arrays + .asList( + new FirewallPolicyLogAnalyticsWorkspace() + .withRegion("westus") + .withWorkspaceId( + new SubResource() + .withId( + "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace1")), + new FirewallPolicyLogAnalyticsWorkspace() + .withRegion("eastus") + .withWorkspaceId( + new SubResource() + .withId( + "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace2")))) + .withDefaultWorkspaceId( + new SubResource() + .withId( + "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/defaultWorkspace")))) + .withSnat(new FirewallPolicySnat().withPrivateRanges(Arrays.asList("IANAPrivateRanges"))) + .withSql(new FirewallPolicySql().withAllowSqlRedirect(true)) + .withDnsSettings( + new DnsSettings() + .withServers(Arrays.asList("30.3.4.5")) + .withEnableProxy(true) + .withRequireProxyForNetworkRules(false)) + .withExplicitProxy( + new ExplicitProxy() + .withEnableExplicitProxy(true) + .withHttpPort(8087) + .withHttpsPort(8087) + .withEnablePacFile(true) + .withPacFilePort(8087) + .withPacFile( + "https://tinawstorage.file.core.windows.net/?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacuptfx&se=2021-06-04T07:01:12Z&st=2021-06-03T23:01:12Z&sip=68.65.171.11&spr=https&sig=Plsa0RRVpGbY0IETZZOT6znOHcSro71LLTTbzquYPgs%3D")) + .withIntrusionDetection( + new FirewallPolicyIntrusionDetection() + .withMode(FirewallPolicyIntrusionDetectionStateType.ALERT) + .withConfiguration( + new FirewallPolicyIntrusionDetectionConfiguration() + .withSignatureOverrides( + Arrays + .asList( + new FirewallPolicyIntrusionDetectionSignatureSpecification() + .withId("2525004") + .withMode(FirewallPolicyIntrusionDetectionStateType.DENY))) + .withBypassTrafficSettings( + Arrays + .asList( + new FirewallPolicyIntrusionDetectionBypassTrafficSpecifications() + .withName("bypassRule1") + .withDescription("Rule 1") + .withProtocol(FirewallPolicyIntrusionDetectionProtocol.TCP) + .withSourceAddresses(Arrays.asList("1.2.3.4")) + .withDestinationAddresses(Arrays.asList("5.6.7.8")) + .withDestinationPorts(Arrays.asList("*")))))) + .withTransportSecurity( + new FirewallPolicyTransportSecurity() + .withCertificateAuthority( + new FirewallPolicyCertificateAuthority() + .withKeyVaultSecretId("https://kv/secret") + .withName("clientcert"))) + .withSku(new FirewallPolicySku().withTier(FirewallPolicySkuTier.PREMIUM)), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyQuerySignatureOverrides.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyQuerySignatureOverrides.java new file mode 100644 index 0000000000..495fb8d0e6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyQuerySignatureOverrides.java @@ -0,0 +1,36 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.FilterItems; +import com.azure.resourcemanager.network.models.FirewallPolicyIdpsQuerySortOrder; +import com.azure.resourcemanager.network.models.IdpsQueryObject; +import com.azure.resourcemanager.network.models.OrderBy; +import java.util.Arrays; + +/** Samples for FirewallPolicyIdpsSignatures List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/FirewallPolicyQuerySignatureOverrides.json + */ + /** + * Sample code: query signature overrides. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void querySignatureOverrides(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getFirewallPolicyIdpsSignatures() + .listWithResponse( + "rg1", + "firewallPolicy", + new IdpsQueryObject() + .withFilters(Arrays.asList(new FilterItems().withField("Mode").withValues(Arrays.asList("Deny")))) + .withSearch("") + .withOrderBy( + new OrderBy().withField("severity").withOrder(FirewallPolicyIdpsQuerySortOrder.ASCENDING)) + .withResultsPerPage(20) + .withSkip(0), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyQuerySignatureOverrides.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyQuerySignatureOverrides.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyQuerySignatureOverrides.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyQuerySignatureOverridesFilterValues.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyQuerySignatureOverridesFilterValues.java new file mode 100644 index 0000000000..0fd0bfd2b2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyQuerySignatureOverridesFilterValues.java @@ -0,0 +1,26 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.SignatureOverridesFilterValuesQuery; + +/** Samples for FirewallPolicyIdpsSignaturesFilterValues List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/FirewallPolicyQuerySignatureOverridesFilterValues.json + */ + /** + * Sample code: query signature overrides. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void querySignatureOverrides(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getFirewallPolicyIdpsSignaturesFilterValues() + .listWithResponse( + "rg1", + "firewallPolicy", + new SignatureOverridesFilterValuesQuery().withFilterName("severity"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyQuerySignatureOverridesFilterValues.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyQuerySignatureOverridesFilterValues.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyQuerySignatureOverridesFilterValues.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupDelete.java new file mode 100644 index 0000000000..377628a939 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for FirewallPolicyRuleCollectionGroups Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/FirewallPolicyRuleCollectionGroupDelete.json + */ + /** + * Sample code: Delete FirewallPolicyRuleCollectionGroup. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteFirewallPolicyRuleCollectionGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getFirewallPolicyRuleCollectionGroups() + .delete("rg1", "firewallPolicy", "ruleCollectionGroup1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupGet.java new file mode 100644 index 0000000000..0fcf772c76 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for FirewallPolicyRuleCollectionGroups Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/FirewallPolicyRuleCollectionGroupGet.json + */ + /** + * Sample code: Get FirewallPolicyRuleCollectionGroup. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getFirewallPolicyRuleCollectionGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getFirewallPolicyRuleCollectionGroups() + .getWithResponse("rg1", "firewallPolicy", "ruleCollectionGroup1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupList.java new file mode 100644 index 0000000000..51ead5c4a4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupList.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for FirewallPolicyRuleCollectionGroups List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/FirewallPolicyRuleCollectionGroupList.json + */ + /** + * Sample code: List all FirewallPolicyRuleCollectionGroups for a given FirewallPolicy. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllFirewallPolicyRuleCollectionGroupsForAGivenFirewallPolicy( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getFirewallPolicyRuleCollectionGroups() + .list("rg1", "firewallPolicy", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupPut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupPut.java new file mode 100644 index 0000000000..7fece55c47 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupPut.java @@ -0,0 +1,53 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.FirewallPolicyRuleCollectionGroupInner; +import com.azure.resourcemanager.network.models.FirewallPolicyFilterRuleCollection; +import com.azure.resourcemanager.network.models.FirewallPolicyFilterRuleCollectionAction; +import com.azure.resourcemanager.network.models.FirewallPolicyFilterRuleCollectionActionType; +import com.azure.resourcemanager.network.models.FirewallPolicyRuleNetworkProtocol; +import com.azure.resourcemanager.network.models.NetworkRule; +import java.util.Arrays; + +/** Samples for FirewallPolicyRuleCollectionGroups CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/FirewallPolicyRuleCollectionGroupPut.json + */ + /** + * Sample code: Create FirewallPolicyRuleCollectionGroup. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createFirewallPolicyRuleCollectionGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getFirewallPolicyRuleCollectionGroups() + .createOrUpdate( + "rg1", + "firewallPolicy", + "ruleCollectionGroup1", + new FirewallPolicyRuleCollectionGroupInner() + .withPriority(100) + .withRuleCollections( + Arrays + .asList( + new FirewallPolicyFilterRuleCollection() + .withName("Example-Filter-Rule-Collection") + .withPriority(100) + .withAction( + new FirewallPolicyFilterRuleCollectionAction() + .withType(FirewallPolicyFilterRuleCollectionActionType.DENY)) + .withRules( + Arrays + .asList( + new NetworkRule() + .withName("network-rule1") + .withIpProtocols( + Arrays.asList(FirewallPolicyRuleNetworkProtocol.TCP)) + .withSourceAddresses(Arrays.asList("10.1.25.0/24")) + .withDestinationAddresses(Arrays.asList("*")) + .withDestinationPorts(Arrays.asList("*")))))), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithIpGroupsGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithIpGroupsGet.java new file mode 100644 index 0000000000..6b3ae86254 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithIpGroupsGet.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for FirewallPolicyRuleCollectionGroups Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/FirewallPolicyRuleCollectionGroupWithIpGroupsGet.json + */ + /** + * Sample code: Get FirewallPolicyRuleCollectionGroup With IpGroups. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getFirewallPolicyRuleCollectionGroupWithIpGroups( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getFirewallPolicyRuleCollectionGroups() + .getWithResponse("rg1", "firewallPolicy", "ruleGroup1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithIpGroupsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithIpGroupsGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithIpGroupsGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithIpGroupsList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithIpGroupsList.java new file mode 100644 index 0000000000..c6c4931759 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithIpGroupsList.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for FirewallPolicyRuleCollectionGroups List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/FirewallPolicyRuleCollectionGroupWithIpGroupsList.json + */ + /** + * Sample code: List all FirewallPolicyRuleCollectionGroups with IpGroups for a given FirewallPolicy. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllFirewallPolicyRuleCollectionGroupsWithIpGroupsForAGivenFirewallPolicy( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getFirewallPolicyRuleCollectionGroups() + .list("rg1", "firewallPolicy", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithIpGroupsList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithIpGroupsList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithIpGroupsList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithIpGroupsPut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithIpGroupsPut.java new file mode 100644 index 0000000000..42c316c30b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithIpGroupsPut.java @@ -0,0 +1,59 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.FirewallPolicyRuleCollectionGroupInner; +import com.azure.resourcemanager.network.models.FirewallPolicyFilterRuleCollection; +import com.azure.resourcemanager.network.models.FirewallPolicyFilterRuleCollectionAction; +import com.azure.resourcemanager.network.models.FirewallPolicyFilterRuleCollectionActionType; +import com.azure.resourcemanager.network.models.FirewallPolicyRuleNetworkProtocol; +import com.azure.resourcemanager.network.models.NetworkRule; +import java.util.Arrays; + +/** Samples for FirewallPolicyRuleCollectionGroups CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/FirewallPolicyRuleCollectionGroupWithIpGroupsPut.json + */ + /** + * Sample code: Create FirewallPolicyRuleCollectionGroup With IpGroups. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createFirewallPolicyRuleCollectionGroupWithIpGroups( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getFirewallPolicyRuleCollectionGroups() + .createOrUpdate( + "rg1", + "firewallPolicy", + "ruleCollectionGroup1", + new FirewallPolicyRuleCollectionGroupInner() + .withPriority(110) + .withRuleCollections( + Arrays + .asList( + new FirewallPolicyFilterRuleCollection() + .withName("Example-Filter-Rule-Collection") + .withAction( + new FirewallPolicyFilterRuleCollectionAction() + .withType(FirewallPolicyFilterRuleCollectionActionType.DENY)) + .withRules( + Arrays + .asList( + new NetworkRule() + .withName("network-1") + .withIpProtocols( + Arrays.asList(FirewallPolicyRuleNetworkProtocol.TCP)) + .withDestinationPorts(Arrays.asList("*")) + .withSourceIpGroups( + Arrays + .asList( + "/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups1")) + .withDestinationIpGroups( + Arrays + .asList( + "/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups2")))))), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithIpGroupsPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithIpGroupsPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithIpGroupsPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithWebCategoriesGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithWebCategoriesGet.java new file mode 100644 index 0000000000..ef9a398a54 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithWebCategoriesGet.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for FirewallPolicyRuleCollectionGroups Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/FirewallPolicyRuleCollectionGroupWithWebCategoriesGet.json + */ + /** + * Sample code: Get FirewallPolicyRuleCollectionGroup With Web Categories. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getFirewallPolicyRuleCollectionGroupWithWebCategories( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getFirewallPolicyRuleCollectionGroups() + .getWithResponse("rg1", "firewallPolicy", "ruleCollectionGroup1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithWebCategoriesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithWebCategoriesGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithWebCategoriesGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithWebCategoriesList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithWebCategoriesList.java new file mode 100644 index 0000000000..9de66846c0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithWebCategoriesList.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for FirewallPolicyRuleCollectionGroups List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/FirewallPolicyRuleCollectionGroupWithWebCategoriesList.json + */ + /** + * Sample code: List all FirewallPolicyRuleCollectionGroup With Web Categories. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllFirewallPolicyRuleCollectionGroupWithWebCategories( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getFirewallPolicyRuleCollectionGroups() + .list("rg1", "firewallPolicy", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithWebCategoriesList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithWebCategoriesList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithWebCategoriesList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithWebCategoriesPut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithWebCategoriesPut.java new file mode 100644 index 0000000000..ac93864d93 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithWebCategoriesPut.java @@ -0,0 +1,59 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.FirewallPolicyRuleCollectionGroupInner; +import com.azure.resourcemanager.network.models.ApplicationRule; +import com.azure.resourcemanager.network.models.FirewallPolicyFilterRuleCollection; +import com.azure.resourcemanager.network.models.FirewallPolicyFilterRuleCollectionAction; +import com.azure.resourcemanager.network.models.FirewallPolicyFilterRuleCollectionActionType; +import com.azure.resourcemanager.network.models.FirewallPolicyRuleApplicationProtocol; +import com.azure.resourcemanager.network.models.FirewallPolicyRuleApplicationProtocolType; +import java.util.Arrays; + +/** Samples for FirewallPolicyRuleCollectionGroups CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/FirewallPolicyRuleCollectionGroupWithWebCategoriesPut.json + */ + /** + * Sample code: Create FirewallPolicyRuleCollectionGroup With Web Categories. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createFirewallPolicyRuleCollectionGroupWithWebCategories( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getFirewallPolicyRuleCollectionGroups() + .createOrUpdate( + "rg1", + "firewallPolicy", + "ruleCollectionGroup1", + new FirewallPolicyRuleCollectionGroupInner() + .withPriority(110) + .withRuleCollections( + Arrays + .asList( + new FirewallPolicyFilterRuleCollection() + .withName("Example-Filter-Rule-Collection") + .withAction( + new FirewallPolicyFilterRuleCollectionAction() + .withType(FirewallPolicyFilterRuleCollectionActionType.DENY)) + .withRules( + Arrays + .asList( + new ApplicationRule() + .withName("rule1") + .withDescription("Deny inbound rule") + .withSourceAddresses(Arrays.asList("216.58.216.164", "10.0.0.0/24")) + .withProtocols( + Arrays + .asList( + new FirewallPolicyRuleApplicationProtocol() + .withProtocolType( + FirewallPolicyRuleApplicationProtocolType.HTTPS) + .withPort(443))) + .withWebCategories(Arrays.asList("Hacking")))))), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithWebCategoriesPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithWebCategoriesPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicyRuleCollectionGroupWithWebCategoriesPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicySignatureOverridesGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicySignatureOverridesGet.java new file mode 100644 index 0000000000..d2844a4e7c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicySignatureOverridesGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for FirewallPolicyIdpsSignaturesOverrides Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/FirewallPolicySignatureOverridesGet.json + */ + /** + * Sample code: get signature overrides. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getSignatureOverrides(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getFirewallPolicyIdpsSignaturesOverrides() + .getWithResponse("rg1", "firewallPolicy", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicySignatureOverridesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicySignatureOverridesGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicySignatureOverridesGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicySignatureOverridesList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicySignatureOverridesList.java new file mode 100644 index 0000000000..d6f8e97875 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicySignatureOverridesList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for FirewallPolicyIdpsSignaturesOverrides List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/FirewallPolicySignatureOverridesList.json + */ + /** + * Sample code: get signature overrides. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getSignatureOverrides(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getFirewallPolicyIdpsSignaturesOverrides() + .listWithResponse("rg1", "firewallPolicy", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicySignatureOverridesList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicySignatureOverridesList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicySignatureOverridesList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicySignatureOverridesPatch.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicySignatureOverridesPatch.java new file mode 100644 index 0000000000..3bd758374f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicySignatureOverridesPatch.java @@ -0,0 +1,46 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.SignaturesOverridesInner; +import com.azure.resourcemanager.network.models.SignaturesOverridesProperties; +import java.util.HashMap; +import java.util.Map; + +/** Samples for FirewallPolicyIdpsSignaturesOverrides Patch. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/FirewallPolicySignatureOverridesPatch.json + */ + /** + * Sample code: patch signature overrides. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void patchSignatureOverrides(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getFirewallPolicyIdpsSignaturesOverrides() + .patchWithResponse( + "rg1", + "firewallPolicy", + new SignaturesOverridesInner() + .withName("default") + .withId( + "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/signatureOverrides/default") + .withType("Microsoft.Network/firewallPolicies/signatureOverrides") + .withProperties( + new SignaturesOverridesProperties().withSignatures(mapOf("2000105", "Off", "2000106", "Deny"))), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicySignatureOverridesPatch.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicySignatureOverridesPatch.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicySignatureOverridesPatch.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicySignatureOverridesPut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicySignatureOverridesPut.java new file mode 100644 index 0000000000..a2d489ad24 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicySignatureOverridesPut.java @@ -0,0 +1,46 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.SignaturesOverridesInner; +import com.azure.resourcemanager.network.models.SignaturesOverridesProperties; +import java.util.HashMap; +import java.util.Map; + +/** Samples for FirewallPolicyIdpsSignaturesOverrides Put. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/FirewallPolicySignatureOverridesPut.json + */ + /** + * Sample code: put signature overrides. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void putSignatureOverrides(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getFirewallPolicyIdpsSignaturesOverrides() + .putWithResponse( + "rg1", + "firewallPolicy", + new SignaturesOverridesInner() + .withName("default") + .withId( + "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/signatureOverrides/default") + .withType("Microsoft.Network/firewallPolicies/signatureOverrides") + .withProperties( + new SignaturesOverridesProperties().withSignatures(mapOf("2000105", "Off", "2000106", "Deny"))), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicySignatureOverridesPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicySignatureOverridesPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/FirewallPolicySignatureOverridesPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/GenerateExpressRoutePortsLOA.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/GenerateExpressRoutePortsLOA.java new file mode 100644 index 0000000000..592fd2ef67 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/GenerateExpressRoutePortsLOA.java @@ -0,0 +1,26 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.GenerateExpressRoutePortsLoaRequest; + +/** Samples for ExpressRoutePorts GenerateLoa. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/GenerateExpressRoutePortsLOA.json + */ + /** + * Sample code: GenerateExpressRoutePortLOA. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void generateExpressRoutePortLOA(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRoutePorts() + .generateLoaWithResponse( + "rg1", + "portName", + new GenerateExpressRoutePortsLoaRequest().withCustomerName("customerName"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/GenerateExpressRoutePortsLOA.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/GenerateExpressRoutePortsLOA.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/GenerateExpressRoutePortsLOA.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/GetVirtualWanVpnServerConfigurations.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/GetVirtualWanVpnServerConfigurations.java new file mode 100644 index 0000000000..f80c36d2a0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/GetVirtualWanVpnServerConfigurations.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VpnServerConfigurationsAssociatedWithVirtualWan List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/GetVirtualWanVpnServerConfigurations.json + */ + /** + * Sample code: GetVirtualWanVpnServerConfigurations. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getVirtualWanVpnServerConfigurations(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVpnServerConfigurationsAssociatedWithVirtualWans() + .list("rg1", "wan1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/GetVirtualWanVpnServerConfigurations.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/GetVirtualWanVpnServerConfigurations.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/GetVirtualWanVpnServerConfigurations.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubRouteTableDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubRouteTableDelete.java new file mode 100644 index 0000000000..f49bb1628f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubRouteTableDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for HubRouteTables Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/HubRouteTableDelete.json + */ + /** + * Sample code: RouteTableDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void routeTableDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getHubRouteTables() + .delete("rg1", "virtualHub1", "hubRouteTable1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubRouteTableDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubRouteTableDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubRouteTableDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubRouteTableGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubRouteTableGet.java new file mode 100644 index 0000000000..e7c9d49ed7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubRouteTableGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for HubRouteTables Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/HubRouteTableGet.json + */ + /** + * Sample code: RouteTableGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void routeTableGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getHubRouteTables() + .getWithResponse("rg1", "virtualHub1", "hubRouteTable1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubRouteTableGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubRouteTableGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubRouteTableGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubRouteTableList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubRouteTableList.java new file mode 100644 index 0000000000..f03337c9ac --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubRouteTableList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for HubRouteTables List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/HubRouteTableList.json + */ + /** + * Sample code: RouteTableList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void routeTableList(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getHubRouteTables().list("rg1", "virtualHub1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubRouteTableList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubRouteTableList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubRouteTablePut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubRouteTablePut.java new file mode 100644 index 0000000000..fffecd11b8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubRouteTablePut.java @@ -0,0 +1,40 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.HubRouteTableInner; +import com.azure.resourcemanager.network.models.HubRoute; +import java.util.Arrays; + +/** Samples for HubRouteTables CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/HubRouteTablePut.json + */ + /** + * Sample code: RouteTablePut. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void routeTablePut(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getHubRouteTables() + .createOrUpdate( + "rg1", + "virtualHub1", + "hubRouteTable1", + new HubRouteTableInner() + .withRoutes( + Arrays + .asList( + new HubRoute() + .withName("route1") + .withDestinationType("CIDR") + .withDestinations(Arrays.asList("10.0.0.0/8", "20.0.0.0/8", "30.0.0.0/8")) + .withNextHopType("ResourceId") + .withNextHop( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azureFirewall1"))) + .withLabels(Arrays.asList("label1", "label2")), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubRouteTablePut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubRouteTablePut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubRouteTablePut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubVirtualNetworkConnectionDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubVirtualNetworkConnectionDelete.java new file mode 100644 index 0000000000..2fc52a6d3b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubVirtualNetworkConnectionDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for HubVirtualNetworkConnections Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/HubVirtualNetworkConnectionDelete.json + */ + /** + * Sample code: HubVirtualNetworkConnectionDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void hubVirtualNetworkConnectionDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getHubVirtualNetworkConnections() + .delete("rg1", "virtualHub1", "connection1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubVirtualNetworkConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubVirtualNetworkConnectionDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubVirtualNetworkConnectionDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubVirtualNetworkConnectionGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubVirtualNetworkConnectionGet.java new file mode 100644 index 0000000000..d6c2507339 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubVirtualNetworkConnectionGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for HubVirtualNetworkConnections Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/HubVirtualNetworkConnectionGet.json + */ + /** + * Sample code: HubVirtualNetworkConnectionGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void hubVirtualNetworkConnectionGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getHubVirtualNetworkConnections() + .getWithResponse("rg1", "virtualHub1", "connection1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubVirtualNetworkConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubVirtualNetworkConnectionGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubVirtualNetworkConnectionGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubVirtualNetworkConnectionList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubVirtualNetworkConnectionList.java new file mode 100644 index 0000000000..c5a0588f0e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubVirtualNetworkConnectionList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for HubVirtualNetworkConnections List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/HubVirtualNetworkConnectionList.json + */ + /** + * Sample code: HubVirtualNetworkConnectionList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void hubVirtualNetworkConnectionList(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getHubVirtualNetworkConnections() + .list("rg1", "virtualHub1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubVirtualNetworkConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubVirtualNetworkConnectionList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubVirtualNetworkConnectionList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubVirtualNetworkConnectionPut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubVirtualNetworkConnectionPut.java new file mode 100644 index 0000000000..c85b48c9c3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubVirtualNetworkConnectionPut.java @@ -0,0 +1,66 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.HubVirtualNetworkConnectionInner; +import com.azure.resourcemanager.network.models.PropagatedRouteTable; +import com.azure.resourcemanager.network.models.RoutingConfiguration; +import com.azure.resourcemanager.network.models.StaticRoute; +import com.azure.resourcemanager.network.models.VnetRoute; +import java.util.Arrays; + +/** Samples for HubVirtualNetworkConnections CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/HubVirtualNetworkConnectionPut.json + */ + /** + * Sample code: HubVirtualNetworkConnectionPut. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void hubVirtualNetworkConnectionPut(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getHubVirtualNetworkConnections() + .createOrUpdate( + "rg1", + "virtualHub1", + "connection1", + new HubVirtualNetworkConnectionInner() + .withRemoteVirtualNetwork( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1")) + .withEnableInternetSecurity(false) + .withRoutingConfiguration( + new RoutingConfiguration() + .withAssociatedRouteTable( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1")) + .withPropagatedRouteTables( + new PropagatedRouteTable() + .withLabels(Arrays.asList("label1", "label2")) + .withIds( + Arrays + .asList( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1")))) + .withVnetRoutes( + new VnetRoute() + .withStaticRoutes( + Arrays + .asList( + new StaticRoute() + .withName("route1") + .withAddressPrefixes(Arrays.asList("10.1.0.0/16", "10.2.0.0/16")) + .withNextHopIpAddress("10.0.0.68"), + new StaticRoute() + .withName("route2") + .withAddressPrefixes(Arrays.asList("10.3.0.0/16", "10.4.0.0/16")) + .withNextHopIpAddress("10.0.0.65"))))), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubVirtualNetworkConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubVirtualNetworkConnectionPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/HubVirtualNetworkConnectionPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/InboundNatRuleCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/InboundNatRuleCreate.java new file mode 100644 index 0000000000..8c60532ad6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/InboundNatRuleCreate.java @@ -0,0 +1,39 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.InboundNatRuleInner; +import com.azure.resourcemanager.network.models.TransportProtocol; + +/** Samples for InboundNatRules CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/InboundNatRuleCreate.json + */ + /** + * Sample code: InboundNatRuleCreate. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void inboundNatRuleCreate(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getInboundNatRules() + .createOrUpdate( + "testrg", + "lb1", + "natRule1.1", + new InboundNatRuleInner() + .withFrontendIpConfiguration( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1")) + .withProtocol(TransportProtocol.TCP) + .withFrontendPort(3390) + .withBackendPort(3389) + .withIdleTimeoutInMinutes(4) + .withEnableFloatingIp(false) + .withEnableTcpReset(false), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/InboundNatRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/InboundNatRuleCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/InboundNatRuleCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/InboundNatRuleDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/InboundNatRuleDelete.java new file mode 100644 index 0000000000..4973ec9f5d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/InboundNatRuleDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for InboundNatRules Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/InboundNatRuleDelete.json + */ + /** + * Sample code: InboundNatRuleDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void inboundNatRuleDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getInboundNatRules() + .delete("testrg", "lb1", "natRule1.1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/InboundNatRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/InboundNatRuleDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/InboundNatRuleDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/InboundNatRuleGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/InboundNatRuleGet.java new file mode 100644 index 0000000000..6d9b25ea86 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/InboundNatRuleGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for InboundNatRules Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/InboundNatRuleGet.json + */ + /** + * Sample code: InboundNatRuleGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void inboundNatRuleGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getInboundNatRules() + .getWithResponse("testrg", "lb1", "natRule1.1", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/InboundNatRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/InboundNatRuleGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/InboundNatRuleGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/InboundNatRuleList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/InboundNatRuleList.java new file mode 100644 index 0000000000..5126378eca --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/InboundNatRuleList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for InboundNatRules List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/InboundNatRuleList.json + */ + /** + * Sample code: InboundNatRuleList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void inboundNatRuleList(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getInboundNatRules().list("testrg", "lb1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/InboundNatRuleList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/InboundNatRuleList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/InboundNatRuleList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/InboundSecurityRulePut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/InboundSecurityRulePut.java new file mode 100644 index 0000000000..a1aeee692a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/InboundSecurityRulePut.java @@ -0,0 +1,38 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.InboundSecurityRuleInner; +import com.azure.resourcemanager.network.models.InboundSecurityRules; +import com.azure.resourcemanager.network.models.InboundSecurityRulesProtocol; +import java.util.Arrays; + +/** Samples for InboundSecurityRuleOperation CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/InboundSecurityRulePut.json + */ + /** + * Sample code: Create Network Virtual Appliance Inbound Security Rules. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createNetworkVirtualApplianceInboundSecurityRules( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getInboundSecurityRuleOperations() + .createOrUpdate( + "rg1", + "nva", + "rule1", + new InboundSecurityRuleInner() + .withRules( + Arrays + .asList( + new InboundSecurityRules() + .withProtocol(InboundSecurityRulesProtocol.TCP) + .withSourceAddressPrefix("50.20.121.5/32") + .withDestinationPortRange(22))), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/InboundSecurityRulePut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/InboundSecurityRulePut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/InboundSecurityRulePut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationCreate.java new file mode 100644 index 0000000000..74622db77e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationCreate.java @@ -0,0 +1,47 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.IpAllocationInner; +import com.azure.resourcemanager.network.models.IpAllocationType; +import java.util.HashMap; +import java.util.Map; + +/** Samples for IpAllocations CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/IpAllocationCreate.json + */ + /** + * Sample code: Create IpAllocation. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createIpAllocation(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getIpAllocations() + .createOrUpdate( + "rg1", + "test-ipallocation", + new IpAllocationInner() + .withLocation("centraluseuap") + .withTypePropertiesType(IpAllocationType.HYPERNET) + .withPrefix("3.2.5.0/24") + .withAllocationTags( + mapOf( + "VNetID", + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/HypernetVnet1")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationDelete.java new file mode 100644 index 0000000000..a9b1c5af24 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for IpAllocations Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/IpAllocationDelete.json + */ + /** + * Sample code: Delete IpAllocation. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteIpAllocation(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getIpAllocations().delete("rg1", "test-ipallocation", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationGet.java new file mode 100644 index 0000000000..d38343746a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for IpAllocations GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/IpAllocationGet.json + */ + /** + * Sample code: Get IpAllocation. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getIpAllocation(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getIpAllocations() + .getByResourceGroupWithResponse("rg1", "test-ipallocation", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationList.java new file mode 100644 index 0000000000..81f3ce4386 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for IpAllocations List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/IpAllocationList.json + */ + /** + * Sample code: List all IpAllocations. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllIpAllocations(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getIpAllocations().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationListByResourceGroup.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationListByResourceGroup.java new file mode 100644 index 0000000000..f7031f8a93 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationListByResourceGroup.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for IpAllocations ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/IpAllocationListByResourceGroup.json + */ + /** + * Sample code: List IpAllocations in resource group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listIpAllocationsInResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getIpAllocations().listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationListByResourceGroup.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationListByResourceGroup.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationUpdateTags.java new file mode 100644 index 0000000000..cfcb212f79 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationUpdateTags.java @@ -0,0 +1,39 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for IpAllocations UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/IpAllocationUpdateTags.json + */ + /** + * Sample code: Update virtual network tags. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateVirtualNetworkTags(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getIpAllocations() + .updateTagsWithResponse( + "rg1", + "test-ipallocation", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpAllocationUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsCreate.java new file mode 100644 index 0000000000..648b85ff0c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsCreate.java @@ -0,0 +1,43 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.IpGroupInner; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for IpGroups CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/IpGroupsCreate.json + */ + /** + * Sample code: CreateOrUpdate_IpGroups. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createOrUpdateIpGroups(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getIpGroups() + .createOrUpdate( + "myResourceGroup", + "ipGroups1", + new IpGroupInner() + .withLocation("West US") + .withTags(mapOf("key1", "value1")) + .withIpAddresses(Arrays.asList("13.64.39.16/32", "40.74.146.80/31", "40.74.147.32/28")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsDelete.java new file mode 100644 index 0000000000..b1ef01cfd6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for IpGroups Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/IpGroupsDelete.json + */ + /** + * Sample code: Delete_IpGroups. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteIpGroups(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getIpGroups().delete("myResourceGroup", "ipGroups1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsGet.java new file mode 100644 index 0000000000..cf2a1fa22d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for IpGroups GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/IpGroupsGet.json + */ + /** + * Sample code: Get_IpGroups. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getIpGroups(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getIpGroups() + .getByResourceGroupWithResponse("myResourceGroup", "ipGroups1", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsListByResourceGroup.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsListByResourceGroup.java new file mode 100644 index 0000000000..60aaa887d0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsListByResourceGroup.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for IpGroups ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/IpGroupsListByResourceGroup.json + */ + /** + * Sample code: ListByResourceGroup_IpGroups. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listByResourceGroupIpGroups(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getIpGroups().listByResourceGroup("myResourceGroup", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsListByResourceGroup.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsListByResourceGroup.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsListBySubscription.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsListBySubscription.java new file mode 100644 index 0000000000..0f0faaeacb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsListBySubscription.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for IpGroups List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/IpGroupsListBySubscription.json + */ + /** + * Sample code: List_IpGroups. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listIpGroups(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getIpGroups().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsListBySubscription.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsListBySubscription.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsUpdateTags.java new file mode 100644 index 0000000000..97fe4c4fc3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsUpdateTags.java @@ -0,0 +1,39 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for IpGroups UpdateGroups. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/IpGroupsUpdateTags.json + */ + /** + * Sample code: Update_IpGroups. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateIpGroups(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getIpGroups() + .updateGroupsWithResponse( + "myResourceGroup", + "ipGroups1", + new TagsObject().withTags(mapOf("key1", "value1", "key2", "value2")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/IpGroupsUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LBBackendAddressPoolListWithBackendAddressesPoolType.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LBBackendAddressPoolListWithBackendAddressesPoolType.java new file mode 100644 index 0000000000..7268ff1eef --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LBBackendAddressPoolListWithBackendAddressesPoolType.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for LoadBalancerBackendAddressPools List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LBBackendAddressPoolListWithBackendAddressesPoolType.json + */ + /** + * Sample code: Load balancer with BackendAddressPool containing BackendAddresses. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void loadBalancerWithBackendAddressPoolContainingBackendAddresses( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getLoadBalancerBackendAddressPools() + .list("testrg", "lb", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LBBackendAddressPoolListWithBackendAddressesPoolType.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LBBackendAddressPoolListWithBackendAddressesPoolType.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LBBackendAddressPoolListWithBackendAddressesPoolType.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LBBackendAddressPoolWithBackendAddressesGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LBBackendAddressPoolWithBackendAddressesGet.java new file mode 100644 index 0000000000..baea98d531 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LBBackendAddressPoolWithBackendAddressesGet.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for LoadBalancerBackendAddressPools Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LBBackendAddressPoolWithBackendAddressesGet.json + */ + /** + * Sample code: LoadBalancer with BackendAddressPool with BackendAddresses. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void loadBalancerWithBackendAddressPoolWithBackendAddresses( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getLoadBalancerBackendAddressPools() + .getWithResponse("testrg", "lb", "backend", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LBBackendAddressPoolWithBackendAddressesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LBBackendAddressPoolWithBackendAddressesGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LBBackendAddressPoolWithBackendAddressesGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LBBackendAddressPoolWithBackendAddressesPut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LBBackendAddressPoolWithBackendAddressesPut.java new file mode 100644 index 0000000000..d7c5b83c49 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LBBackendAddressPoolWithBackendAddressesPut.java @@ -0,0 +1,48 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.BackendAddressPoolInner; +import com.azure.resourcemanager.network.models.LoadBalancerBackendAddress; +import java.util.Arrays; + +/** Samples for LoadBalancerBackendAddressPools CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LBBackendAddressPoolWithBackendAddressesPut.json + */ + /** + * Sample code: Update load balancer backend pool with backend addresses containing virtual network and IP address. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateLoadBalancerBackendPoolWithBackendAddressesContainingVirtualNetworkAndIPAddress( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getLoadBalancerBackendAddressPools() + .createOrUpdate( + "testrg", + "lb", + "backend", + new BackendAddressPoolInner() + .withLoadBalancerBackendAddresses( + Arrays + .asList( + new LoadBalancerBackendAddress() + .withName("address1") + .withVirtualNetwork( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb")) + .withIpAddress("10.0.0.4"), + new LoadBalancerBackendAddress() + .withName("address2") + .withVirtualNetwork( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb")) + .withIpAddress("10.0.0.5"))), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LBBackendAddressPoolWithBackendAddressesPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LBBackendAddressPoolWithBackendAddressesPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LBBackendAddressPoolWithBackendAddressesPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerBackendAddressPoolDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerBackendAddressPoolDelete.java new file mode 100644 index 0000000000..e9bd123e8f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerBackendAddressPoolDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for LoadBalancerBackendAddressPools Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LoadBalancerBackendAddressPoolDelete.json + */ + /** + * Sample code: BackendAddressPoolDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void backendAddressPoolDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getLoadBalancerBackendAddressPools() + .delete("testrg", "lb", "backend", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerBackendAddressPoolDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerBackendAddressPoolDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerBackendAddressPoolDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerBackendAddressPoolGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerBackendAddressPoolGet.java new file mode 100644 index 0000000000..9389ba2184 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerBackendAddressPoolGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for LoadBalancerBackendAddressPools Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LoadBalancerBackendAddressPoolGet.json + */ + /** + * Sample code: LoadBalancerBackendAddressPoolGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void loadBalancerBackendAddressPoolGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getLoadBalancerBackendAddressPools() + .getWithResponse("testrg", "lb", "backend", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerBackendAddressPoolGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerBackendAddressPoolGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerBackendAddressPoolGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerBackendAddressPoolList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerBackendAddressPoolList.java new file mode 100644 index 0000000000..49f0897a29 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerBackendAddressPoolList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for LoadBalancerBackendAddressPools List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LoadBalancerBackendAddressPoolList.json + */ + /** + * Sample code: LoadBalancerBackendAddressPoolList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void loadBalancerBackendAddressPoolList(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getLoadBalancerBackendAddressPools() + .list("testrg", "lb", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerBackendAddressPoolList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerBackendAddressPoolList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerBackendAddressPoolList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreate.java new file mode 100644 index 0000000000..317fe329a9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreate.java @@ -0,0 +1,98 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.BackendAddressPoolInner; +import com.azure.resourcemanager.network.fluent.models.FrontendIpConfigurationInner; +import com.azure.resourcemanager.network.fluent.models.InboundNatRuleInner; +import com.azure.resourcemanager.network.fluent.models.LoadBalancerInner; +import com.azure.resourcemanager.network.fluent.models.LoadBalancingRuleInner; +import com.azure.resourcemanager.network.fluent.models.ProbeInner; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; +import com.azure.resourcemanager.network.models.LoadDistribution; +import com.azure.resourcemanager.network.models.ProbeProtocol; +import com.azure.resourcemanager.network.models.TransportProtocol; +import java.util.Arrays; + +/** Samples for LoadBalancers CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LoadBalancerCreate.json + */ + /** + * Sample code: Create load balancer. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createLoadBalancer(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getLoadBalancers() + .createOrUpdate( + "rg1", + "lb", + new LoadBalancerInner() + .withLocation("eastus") + .withFrontendIpConfigurations( + Arrays + .asList( + new FrontendIpConfigurationInner() + .withName("fe-lb") + .withSubnet( + new SubnetInner() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb")))) + .withBackendAddressPools(Arrays.asList(new BackendAddressPoolInner().withName("be-lb"))) + .withLoadBalancingRules( + Arrays + .asList( + new LoadBalancingRuleInner() + .withName("rulelb") + .withFrontendIpConfiguration( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")) + .withBackendAddressPool( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb")) + .withProbe( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb")) + .withProtocol(TransportProtocol.TCP) + .withLoadDistribution(LoadDistribution.DEFAULT) + .withFrontendPort(80) + .withBackendPort(80) + .withIdleTimeoutInMinutes(15) + .withEnableFloatingIp(true) + .withEnableTcpReset(false))) + .withProbes( + Arrays + .asList( + new ProbeInner() + .withName("probe-lb") + .withProtocol(ProbeProtocol.HTTP) + .withPort(80) + .withIntervalInSeconds(15) + .withNumberOfProbes(2) + .withRequestPath("healthcheck.aspx"))) + .withInboundNatRules( + Arrays + .asList( + new InboundNatRuleInner() + .withName("in-nat-rule") + .withFrontendIpConfiguration( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")) + .withProtocol(TransportProtocol.TCP) + .withFrontendPort(3389) + .withBackendPort(3389) + .withIdleTimeoutInMinutes(15) + .withEnableFloatingIp(true) + .withEnableTcpReset(false))) + .withInboundNatPools(Arrays.asList()), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateGatewayLoadBalancerConsumer.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateGatewayLoadBalancerConsumer.java new file mode 100644 index 0000000000..f368f468ae --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateGatewayLoadBalancerConsumer.java @@ -0,0 +1,105 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.BackendAddressPoolInner; +import com.azure.resourcemanager.network.fluent.models.FrontendIpConfigurationInner; +import com.azure.resourcemanager.network.fluent.models.InboundNatRuleInner; +import com.azure.resourcemanager.network.fluent.models.LoadBalancerInner; +import com.azure.resourcemanager.network.fluent.models.LoadBalancingRuleInner; +import com.azure.resourcemanager.network.fluent.models.ProbeInner; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; +import com.azure.resourcemanager.network.models.LoadBalancerSku; +import com.azure.resourcemanager.network.models.LoadBalancerSkuName; +import com.azure.resourcemanager.network.models.LoadDistribution; +import com.azure.resourcemanager.network.models.ProbeProtocol; +import com.azure.resourcemanager.network.models.TransportProtocol; +import java.util.Arrays; + +/** Samples for LoadBalancers CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LoadBalancerCreateGatewayLoadBalancerConsumer.json + */ + /** + * Sample code: Create load balancer with Gateway Load Balancer Consumer configured. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createLoadBalancerWithGatewayLoadBalancerConsumerConfigured( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getLoadBalancers() + .createOrUpdate( + "rg1", + "lb", + new LoadBalancerInner() + .withLocation("eastus") + .withSku(new LoadBalancerSku().withName(LoadBalancerSkuName.STANDARD)) + .withFrontendIpConfigurations( + Arrays + .asList( + new FrontendIpConfigurationInner() + .withName("fe-lb") + .withSubnet( + new SubnetInner() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb")) + .withGatewayLoadBalancer( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider")))) + .withBackendAddressPools(Arrays.asList(new BackendAddressPoolInner().withName("be-lb"))) + .withLoadBalancingRules( + Arrays + .asList( + new LoadBalancingRuleInner() + .withName("rulelb") + .withFrontendIpConfiguration( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")) + .withBackendAddressPool( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb")) + .withProbe( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb")) + .withProtocol(TransportProtocol.TCP) + .withLoadDistribution(LoadDistribution.DEFAULT) + .withFrontendPort(80) + .withBackendPort(80) + .withIdleTimeoutInMinutes(15) + .withEnableFloatingIp(true))) + .withProbes( + Arrays + .asList( + new ProbeInner() + .withName("probe-lb") + .withProtocol(ProbeProtocol.HTTP) + .withPort(80) + .withIntervalInSeconds(15) + .withNumberOfProbes(2) + .withRequestPath("healthcheck.aspx"))) + .withInboundNatRules( + Arrays + .asList( + new InboundNatRuleInner() + .withName("in-nat-rule") + .withFrontendIpConfiguration( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")) + .withProtocol(TransportProtocol.TCP) + .withFrontendPort(3389) + .withBackendPort(3389) + .withIdleTimeoutInMinutes(15) + .withEnableFloatingIp(true))) + .withInboundNatPools(Arrays.asList()) + .withOutboundRules(Arrays.asList()), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateGatewayLoadBalancerConsumer.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateGatewayLoadBalancerConsumer.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateGatewayLoadBalancerConsumer.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateGatewayLoadBalancerProviderWithOneBackendPool.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateGatewayLoadBalancerProviderWithOneBackendPool.java new file mode 100644 index 0000000000..07a77cfd19 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateGatewayLoadBalancerProviderWithOneBackendPool.java @@ -0,0 +1,108 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.BackendAddressPoolInner; +import com.azure.resourcemanager.network.fluent.models.FrontendIpConfigurationInner; +import com.azure.resourcemanager.network.fluent.models.LoadBalancerInner; +import com.azure.resourcemanager.network.fluent.models.LoadBalancingRuleInner; +import com.azure.resourcemanager.network.fluent.models.ProbeInner; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; +import com.azure.resourcemanager.network.models.GatewayLoadBalancerTunnelInterface; +import com.azure.resourcemanager.network.models.GatewayLoadBalancerTunnelInterfaceType; +import com.azure.resourcemanager.network.models.GatewayLoadBalancerTunnelProtocol; +import com.azure.resourcemanager.network.models.LoadBalancerSku; +import com.azure.resourcemanager.network.models.LoadBalancerSkuName; +import com.azure.resourcemanager.network.models.LoadDistribution; +import com.azure.resourcemanager.network.models.ProbeProtocol; +import com.azure.resourcemanager.network.models.TransportProtocol; +import java.util.Arrays; + +/** Samples for LoadBalancers CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LoadBalancerCreateGatewayLoadBalancerProviderWithOneBackendPool.json + */ + /** + * Sample code: Create load balancer with Gateway Load Balancer Provider configured with one Backend Pool. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createLoadBalancerWithGatewayLoadBalancerProviderConfiguredWithOneBackendPool( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getLoadBalancers() + .createOrUpdate( + "rg1", + "lb", + new LoadBalancerInner() + .withLocation("eastus") + .withSku(new LoadBalancerSku().withName(LoadBalancerSkuName.fromString("Premium"))) + .withFrontendIpConfigurations( + Arrays + .asList( + new FrontendIpConfigurationInner() + .withName("fe-lb") + .withSubnet( + new SubnetInner() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb")))) + .withBackendAddressPools( + Arrays + .asList( + new BackendAddressPoolInner() + .withName("be-lb") + .withTunnelInterfaces( + Arrays + .asList( + new GatewayLoadBalancerTunnelInterface() + .withPort(15000) + .withIdentifier(900) + .withProtocol(GatewayLoadBalancerTunnelProtocol.VXLAN) + .withType(GatewayLoadBalancerTunnelInterfaceType.INTERNAL), + new GatewayLoadBalancerTunnelInterface() + .withPort(15001) + .withIdentifier(901) + .withProtocol(GatewayLoadBalancerTunnelProtocol.VXLAN) + .withType(GatewayLoadBalancerTunnelInterfaceType.INTERNAL))))) + .withLoadBalancingRules( + Arrays + .asList( + new LoadBalancingRuleInner() + .withName("rulelb") + .withFrontendIpConfiguration( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")) + .withBackendAddressPools( + Arrays + .asList( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"))) + .withProbe( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb")) + .withProtocol(TransportProtocol.ALL) + .withLoadDistribution(LoadDistribution.DEFAULT) + .withFrontendPort(0) + .withBackendPort(0) + .withIdleTimeoutInMinutes(15) + .withEnableFloatingIp(true))) + .withProbes( + Arrays + .asList( + new ProbeInner() + .withName("probe-lb") + .withProtocol(ProbeProtocol.HTTP) + .withPort(80) + .withIntervalInSeconds(15) + .withNumberOfProbes(2) + .withRequestPath("healthcheck.aspx"))) + .withInboundNatPools(Arrays.asList()) + .withOutboundRules(Arrays.asList()), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateGatewayLoadBalancerProviderWithOneBackendPool.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateGatewayLoadBalancerProviderWithOneBackendPool.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateGatewayLoadBalancerProviderWithOneBackendPool.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateGatewayLoadBalancerProviderWithTwoBackendPool.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateGatewayLoadBalancerProviderWithTwoBackendPool.java new file mode 100644 index 0000000000..43d1e657fe --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateGatewayLoadBalancerProviderWithTwoBackendPool.java @@ -0,0 +1,96 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.BackendAddressPoolInner; +import com.azure.resourcemanager.network.fluent.models.FrontendIpConfigurationInner; +import com.azure.resourcemanager.network.fluent.models.LoadBalancerInner; +import com.azure.resourcemanager.network.fluent.models.LoadBalancingRuleInner; +import com.azure.resourcemanager.network.fluent.models.ProbeInner; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; +import com.azure.resourcemanager.network.models.LoadBalancerSku; +import com.azure.resourcemanager.network.models.LoadBalancerSkuName; +import com.azure.resourcemanager.network.models.LoadDistribution; +import com.azure.resourcemanager.network.models.ProbeProtocol; +import com.azure.resourcemanager.network.models.TransportProtocol; +import java.util.Arrays; + +/** Samples for LoadBalancers CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LoadBalancerCreateGatewayLoadBalancerProviderWithTwoBackendPool.json + */ + /** + * Sample code: Create load balancer with Gateway Load Balancer Provider configured with two Backend Pool. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createLoadBalancerWithGatewayLoadBalancerProviderConfiguredWithTwoBackendPool( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getLoadBalancers() + .createOrUpdate( + "rg1", + "lb", + new LoadBalancerInner() + .withLocation("eastus") + .withSku(new LoadBalancerSku().withName(LoadBalancerSkuName.fromString("Premium"))) + .withFrontendIpConfigurations( + Arrays + .asList( + new FrontendIpConfigurationInner() + .withName("fe-lb") + .withSubnet( + new SubnetInner() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb")))) + .withBackendAddressPools( + Arrays + .asList( + new BackendAddressPoolInner().withName("be-lb1"), + new BackendAddressPoolInner().withName("be-lb2"))) + .withLoadBalancingRules( + Arrays + .asList( + new LoadBalancingRuleInner() + .withName("rulelb") + .withFrontendIpConfiguration( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")) + .withBackendAddressPool(new SubResource()) + .withBackendAddressPools( + Arrays + .asList( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1"), + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2"))) + .withProbe( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb")) + .withProtocol(TransportProtocol.ALL) + .withLoadDistribution(LoadDistribution.DEFAULT) + .withFrontendPort(0) + .withBackendPort(0) + .withIdleTimeoutInMinutes(15) + .withEnableFloatingIp(true))) + .withProbes( + Arrays + .asList( + new ProbeInner() + .withName("probe-lb") + .withProtocol(ProbeProtocol.HTTP) + .withPort(80) + .withIntervalInSeconds(15) + .withNumberOfProbes(2) + .withRequestPath("healthcheck.aspx"))) + .withInboundNatPools(Arrays.asList()) + .withOutboundRules(Arrays.asList()), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateGatewayLoadBalancerProviderWithTwoBackendPool.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateGatewayLoadBalancerProviderWithTwoBackendPool.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateGatewayLoadBalancerProviderWithTwoBackendPool.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateGlobalTier.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateGlobalTier.java new file mode 100644 index 0000000000..1bb1409c1c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateGlobalTier.java @@ -0,0 +1,102 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.BackendAddressPoolInner; +import com.azure.resourcemanager.network.fluent.models.FrontendIpConfigurationInner; +import com.azure.resourcemanager.network.fluent.models.LoadBalancerInner; +import com.azure.resourcemanager.network.fluent.models.LoadBalancingRuleInner; +import com.azure.resourcemanager.network.fluent.models.ProbeInner; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; +import com.azure.resourcemanager.network.models.LoadBalancerBackendAddress; +import com.azure.resourcemanager.network.models.LoadBalancerSku; +import com.azure.resourcemanager.network.models.LoadBalancerSkuName; +import com.azure.resourcemanager.network.models.LoadBalancerSkuTier; +import com.azure.resourcemanager.network.models.LoadDistribution; +import com.azure.resourcemanager.network.models.ProbeProtocol; +import com.azure.resourcemanager.network.models.TransportProtocol; +import java.util.Arrays; + +/** Samples for LoadBalancers CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LoadBalancerCreateGlobalTier.json + */ + /** + * Sample code: Create load balancer with Global Tier and one regional load balancer in its backend pool. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createLoadBalancerWithGlobalTierAndOneRegionalLoadBalancerInItsBackendPool( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getLoadBalancers() + .createOrUpdate( + "rg1", + "lb", + new LoadBalancerInner() + .withLocation("eastus") + .withSku( + new LoadBalancerSku() + .withName(LoadBalancerSkuName.STANDARD) + .withTier(LoadBalancerSkuTier.GLOBAL)) + .withFrontendIpConfigurations( + Arrays + .asList( + new FrontendIpConfigurationInner() + .withName("fe-lb") + .withSubnet( + new SubnetInner() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb")))) + .withBackendAddressPools( + Arrays + .asList( + new BackendAddressPoolInner() + .withName("be-lb") + .withLoadBalancerBackendAddresses( + Arrays + .asList( + new LoadBalancerBackendAddress() + .withName("regional-lb1-address") + .withLoadBalancerFrontendIpConfiguration( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb")))))) + .withLoadBalancingRules( + Arrays + .asList( + new LoadBalancingRuleInner() + .withName("rulelb") + .withFrontendIpConfiguration( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")) + .withBackendAddressPool( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb")) + .withProbe( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb")) + .withProtocol(TransportProtocol.TCP) + .withLoadDistribution(LoadDistribution.DEFAULT) + .withFrontendPort(80) + .withBackendPort(80) + .withIdleTimeoutInMinutes(15) + .withEnableFloatingIp(false))) + .withProbes( + Arrays + .asList( + new ProbeInner() + .withName("probe-lb") + .withProtocol(ProbeProtocol.HTTP) + .withPort(80) + .withIntervalInSeconds(15) + .withNumberOfProbes(2) + .withRequestPath("healthcheck.aspx"))), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateGlobalTier.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateGlobalTier.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateGlobalTier.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateStandardSku.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateStandardSku.java new file mode 100644 index 0000000000..8b889193f9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateStandardSku.java @@ -0,0 +1,100 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.BackendAddressPoolInner; +import com.azure.resourcemanager.network.fluent.models.FrontendIpConfigurationInner; +import com.azure.resourcemanager.network.fluent.models.InboundNatRuleInner; +import com.azure.resourcemanager.network.fluent.models.LoadBalancerInner; +import com.azure.resourcemanager.network.fluent.models.LoadBalancingRuleInner; +import com.azure.resourcemanager.network.fluent.models.ProbeInner; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; +import com.azure.resourcemanager.network.models.LoadBalancerSku; +import com.azure.resourcemanager.network.models.LoadBalancerSkuName; +import com.azure.resourcemanager.network.models.LoadDistribution; +import com.azure.resourcemanager.network.models.ProbeProtocol; +import com.azure.resourcemanager.network.models.TransportProtocol; +import java.util.Arrays; + +/** Samples for LoadBalancers CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LoadBalancerCreateStandardSku.json + */ + /** + * Sample code: Create load balancer with Standard SKU. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createLoadBalancerWithStandardSKU(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getLoadBalancers() + .createOrUpdate( + "rg1", + "lb", + new LoadBalancerInner() + .withLocation("eastus") + .withSku(new LoadBalancerSku().withName(LoadBalancerSkuName.STANDARD)) + .withFrontendIpConfigurations( + Arrays + .asList( + new FrontendIpConfigurationInner() + .withName("fe-lb") + .withSubnet( + new SubnetInner() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb")))) + .withBackendAddressPools(Arrays.asList(new BackendAddressPoolInner().withName("be-lb"))) + .withLoadBalancingRules( + Arrays + .asList( + new LoadBalancingRuleInner() + .withName("rulelb") + .withFrontendIpConfiguration( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")) + .withBackendAddressPool( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb")) + .withProbe( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb")) + .withProtocol(TransportProtocol.TCP) + .withLoadDistribution(LoadDistribution.DEFAULT) + .withFrontendPort(80) + .withBackendPort(80) + .withIdleTimeoutInMinutes(15) + .withEnableFloatingIp(true))) + .withProbes( + Arrays + .asList( + new ProbeInner() + .withName("probe-lb") + .withProtocol(ProbeProtocol.HTTP) + .withPort(80) + .withIntervalInSeconds(15) + .withNumberOfProbes(2) + .withRequestPath("healthcheck.aspx"))) + .withInboundNatRules( + Arrays + .asList( + new InboundNatRuleInner() + .withName("in-nat-rule") + .withFrontendIpConfiguration( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")) + .withProtocol(TransportProtocol.TCP) + .withFrontendPort(3389) + .withBackendPort(3389) + .withIdleTimeoutInMinutes(15) + .withEnableFloatingIp(true))) + .withInboundNatPools(Arrays.asList()) + .withOutboundRules(Arrays.asList()), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateStandardSku.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateStandardSku.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateWithInboundNatPool.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateWithInboundNatPool.java new file mode 100644 index 0000000000..431e606694 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateWithInboundNatPool.java @@ -0,0 +1,73 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.FrontendIpConfigurationInner; +import com.azure.resourcemanager.network.fluent.models.LoadBalancerInner; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; +import com.azure.resourcemanager.network.models.InboundNatPool; +import com.azure.resourcemanager.network.models.IpAllocationMethod; +import com.azure.resourcemanager.network.models.LoadBalancerSku; +import com.azure.resourcemanager.network.models.LoadBalancerSkuName; +import com.azure.resourcemanager.network.models.TransportProtocol; +import java.util.Arrays; + +/** Samples for LoadBalancers CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LoadBalancerCreateWithInboundNatPool.json + */ + /** + * Sample code: Create load balancer with inbound nat pool. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createLoadBalancerWithInboundNatPool(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getLoadBalancers() + .createOrUpdate( + "rg1", + "lb", + new LoadBalancerInner() + .withLocation("eastus") + .withSku(new LoadBalancerSku().withName(LoadBalancerSkuName.STANDARD)) + .withFrontendIpConfigurations( + Arrays + .asList( + new FrontendIpConfigurationInner() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test") + .withName("test") + .withZones(Arrays.asList()) + .withPrivateIpAllocationMethod(IpAllocationMethod.DYNAMIC) + .withSubnet( + new SubnetInner() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet")))) + .withBackendAddressPools(Arrays.asList()) + .withLoadBalancingRules(Arrays.asList()) + .withProbes(Arrays.asList()) + .withInboundNatRules(Arrays.asList()) + .withInboundNatPools( + Arrays + .asList( + new InboundNatPool() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test") + .withName("test") + .withFrontendIpConfiguration( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test")) + .withProtocol(TransportProtocol.TCP) + .withFrontendPortRangeStart(8080) + .withFrontendPortRangeEnd(8085) + .withBackendPort(8888) + .withIdleTimeoutInMinutes(10) + .withEnableFloatingIp(true) + .withEnableTcpReset(true))) + .withOutboundRules(Arrays.asList()), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateWithInboundNatPool.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateWithInboundNatPool.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateWithInboundNatPool.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateWithOutboundRules.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateWithOutboundRules.java new file mode 100644 index 0000000000..a8502e37dc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateWithOutboundRules.java @@ -0,0 +1,118 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.BackendAddressPoolInner; +import com.azure.resourcemanager.network.fluent.models.FrontendIpConfigurationInner; +import com.azure.resourcemanager.network.fluent.models.InboundNatRuleInner; +import com.azure.resourcemanager.network.fluent.models.LoadBalancerInner; +import com.azure.resourcemanager.network.fluent.models.LoadBalancingRuleInner; +import com.azure.resourcemanager.network.fluent.models.OutboundRuleInner; +import com.azure.resourcemanager.network.fluent.models.ProbeInner; +import com.azure.resourcemanager.network.fluent.models.PublicIpAddressInner; +import com.azure.resourcemanager.network.models.LoadBalancerOutboundRuleProtocol; +import com.azure.resourcemanager.network.models.LoadBalancerSku; +import com.azure.resourcemanager.network.models.LoadBalancerSkuName; +import com.azure.resourcemanager.network.models.LoadDistribution; +import com.azure.resourcemanager.network.models.ProbeProtocol; +import com.azure.resourcemanager.network.models.TransportProtocol; +import java.util.Arrays; + +/** Samples for LoadBalancers CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LoadBalancerCreateWithOutboundRules.json + */ + /** + * Sample code: Create load balancer with outbound rules. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createLoadBalancerWithOutboundRules(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getLoadBalancers() + .createOrUpdate( + "rg1", + "lb", + new LoadBalancerInner() + .withLocation("eastus") + .withSku(new LoadBalancerSku().withName(LoadBalancerSkuName.STANDARD)) + .withFrontendIpConfigurations( + Arrays + .asList( + new FrontendIpConfigurationInner() + .withName("fe-lb") + .withPublicIpAddress( + new PublicIpAddressInner() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip")))) + .withBackendAddressPools(Arrays.asList(new BackendAddressPoolInner().withName("be-lb"))) + .withLoadBalancingRules( + Arrays + .asList( + new LoadBalancingRuleInner() + .withName("rulelb") + .withFrontendIpConfiguration( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")) + .withBackendAddressPool( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb")) + .withProbe( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb")) + .withProtocol(TransportProtocol.TCP) + .withLoadDistribution(LoadDistribution.DEFAULT) + .withFrontendPort(80) + .withBackendPort(80) + .withIdleTimeoutInMinutes(15) + .withEnableFloatingIp(true) + .withDisableOutboundSnat(true))) + .withProbes( + Arrays + .asList( + new ProbeInner() + .withName("probe-lb") + .withProtocol(ProbeProtocol.HTTP) + .withPort(80) + .withIntervalInSeconds(15) + .withNumberOfProbes(2) + .withRequestPath("healthcheck.aspx"))) + .withInboundNatRules( + Arrays + .asList( + new InboundNatRuleInner() + .withName("in-nat-rule") + .withFrontendIpConfiguration( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")) + .withProtocol(TransportProtocol.TCP) + .withFrontendPort(3389) + .withBackendPort(3389) + .withIdleTimeoutInMinutes(15) + .withEnableFloatingIp(true))) + .withInboundNatPools(Arrays.asList()) + .withOutboundRules( + Arrays + .asList( + new OutboundRuleInner() + .withName("rule1") + .withFrontendIpConfigurations( + Arrays + .asList( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"))) + .withBackendAddressPool( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb")) + .withProtocol(LoadBalancerOutboundRuleProtocol.ALL))), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateWithOutboundRules.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateWithOutboundRules.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateWithOutboundRules.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateWithZones.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateWithZones.java new file mode 100644 index 0000000000..b604aa88f5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateWithZones.java @@ -0,0 +1,101 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.BackendAddressPoolInner; +import com.azure.resourcemanager.network.fluent.models.FrontendIpConfigurationInner; +import com.azure.resourcemanager.network.fluent.models.InboundNatRuleInner; +import com.azure.resourcemanager.network.fluent.models.LoadBalancerInner; +import com.azure.resourcemanager.network.fluent.models.LoadBalancingRuleInner; +import com.azure.resourcemanager.network.fluent.models.ProbeInner; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; +import com.azure.resourcemanager.network.models.LoadBalancerSku; +import com.azure.resourcemanager.network.models.LoadBalancerSkuName; +import com.azure.resourcemanager.network.models.LoadDistribution; +import com.azure.resourcemanager.network.models.ProbeProtocol; +import com.azure.resourcemanager.network.models.TransportProtocol; +import java.util.Arrays; + +/** Samples for LoadBalancers CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LoadBalancerCreateWithZones.json + */ + /** + * Sample code: Create load balancer with Frontend IP in Zone 1. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createLoadBalancerWithFrontendIPInZone1(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getLoadBalancers() + .createOrUpdate( + "rg1", + "lb", + new LoadBalancerInner() + .withLocation("eastus") + .withSku(new LoadBalancerSku().withName(LoadBalancerSkuName.STANDARD)) + .withFrontendIpConfigurations( + Arrays + .asList( + new FrontendIpConfigurationInner() + .withName("fe-lb") + .withZones(Arrays.asList("1")) + .withSubnet( + new SubnetInner() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb")))) + .withBackendAddressPools(Arrays.asList(new BackendAddressPoolInner().withName("be-lb"))) + .withLoadBalancingRules( + Arrays + .asList( + new LoadBalancingRuleInner() + .withName("rulelb") + .withFrontendIpConfiguration( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")) + .withBackendAddressPool( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb")) + .withProbe( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb")) + .withProtocol(TransportProtocol.TCP) + .withLoadDistribution(LoadDistribution.DEFAULT) + .withFrontendPort(80) + .withBackendPort(80) + .withIdleTimeoutInMinutes(15) + .withEnableFloatingIp(true))) + .withProbes( + Arrays + .asList( + new ProbeInner() + .withName("probe-lb") + .withProtocol(ProbeProtocol.HTTP) + .withPort(80) + .withIntervalInSeconds(15) + .withNumberOfProbes(2) + .withRequestPath("healthcheck.aspx"))) + .withInboundNatRules( + Arrays + .asList( + new InboundNatRuleInner() + .withName("in-nat-rule") + .withFrontendIpConfiguration( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")) + .withProtocol(TransportProtocol.TCP) + .withFrontendPort(3389) + .withBackendPort(3389) + .withIdleTimeoutInMinutes(15) + .withEnableFloatingIp(true))) + .withInboundNatPools(Arrays.asList()) + .withOutboundRules(Arrays.asList()), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateWithZones.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerCreateWithZones.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerDelete.java new file mode 100644 index 0000000000..3e1111e2c8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for LoadBalancers Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LoadBalancerDelete.json + */ + /** + * Sample code: Delete load balancer. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteLoadBalancer(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getLoadBalancers().delete("rg1", "lb", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerFrontendIPConfigurationGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerFrontendIPConfigurationGet.java new file mode 100644 index 0000000000..f64aecbef1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerFrontendIPConfigurationGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for LoadBalancerFrontendIpConfigurations Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LoadBalancerFrontendIPConfigurationGet.json + */ + /** + * Sample code: LoadBalancerFrontendIPConfigurationGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void loadBalancerFrontendIPConfigurationGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getLoadBalancerFrontendIpConfigurations() + .getWithResponse("testrg", "lb", "frontend", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerFrontendIPConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerFrontendIPConfigurationGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerFrontendIPConfigurationGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerFrontendIPConfigurationList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerFrontendIPConfigurationList.java new file mode 100644 index 0000000000..7d33838b4d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerFrontendIPConfigurationList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for LoadBalancerFrontendIpConfigurations List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LoadBalancerFrontendIPConfigurationList.json + */ + /** + * Sample code: LoadBalancerFrontendIPConfigurationList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void loadBalancerFrontendIPConfigurationList(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getLoadBalancerFrontendIpConfigurations() + .list("testrg", "lb", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerFrontendIPConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerFrontendIPConfigurationList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerFrontendIPConfigurationList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerGet.java new file mode 100644 index 0000000000..79ab00d149 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for LoadBalancers GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LoadBalancerGet.json + */ + /** + * Sample code: Get load balancer. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getLoadBalancer(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getLoadBalancers() + .getByResourceGroupWithResponse("rg1", "lb", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerGetInboundNatRulePortMapping.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerGetInboundNatRulePortMapping.java new file mode 100644 index 0000000000..d05ae2869f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerGetInboundNatRulePortMapping.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for LoadBalancers GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LoadBalancerGetInboundNatRulePortMapping.json + */ + /** + * Sample code: Get load balancer with inbound NAT rule port mapping. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getLoadBalancerWithInboundNATRulePortMapping( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getLoadBalancers() + .getByResourceGroupWithResponse("rg1", "lb", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerGetInboundNatRulePortMapping.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerGetInboundNatRulePortMapping.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerGetInboundNatRulePortMapping.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerList.java new file mode 100644 index 0000000000..faee367e56 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for LoadBalancers ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LoadBalancerList.json + */ + /** + * Sample code: List load balancers in resource group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listLoadBalancersInResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getLoadBalancers().listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerListAll.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerListAll.java new file mode 100644 index 0000000000..fda6fe49bc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerListAll.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for LoadBalancers List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LoadBalancerListAll.json + */ + /** + * Sample code: List all load balancers. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllLoadBalancers(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getLoadBalancers().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerListAll.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerListAll.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerLoadBalancingRuleGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerLoadBalancingRuleGet.java new file mode 100644 index 0000000000..9764ce29c4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerLoadBalancingRuleGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for LoadBalancerLoadBalancingRules Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LoadBalancerLoadBalancingRuleGet.json + */ + /** + * Sample code: LoadBalancerLoadBalancingRuleGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void loadBalancerLoadBalancingRuleGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getLoadBalancerLoadBalancingRules() + .getWithResponse("testrg", "lb1", "rule1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerLoadBalancingRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerLoadBalancingRuleGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerLoadBalancingRuleGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerLoadBalancingRuleList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerLoadBalancingRuleList.java new file mode 100644 index 0000000000..92becb55a8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerLoadBalancingRuleList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for LoadBalancerLoadBalancingRules List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LoadBalancerLoadBalancingRuleList.json + */ + /** + * Sample code: LoadBalancerLoadBalancingRuleList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void loadBalancerLoadBalancingRuleList(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getLoadBalancerLoadBalancingRules() + .list("testrg", "lb1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerLoadBalancingRuleList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerLoadBalancingRuleList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerLoadBalancingRuleList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerNetworkInterfaceListSimple.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerNetworkInterfaceListSimple.java new file mode 100644 index 0000000000..a1eed2a21e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerNetworkInterfaceListSimple.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for LoadBalancerNetworkInterfaces List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LoadBalancerNetworkInterfaceListSimple.json + */ + /** + * Sample code: LoadBalancerNetworkInterfaceListSimple. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void loadBalancerNetworkInterfaceListSimple(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getLoadBalancerNetworkInterfaces() + .list("testrg", "lb", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerNetworkInterfaceListSimple.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerNetworkInterfaceListSimple.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerNetworkInterfaceListSimple.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerNetworkInterfaceListVmss.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerNetworkInterfaceListVmss.java new file mode 100644 index 0000000000..8d2f5594a5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerNetworkInterfaceListVmss.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for LoadBalancerNetworkInterfaces List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LoadBalancerNetworkInterfaceListVmss.json + */ + /** + * Sample code: LoadBalancerNetworkInterfaceListVmss. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void loadBalancerNetworkInterfaceListVmss(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getLoadBalancerNetworkInterfaces() + .list("testrg", "lb", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerNetworkInterfaceListVmss.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerNetworkInterfaceListVmss.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerNetworkInterfaceListVmss.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerOutboundRuleGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerOutboundRuleGet.java new file mode 100644 index 0000000000..56a8bd2ef7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerOutboundRuleGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for LoadBalancerOutboundRules Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LoadBalancerOutboundRuleGet.json + */ + /** + * Sample code: LoadBalancerOutboundRuleGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void loadBalancerOutboundRuleGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getLoadBalancerOutboundRules() + .getWithResponse("testrg", "lb1", "rule1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerOutboundRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerOutboundRuleGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerOutboundRuleGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerOutboundRuleList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerOutboundRuleList.java new file mode 100644 index 0000000000..f0976e4265 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerOutboundRuleList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for LoadBalancerOutboundRules List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LoadBalancerOutboundRuleList.json + */ + /** + * Sample code: LoadBalancerOutboundRuleList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void loadBalancerOutboundRuleList(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getLoadBalancerOutboundRules().list("testrg", "lb1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerOutboundRuleList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerOutboundRuleList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerOutboundRuleList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerProbeGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerProbeGet.java new file mode 100644 index 0000000000..8740939ec9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerProbeGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for LoadBalancerProbes Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LoadBalancerProbeGet.json + */ + /** + * Sample code: LoadBalancerProbeGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void loadBalancerProbeGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getLoadBalancerProbes() + .getWithResponse("testrg", "lb", "probe1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerProbeGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerProbeGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerProbeGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerProbeList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerProbeList.java new file mode 100644 index 0000000000..d8cd62fb8d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerProbeList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for LoadBalancerProbes List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LoadBalancerProbeList.json + */ + /** + * Sample code: LoadBalancerProbeList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void loadBalancerProbeList(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getLoadBalancerProbes().list("testrg", "lb", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerProbeList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerProbeList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerProbeList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerUpdateTags.java new file mode 100644 index 0000000000..5c995275a0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerUpdateTags.java @@ -0,0 +1,36 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for LoadBalancers UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LoadBalancerUpdateTags.json + */ + /** + * Sample code: Update load balancer tags. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateLoadBalancerTags(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getLoadBalancers() + .updateTagsWithResponse( + "rg1", "lb", new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancerUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancersSwapPublicIpAddresses.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancersSwapPublicIpAddresses.java new file mode 100644 index 0000000000..b08753fd90 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancersSwapPublicIpAddresses.java @@ -0,0 +1,45 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.LoadBalancerVipSwapRequest; +import com.azure.resourcemanager.network.models.LoadBalancerVipSwapRequestFrontendIpConfiguration; +import java.util.Arrays; + +/** Samples for LoadBalancers SwapPublicIpAddresses. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LoadBalancersSwapPublicIpAddresses.json + */ + /** + * Sample code: Swap VIPs between two load balancers. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void swapVIPsBetweenTwoLoadBalancers(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getLoadBalancers() + .swapPublicIpAddresses( + "westus", + new LoadBalancerVipSwapRequest() + .withFrontendIpConfigurations( + Arrays + .asList( + new LoadBalancerVipSwapRequestFrontendIpConfiguration() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfe1") + .withPublicIpAddress( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/pip2")), + new LoadBalancerVipSwapRequestFrontendIpConfiguration() + .withId( + "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb2/frontendIPConfigurations/lbfe2") + .withPublicIpAddress( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip1")))), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancersSwapPublicIpAddresses.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancersSwapPublicIpAddresses.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LoadBalancersSwapPublicIpAddresses.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LocalNetworkGatewayCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LocalNetworkGatewayCreate.java new file mode 100644 index 0000000000..9627935d8e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LocalNetworkGatewayCreate.java @@ -0,0 +1,32 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.LocalNetworkGatewayInner; +import com.azure.resourcemanager.network.models.AddressSpace; +import java.util.Arrays; + +/** Samples for LocalNetworkGateways CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LocalNetworkGatewayCreate.json + */ + /** + * Sample code: CreateLocalNetworkGateway. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createLocalNetworkGateway(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getLocalNetworkGateways() + .createOrUpdate( + "rg1", + "localgw", + new LocalNetworkGatewayInner() + .withLocation("Central US") + .withLocalNetworkAddressSpace(new AddressSpace().withAddressPrefixes(Arrays.asList("10.1.0.0/16"))) + .withGatewayIpAddress("11.12.13.14") + .withFqdn("site1.contoso.com"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LocalNetworkGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LocalNetworkGatewayCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LocalNetworkGatewayCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LocalNetworkGatewayDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LocalNetworkGatewayDelete.java new file mode 100644 index 0000000000..331931c93d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LocalNetworkGatewayDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for LocalNetworkGateways Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LocalNetworkGatewayDelete.json + */ + /** + * Sample code: DeleteLocalNetworkGateway. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteLocalNetworkGateway(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getLocalNetworkGateways().delete("rg1", "localgw", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LocalNetworkGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LocalNetworkGatewayDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LocalNetworkGatewayDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LocalNetworkGatewayGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LocalNetworkGatewayGet.java new file mode 100644 index 0000000000..9dd44982e2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LocalNetworkGatewayGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for LocalNetworkGateways GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LocalNetworkGatewayGet.json + */ + /** + * Sample code: GetLocalNetworkGateway. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getLocalNetworkGateway(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getLocalNetworkGateways() + .getByResourceGroupWithResponse("rg1", "localgw", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LocalNetworkGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LocalNetworkGatewayGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LocalNetworkGatewayGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LocalNetworkGatewayList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LocalNetworkGatewayList.java new file mode 100644 index 0000000000..e3919996fa --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LocalNetworkGatewayList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for LocalNetworkGateways ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LocalNetworkGatewayList.json + */ + /** + * Sample code: ListLocalNetworkGateways. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listLocalNetworkGateways(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getLocalNetworkGateways().listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LocalNetworkGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LocalNetworkGatewayList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LocalNetworkGatewayList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LocalNetworkGatewayUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LocalNetworkGatewayUpdateTags.java new file mode 100644 index 0000000000..4717a82767 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LocalNetworkGatewayUpdateTags.java @@ -0,0 +1,36 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for LocalNetworkGateways UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/LocalNetworkGatewayUpdateTags.json + */ + /** + * Sample code: UpdateLocalNetworkGatewayTags. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateLocalNetworkGatewayTags(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getLocalNetworkGateways() + .updateTagsWithResponse( + "rg1", "lgw", new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LocalNetworkGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LocalNetworkGatewayUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/LocalNetworkGatewayUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayCreateOrUpdate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayCreateOrUpdate.java new file mode 100644 index 0000000000..9a46eef836 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayCreateOrUpdate.java @@ -0,0 +1,44 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.NatGatewayInner; +import com.azure.resourcemanager.network.models.NatGatewaySku; +import com.azure.resourcemanager.network.models.NatGatewaySkuName; +import java.util.Arrays; + +/** Samples for NatGateways CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NatGatewayCreateOrUpdate.json + */ + /** + * Sample code: Create nat gateway. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createNatGateway(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNatGateways() + .createOrUpdate( + "rg1", + "test-natgateway", + new NatGatewayInner() + .withLocation("westus") + .withSku(new NatGatewaySku().withName(NatGatewaySkuName.STANDARD)) + .withPublicIpAddresses( + Arrays + .asList( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1"))) + .withPublicIpPrefixes( + Arrays + .asList( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1"))), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayCreateOrUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayCreateOrUpdate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayCreateOrUpdate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayDelete.java new file mode 100644 index 0000000000..1240bd0ca0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for NatGateways Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NatGatewayDelete.json + */ + /** + * Sample code: Delete nat gateway. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteNatGateway(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getNatGateways().delete("rg1", "test-natGateway", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayGet.java new file mode 100644 index 0000000000..50e816a055 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for NatGateways GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NatGatewayGet.json + */ + /** + * Sample code: Get nat gateway. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getNatGateway(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNatGateways() + .getByResourceGroupWithResponse("rg1", "test-natGateway", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayList.java new file mode 100644 index 0000000000..995adbfd26 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for NatGateways ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NatGatewayList.json + */ + /** + * Sample code: List nat gateways in resource group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listNatGatewaysInResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getNatGateways().listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayListAll.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayListAll.java new file mode 100644 index 0000000000..0f92a3596a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayListAll.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for NatGateways List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NatGatewayListAll.json + */ + /** + * Sample code: List all nat gateways. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllNatGateways(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getNatGateways().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayListAll.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayListAll.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayUpdateTags.java new file mode 100644 index 0000000000..3271639ee5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayUpdateTags.java @@ -0,0 +1,39 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for NatGateways UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NatGatewayUpdateTags.json + */ + /** + * Sample code: Update nat gateway tags. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateNatGatewayTags(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNatGateways() + .updateTagsWithResponse( + "rg1", + "test-natGateway", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatGatewayUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatRuleDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatRuleDelete.java new file mode 100644 index 0000000000..7cff5a4287 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatRuleDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for NatRules Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NatRuleDelete.json + */ + /** + * Sample code: NatRuleDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void natRuleDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getNatRules().delete("rg1", "gateway1", "natRule1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatRuleDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatRuleDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatRuleGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatRuleGet.java new file mode 100644 index 0000000000..66ebfdb7e2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatRuleGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for NatRules Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NatRuleGet.json + */ + /** + * Sample code: NatRuleGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void natRuleGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNatRules() + .getWithResponse("rg1", "gateway1", "natRule1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatRuleGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatRuleGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatRuleList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatRuleList.java new file mode 100644 index 0000000000..0f3f3c5329 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatRuleList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for NatRules ListByVpnGateway. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NatRuleList.json + */ + /** + * Sample code: NatRuleList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void natRuleList(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getNatRules().listByVpnGateway("rg1", "gateway1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatRuleList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatRuleList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatRuleList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatRulePut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatRulePut.java new file mode 100644 index 0000000000..08b17bf56e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatRulePut.java @@ -0,0 +1,37 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.VpnGatewayNatRuleInner; +import com.azure.resourcemanager.network.models.VpnNatRuleMapping; +import com.azure.resourcemanager.network.models.VpnNatRuleMode; +import com.azure.resourcemanager.network.models.VpnNatRuleType; +import java.util.Arrays; + +/** Samples for NatRules CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NatRulePut.json + */ + /** + * Sample code: NatRulePut. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void natRulePut(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNatRules() + .createOrUpdate( + "rg1", + "gateway1", + "natRule1", + new VpnGatewayNatRuleInner() + .withTypePropertiesType(VpnNatRuleType.STATIC) + .withMode(VpnNatRuleMode.EGRESS_SNAT) + .withInternalMappings(Arrays.asList(new VpnNatRuleMapping().withAddressSpace("10.4.0.0/24"))) + .withExternalMappings(Arrays.asList(new VpnNatRuleMapping().withAddressSpace("192.168.21.0/24"))) + .withIpConfigurationId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/cloudnet1-VNG/ipConfigurations/default"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatRulePut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatRulePut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NatRulePut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceCreate.java new file mode 100644 index 0000000000..9d00df406b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceCreate.java @@ -0,0 +1,45 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.NetworkInterfaceInner; +import com.azure.resourcemanager.network.fluent.models.NetworkInterfaceIpConfigurationInner; +import com.azure.resourcemanager.network.fluent.models.PublicIpAddressInner; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; +import java.util.Arrays; + +/** Samples for NetworkInterfaces CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkInterfaceCreate.json + */ + /** + * Sample code: Create network interface. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createNetworkInterface(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkInterfaces() + .createOrUpdate( + "rg1", + "test-nic", + new NetworkInterfaceInner() + .withLocation("eastus") + .withIpConfigurations( + Arrays + .asList( + new NetworkInterfaceIpConfigurationInner() + .withName("ipconfig1") + .withSubnet( + new SubnetInner() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default")) + .withPublicIpAddress( + new PublicIpAddressInner() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip")))) + .withEnableAcceleratedNetworking(true), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceCreateGatewayLoadBalancerConsumer.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceCreateGatewayLoadBalancerConsumer.java new file mode 100644 index 0000000000..3600d85e4f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceCreateGatewayLoadBalancerConsumer.java @@ -0,0 +1,51 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.NetworkInterfaceInner; +import com.azure.resourcemanager.network.fluent.models.NetworkInterfaceIpConfigurationInner; +import com.azure.resourcemanager.network.fluent.models.PublicIpAddressInner; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; +import java.util.Arrays; + +/** Samples for NetworkInterfaces CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkInterfaceCreateGatewayLoadBalancerConsumer.json + */ + /** + * Sample code: Create network interface with Gateway Load Balancer Consumer configured. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createNetworkInterfaceWithGatewayLoadBalancerConsumerConfigured( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkInterfaces() + .createOrUpdate( + "rg1", + "test-nic", + new NetworkInterfaceInner() + .withLocation("eastus") + .withIpConfigurations( + Arrays + .asList( + new NetworkInterfaceIpConfigurationInner() + .withName("ipconfig1") + .withGatewayLoadBalancer( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider")) + .withSubnet( + new SubnetInner() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default")) + .withPublicIpAddress( + new PublicIpAddressInner() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip")))) + .withEnableAcceleratedNetworking(true), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceCreateGatewayLoadBalancerConsumer.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceCreateGatewayLoadBalancerConsumer.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceCreateGatewayLoadBalancerConsumer.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceDelete.java new file mode 100644 index 0000000000..d279927cbe --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkInterfaces Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkInterfaceDelete.json + */ + /** + * Sample code: Delete network interface. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteNetworkInterface(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getNetworkInterfaces().delete("rg1", "test-nic", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceEffectiveNSGList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceEffectiveNSGList.java new file mode 100644 index 0000000000..665057bc0c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceEffectiveNSGList.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkInterfaces ListEffectiveNetworkSecurityGroups. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkInterfaceEffectiveNSGList.json + */ + /** + * Sample code: List network interface effective network security groups. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listNetworkInterfaceEffectiveNetworkSecurityGroups( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkInterfaces() + .listEffectiveNetworkSecurityGroups("rg1", "nic1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceEffectiveNSGList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceEffectiveNSGList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceEffectiveNSGList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceEffectiveRouteTableList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceEffectiveRouteTableList.java new file mode 100644 index 0000000000..4e8d7c2065 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceEffectiveRouteTableList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkInterfaces GetEffectiveRouteTable. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkInterfaceEffectiveRouteTableList.json + */ + /** + * Sample code: Show network interface effective route tables. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void showNetworkInterfaceEffectiveRouteTables(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkInterfaces() + .getEffectiveRouteTable("rg1", "nic1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceEffectiveRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceEffectiveRouteTableList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceEffectiveRouteTableList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceGet.java new file mode 100644 index 0000000000..c4e3305f3b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkInterfaces GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkInterfaceGet.json + */ + /** + * Sample code: Get network interface. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getNetworkInterface(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkInterfaces() + .getByResourceGroupWithResponse("rg1", "test-nic", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceIPConfigurationGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceIPConfigurationGet.java new file mode 100644 index 0000000000..742c018dd2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceIPConfigurationGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkInterfaceIpConfigurations Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkInterfaceIPConfigurationGet.json + */ + /** + * Sample code: NetworkInterfaceIPConfigurationGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void networkInterfaceIPConfigurationGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkInterfaceIpConfigurations() + .getWithResponse("testrg", "mynic", "ipconfig1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceIPConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceIPConfigurationGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceIPConfigurationGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceIPConfigurationList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceIPConfigurationList.java new file mode 100644 index 0000000000..57e2cd33a7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceIPConfigurationList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkInterfaceIpConfigurations List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkInterfaceIPConfigurationList.json + */ + /** + * Sample code: NetworkInterfaceIPConfigurationList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void networkInterfaceIPConfigurationList(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkInterfaceIpConfigurations() + .list("testrg", "nic1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceIPConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceIPConfigurationList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceIPConfigurationList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceList.java new file mode 100644 index 0000000000..d2b53d21e0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkInterfaces ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkInterfaceList.json + */ + /** + * Sample code: List network interfaces in resource group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listNetworkInterfacesInResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getNetworkInterfaces().listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceListAll.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceListAll.java new file mode 100644 index 0000000000..e994fa18f4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceListAll.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkInterfaces List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkInterfaceListAll.json + */ + /** + * Sample code: List all network interfaces. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllNetworkInterfaces(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getNetworkInterfaces().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceListAll.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceListAll.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceLoadBalancerList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceLoadBalancerList.java new file mode 100644 index 0000000000..9a218999a3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceLoadBalancerList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkInterfaceLoadBalancers List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkInterfaceLoadBalancerList.json + */ + /** + * Sample code: NetworkInterfaceLoadBalancerList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void networkInterfaceLoadBalancerList(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkInterfaceLoadBalancers() + .list("testrg", "nic1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceLoadBalancerList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceLoadBalancerList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceLoadBalancerList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceTapConfigurationCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceTapConfigurationCreate.java new file mode 100644 index 0000000000..8a23bfd6e2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceTapConfigurationCreate.java @@ -0,0 +1,32 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.NetworkInterfaceTapConfigurationInner; +import com.azure.resourcemanager.network.fluent.models.VirtualNetworkTapInner; + +/** Samples for NetworkInterfaceTapConfigurations CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkInterfaceTapConfigurationCreate.json + */ + /** + * Sample code: Create Network Interface Tap Configurations. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createNetworkInterfaceTapConfigurations(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkInterfaceTapConfigurations() + .createOrUpdate( + "testrg", + "mynic", + "tapconfiguration1", + new NetworkInterfaceTapConfigurationInner() + .withVirtualNetworkTap( + new VirtualNetworkTapInner() + .withId( + "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap")), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceTapConfigurationCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceTapConfigurationCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceTapConfigurationCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceTapConfigurationDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceTapConfigurationDelete.java new file mode 100644 index 0000000000..ef6e9b7411 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceTapConfigurationDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkInterfaceTapConfigurations Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkInterfaceTapConfigurationDelete.json + */ + /** + * Sample code: Delete tap configuration. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteTapConfiguration(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkInterfaceTapConfigurations() + .delete("rg1", "test-networkinterface", "test-tapconfiguration", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceTapConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceTapConfigurationDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceTapConfigurationDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceTapConfigurationGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceTapConfigurationGet.java new file mode 100644 index 0000000000..db6a0fc121 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceTapConfigurationGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkInterfaceTapConfigurations Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkInterfaceTapConfigurationGet.json + */ + /** + * Sample code: Get Network Interface Tap Configurations. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getNetworkInterfaceTapConfigurations(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkInterfaceTapConfigurations() + .getWithResponse("testrg", "mynic", "tapconfiguration1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceTapConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceTapConfigurationGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceTapConfigurationGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceTapConfigurationList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceTapConfigurationList.java new file mode 100644 index 0000000000..a0873a5430 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceTapConfigurationList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkInterfaceTapConfigurations List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkInterfaceTapConfigurationList.json + */ + /** + * Sample code: List virtual network tap configurations. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listVirtualNetworkTapConfigurations(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkInterfaceTapConfigurations() + .list("rg1", "mynic", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceTapConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceTapConfigurationList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceTapConfigurationList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceUpdateTags.java new file mode 100644 index 0000000000..96742850bb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceUpdateTags.java @@ -0,0 +1,36 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for NetworkInterfaces UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkInterfaceUpdateTags.json + */ + /** + * Sample code: Update network interface tags. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateNetworkInterfaceTags(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkInterfaces() + .updateTagsWithResponse( + "rg1", "test-nic", new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkInterfaceUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleCollectionDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleCollectionDelete.java new file mode 100644 index 0000000000..22b9170e22 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleCollectionDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for AdminRuleCollections Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerAdminRuleCollectionDelete.json + */ + /** + * Sample code: Deletes an admin rule collection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deletesAnAdminRuleCollection(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getAdminRuleCollections() + .delete("rg1", "testNetworkManager", "myTestSecurityConfig", "testRuleCollection", false, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleCollectionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleCollectionDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleCollectionDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleCollectionGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleCollectionGet.java new file mode 100644 index 0000000000..387348349a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleCollectionGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for AdminRuleCollections Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerAdminRuleCollectionGet.json + */ + /** + * Sample code: Gets security admin rule collection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getsSecurityAdminRuleCollection(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getAdminRuleCollections() + .getWithResponse("rg1", "testNetworkManager", "myTestSecurityConfig", "testRuleCollection", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleCollectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleCollectionGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleCollectionGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleCollectionList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleCollectionList.java new file mode 100644 index 0000000000..d0accf6179 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleCollectionList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for AdminRuleCollections List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerAdminRuleCollectionList.json + */ + /** + * Sample code: List security admin rule collections. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listSecurityAdminRuleCollections(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getAdminRuleCollections() + .list("rg1", "testNetworkManager", "myTestSecurityConfig", null, null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleCollectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleCollectionList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleCollectionList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleCollectionPut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleCollectionPut.java new file mode 100644 index 0000000000..93e14c767c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleCollectionPut.java @@ -0,0 +1,37 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.AdminRuleCollectionInner; +import com.azure.resourcemanager.network.models.NetworkManagerSecurityGroupItem; +import java.util.Arrays; + +/** Samples for AdminRuleCollections CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerAdminRuleCollectionPut.json + */ + /** + * Sample code: Create or Update an admin rule collection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createOrUpdateAnAdminRuleCollection(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getAdminRuleCollections() + .createOrUpdateWithResponse( + "rg1", + "testNetworkManager", + "myTestSecurityConfig", + "testRuleCollection", + new AdminRuleCollectionInner() + .withDescription("A sample policy") + .withAppliesToGroups( + Arrays + .asList( + new NetworkManagerSecurityGroupItem() + .withNetworkGroupId( + "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup"))), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleCollectionPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleCollectionPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleCollectionPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleDelete.java new file mode 100644 index 0000000000..3315b214b8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleDelete.java @@ -0,0 +1,28 @@ +import com.azure.core.util.Context; + +/** Samples for AdminRules Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerAdminRuleDelete.json + */ + /** + * Sample code: Deletes an admin rule. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deletesAnAdminRule(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getAdminRules() + .delete( + "rg1", + "testNetworkManager", + "myTestSecurityConfig", + "testRuleCollection", + "SampleAdminRule", + false, + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleGet.java new file mode 100644 index 0000000000..292199ac79 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleGet.java @@ -0,0 +1,27 @@ +import com.azure.core.util.Context; + +/** Samples for AdminRules Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerAdminRuleGet.json + */ + /** + * Sample code: Gets security admin rule. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getsSecurityAdminRule(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getAdminRules() + .getWithResponse( + "rg1", + "testNetworkManager", + "myTestSecurityConfig", + "testRuleCollection", + "SampleAdminRule", + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleList.java new file mode 100644 index 0000000000..9a63fad304 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for AdminRules List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerAdminRuleList.json + */ + /** + * Sample code: List security admin rules. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listSecurityAdminRules(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getAdminRules() + .list("rg1", "testNetworkManager", "myTestSecurityConfig", "testRuleCollection", null, null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRuleList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRulePut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRulePut.java new file mode 100644 index 0000000000..f33e8b1ba8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRulePut.java @@ -0,0 +1,54 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.AddressPrefixItem; +import com.azure.resourcemanager.network.models.AddressPrefixType; +import com.azure.resourcemanager.network.models.AdminRule; +import com.azure.resourcemanager.network.models.SecurityConfigurationRuleAccess; +import com.azure.resourcemanager.network.models.SecurityConfigurationRuleDirection; +import com.azure.resourcemanager.network.models.SecurityConfigurationRuleProtocol; +import java.util.Arrays; + +/** Samples for AdminRules CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerAdminRulePut.json + */ + /** + * Sample code: Create an admin rule. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createAnAdminRule(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getAdminRules() + .createOrUpdateWithResponse( + "rg1", + "testNetworkManager", + "myTestSecurityConfig", + "testRuleCollection", + "SampleAdminRule", + new AdminRule() + .withDescription("This is Sample Admin Rule") + .withProtocol(SecurityConfigurationRuleProtocol.TCP) + .withSources( + Arrays + .asList( + new AddressPrefixItem() + .withAddressPrefix("Internet") + .withAddressPrefixType(AddressPrefixType.SERVICE_TAG))) + .withDestinations( + Arrays + .asList( + new AddressPrefixItem() + .withAddressPrefix("*") + .withAddressPrefixType(AddressPrefixType.IPPREFIX))) + .withSourcePortRanges(Arrays.asList("0-65535")) + .withDestinationPortRanges(Arrays.asList("22")) + .withAccess(SecurityConfigurationRuleAccess.DENY) + .withPriority(1) + .withDirection(SecurityConfigurationRuleDirection.INBOUND), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRulePut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRulePut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerAdminRulePut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerCommitPost.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerCommitPost.java new file mode 100644 index 0000000000..836844b8a3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerCommitPost.java @@ -0,0 +1,34 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.NetworkManagerCommitInner; +import com.azure.resourcemanager.network.models.ConfigurationType; +import java.util.Arrays; + +/** Samples for NetworkManagerCommits Post. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerCommitPost.json + */ + /** + * Sample code: NetworkManageCommitPost. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void networkManageCommitPost(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkManagerCommits() + .post( + "resoureGroupSample", + "testNetworkManager", + new NetworkManagerCommitInner() + .withTargetLocations(Arrays.asList("useast")) + .withConfigurationIds( + Arrays + .asList( + "/subscriptions/subscriptionC/resourceGroups/resoureGroupSample/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/SampleSecurityAdminConfig")) + .withCommitType(ConfigurationType.SECURITY_ADMIN), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerCommitPost.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerCommitPost.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerCommitPost.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionManagementGroupDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionManagementGroupDelete.java new file mode 100644 index 0000000000..4c493cc423 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionManagementGroupDelete.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for ManagementGroupNetworkManagerConnections Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerConnectionManagementGroupDelete.json + */ + /** + * Sample code: Delete Management Group Network Manager Connection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteManagementGroupNetworkManagerConnection( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getManagementGroupNetworkManagerConnections() + .deleteWithResponse("managementGroupA", "TestNMConnection", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionManagementGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionManagementGroupDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionManagementGroupDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionManagementGroupGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionManagementGroupGet.java new file mode 100644 index 0000000000..b3d8c0b12c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionManagementGroupGet.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for ManagementGroupNetworkManagerConnections Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerConnectionManagementGroupGet.json + */ + /** + * Sample code: Get Management Group Network Manager Connection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getManagementGroupNetworkManagerConnection( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getManagementGroupNetworkManagerConnections() + .getWithResponse("managementGroupA", "TestNMConnection", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionManagementGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionManagementGroupGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionManagementGroupGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionManagementGroupList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionManagementGroupList.java new file mode 100644 index 0000000000..e38ef4fcb3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionManagementGroupList.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for ManagementGroupNetworkManagerConnections List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerConnectionManagementGroupList.json + */ + /** + * Sample code: List Management Group Network Manager Connection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listManagementGroupNetworkManagerConnection( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getManagementGroupNetworkManagerConnections() + .list("managementGroupA", null, null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionManagementGroupList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionManagementGroupList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionManagementGroupList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionManagementGroupPut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionManagementGroupPut.java new file mode 100644 index 0000000000..7296ee7b64 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionManagementGroupPut.java @@ -0,0 +1,29 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.NetworkManagerConnectionInner; + +/** Samples for ManagementGroupNetworkManagerConnections CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerConnectionManagementGroupPut.json + */ + /** + * Sample code: Create or Update Management Group Network Manager Connection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createOrUpdateManagementGroupNetworkManagerConnection( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getManagementGroupNetworkManagerConnections() + .createOrUpdateWithResponse( + "managementGroupA", + "TestNMConnection", + new NetworkManagerConnectionInner() + .withNetworkManagerId( + "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionManagementGroupPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionManagementGroupPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionManagementGroupPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionSubscriptionDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionSubscriptionDelete.java new file mode 100644 index 0000000000..d301238881 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionSubscriptionDelete.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for SubscriptionNetworkManagerConnections Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerConnectionSubscriptionDelete.json + */ + /** + * Sample code: Delete Subscription Network Manager Connection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteSubscriptionNetworkManagerConnection( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getSubscriptionNetworkManagerConnections() + .deleteWithResponse("TestNMConnection", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionSubscriptionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionSubscriptionDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionSubscriptionDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionSubscriptionGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionSubscriptionGet.java new file mode 100644 index 0000000000..8dcacf4589 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionSubscriptionGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for SubscriptionNetworkManagerConnections Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerConnectionSubscriptionGet.json + */ + /** + * Sample code: Get Subscription Network Manager Connection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getSubscriptionNetworkManagerConnection(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getSubscriptionNetworkManagerConnections() + .getWithResponse("TestNMConnection", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionSubscriptionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionSubscriptionGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionSubscriptionGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionSubscriptionList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionSubscriptionList.java new file mode 100644 index 0000000000..34628dc48c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionSubscriptionList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for SubscriptionNetworkManagerConnections List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerConnectionSubscriptionList.json + */ + /** + * Sample code: List Subscription Network Manager Connection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listSubscriptionNetworkManagerConnection(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getSubscriptionNetworkManagerConnections() + .list(null, null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionSubscriptionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionSubscriptionList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionSubscriptionList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionSubscriptionPut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionSubscriptionPut.java new file mode 100644 index 0000000000..a463ef1d98 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionSubscriptionPut.java @@ -0,0 +1,28 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.NetworkManagerConnectionInner; + +/** Samples for SubscriptionNetworkManagerConnections CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerConnectionSubscriptionPut.json + */ + /** + * Sample code: Create or Update Subscription Network Manager Connection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createOrUpdateSubscriptionNetworkManagerConnection( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getSubscriptionNetworkManagerConnections() + .createOrUpdateWithResponse( + "TestNMConnection", + new NetworkManagerConnectionInner() + .withNetworkManagerId( + "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionSubscriptionPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionSubscriptionPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectionSubscriptionPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectivityConfigurationDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectivityConfigurationDelete.java new file mode 100644 index 0000000000..dd1bfc8103 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectivityConfigurationDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ConnectivityConfigurations Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerConnectivityConfigurationDelete.json + */ + /** + * Sample code: ConnectivityConfigurationsDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void connectivityConfigurationsDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getConnectivityConfigurations() + .delete("myResourceGroup", "testNetworkManager", "myTestConnectivityConfig", false, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectivityConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectivityConfigurationDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectivityConfigurationDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectivityConfigurationGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectivityConfigurationGet.java new file mode 100644 index 0000000000..5814e7a0f8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectivityConfigurationGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ConnectivityConfigurations Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerConnectivityConfigurationGet.json + */ + /** + * Sample code: ConnectivityConfigurationsGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void connectivityConfigurationsGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getConnectivityConfigurations() + .getWithResponse("myResourceGroup", "testNetworkManager", "myTestConnectivityConfig", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectivityConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectivityConfigurationGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectivityConfigurationGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectivityConfigurationList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectivityConfigurationList.java new file mode 100644 index 0000000000..a769e695a5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectivityConfigurationList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ConnectivityConfigurations List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerConnectivityConfigurationList.json + */ + /** + * Sample code: ConnectivityConfigurationsList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void connectivityConfigurationsList(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getConnectivityConfigurations() + .list("myResourceGroup", "testNetworkManager", null, null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectivityConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectivityConfigurationList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectivityConfigurationList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectivityConfigurationPut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectivityConfigurationPut.java new file mode 100644 index 0000000000..ea97080c3d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectivityConfigurationPut.java @@ -0,0 +1,55 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.ConnectivityConfigurationInner; +import com.azure.resourcemanager.network.models.ConnectivityGroupItem; +import com.azure.resourcemanager.network.models.ConnectivityTopology; +import com.azure.resourcemanager.network.models.DeleteExistingPeering; +import com.azure.resourcemanager.network.models.GroupConnectivity; +import com.azure.resourcemanager.network.models.Hub; +import com.azure.resourcemanager.network.models.IsGlobal; +import com.azure.resourcemanager.network.models.UseHubGateway; +import java.util.Arrays; + +/** Samples for ConnectivityConfigurations CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerConnectivityConfigurationPut.json + */ + /** + * Sample code: ConnectivityConfigurationsPut. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void connectivityConfigurationsPut(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getConnectivityConfigurations() + .createOrUpdateWithResponse( + "myResourceGroup", + "testNetworkManager", + "myTestConnectivityConfig", + new ConnectivityConfigurationInner() + .withDescription("Sample Configuration") + .withConnectivityTopology(ConnectivityTopology.HUB_AND_SPOKE) + .withHubs( + Arrays + .asList( + new Hub() + .withResourceId( + "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myTestConnectivityConfig") + .withResourceType("Microsoft.Network/virtualNetworks"))) + .withIsGlobal(IsGlobal.TRUE) + .withAppliesToGroups( + Arrays + .asList( + new ConnectivityGroupItem() + .withNetworkGroupId( + "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1") + .withUseHubGateway(UseHubGateway.TRUE) + .withIsGlobal(IsGlobal.FALSE) + .withGroupConnectivity(GroupConnectivity.NONE))) + .withDeleteExistingPeering(DeleteExistingPeering.TRUE), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectivityConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectivityConfigurationPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerConnectivityConfigurationPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerDefaultAdminRuleGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerDefaultAdminRuleGet.java new file mode 100644 index 0000000000..f5e4f25de9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerDefaultAdminRuleGet.java @@ -0,0 +1,27 @@ +import com.azure.core.util.Context; + +/** Samples for AdminRules Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerDefaultAdminRuleGet.json + */ + /** + * Sample code: Gets security default admin rule. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getsSecurityDefaultAdminRule(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getAdminRules() + .getWithResponse( + "rg1", + "testNetworkManager", + "myTestSecurityConfig", + "testRuleCollection", + "SampleDefaultAdminRule", + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerDefaultAdminRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerDefaultAdminRuleGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerDefaultAdminRuleGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerDefaultAdminRulePut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerDefaultAdminRulePut.java new file mode 100644 index 0000000000..89097bb162 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerDefaultAdminRulePut.java @@ -0,0 +1,29 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.DefaultAdminRule; + +/** Samples for AdminRules CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerDefaultAdminRulePut.json + */ + /** + * Sample code: Create a default admin rule. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createADefaultAdminRule(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getAdminRules() + .createOrUpdateWithResponse( + "rg1", + "testNetworkManager", + "myTestSecurityConfig", + "testRuleCollection", + "SampleDefaultAdminRule", + new DefaultAdminRule().withFlag("AllowVnetInbound"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerDefaultAdminRulePut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerDefaultAdminRulePut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerDefaultAdminRulePut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerDelete.java new file mode 100644 index 0000000000..141ca37992 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkManagers Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerDelete.json + */ + /** + * Sample code: NetworkManagersDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void networkManagersDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkManagers() + .delete("rg1", "testNetworkManager", false, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerDeploymentStatusList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerDeploymentStatusList.java new file mode 100644 index 0000000000..b57132d3d9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerDeploymentStatusList.java @@ -0,0 +1,32 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.ConfigurationType; +import com.azure.resourcemanager.network.models.NetworkManagerDeploymentStatusParameter; +import java.util.Arrays; + +/** Samples for NetworkManagerDeploymentStatusOperation List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerDeploymentStatusList.json + */ + /** + * Sample code: NetworkManagerDeploymentStatusList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void networkManagerDeploymentStatusList(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkManagerDeploymentStatusOperations() + .listWithResponse( + "resoureGroupSample", + "testNetworkManager", + new NetworkManagerDeploymentStatusParameter() + .withRegions(Arrays.asList("eastus", "westus")) + .withDeploymentTypes( + Arrays.asList(ConfigurationType.CONNECTIVITY, ConfigurationType.fromString("AdminPolicy"))) + .withSkipToken("FakeSkipTokenCode"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerDeploymentStatusList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerDeploymentStatusList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerDeploymentStatusList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerGet.java new file mode 100644 index 0000000000..d5a7c41dae --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkManagers GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerGet.json + */ + /** + * Sample code: NetworkManagersGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void networkManagersGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkManagers() + .getByResourceGroupWithResponse("rg1", "testNetworkManager", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerGroupDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerGroupDelete.java new file mode 100644 index 0000000000..a1e4fab40f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerGroupDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkGroups Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerGroupDelete.json + */ + /** + * Sample code: NetworkGroupsDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void networkGroupsDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkGroups() + .delete("rg1", "testNetworkManager", "testNetworkGroup", false, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerGroupDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerGroupDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerGroupGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerGroupGet.java new file mode 100644 index 0000000000..55971ac8d1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerGroupGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkGroups Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerGroupGet.json + */ + /** + * Sample code: NetworkGroupsGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void networkGroupsGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkGroups() + .getWithResponse("rg1", "testNetworkManager", "testNetworkGroup", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerGroupGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerGroupGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerGroupList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerGroupList.java new file mode 100644 index 0000000000..5ce399f975 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerGroupList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkGroups List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerGroupList.json + */ + /** + * Sample code: NetworkGroupsList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void networkGroupsList(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkGroups() + .list("rg1", "testNetworkManager", null, null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerGroupList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerGroupList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerGroupList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerGroupPut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerGroupPut.java new file mode 100644 index 0000000000..3437bc634d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerGroupPut.java @@ -0,0 +1,28 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.NetworkGroupInner; + +/** Samples for NetworkGroups CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerGroupPut.json + */ + /** + * Sample code: NetworkGroupsPut. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void networkGroupsPut(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkGroups() + .createOrUpdateWithResponse( + "rg1", + "testNetworkManager", + "testNetworkGroup", + new NetworkGroupInner().withDescription("A sample group"), + null, + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerGroupPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerGroupPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerGroupPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerList.java new file mode 100644 index 0000000000..52d0fed0c4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkManagers ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerList.json + */ + /** + * Sample code: List Network Manager. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listNetworkManager(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkManagers() + .listByResourceGroup("rg1", null, null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerListAll.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerListAll.java new file mode 100644 index 0000000000..46136cafa2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerListAll.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkManagers List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerListAll.json + */ + /** + * Sample code: NetworkManagersList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void networkManagersList(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getNetworkManagers().list(null, null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerListAll.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerListAll.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerPatch.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerPatch.java new file mode 100644 index 0000000000..e7a8d1e446 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerPatch.java @@ -0,0 +1,39 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.PatchObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for NetworkManagers Patch. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerPatch.json + */ + /** + * Sample code: NetworkManagesPatch. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void networkManagesPatch(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkManagers() + .patchWithResponse( + "rg1", + "testNetworkManager", + new PatchObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerPatch.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerPatch.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerPatch.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerPut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerPut.java new file mode 100644 index 0000000000..fb35c37d8e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerPut.java @@ -0,0 +1,35 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.NetworkManagerInner; +import com.azure.resourcemanager.network.models.ConfigurationType; +import com.azure.resourcemanager.network.models.NetworkManagerPropertiesNetworkManagerScopes; +import java.util.Arrays; + +/** Samples for NetworkManagers CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerPut.json + */ + /** + * Sample code: Put Network Manager. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void putNetworkManager(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkManagers() + .createOrUpdateWithResponse( + "rg1", + "TestNetworkManager", + new NetworkManagerInner() + .withDescription("My Test Network Manager") + .withNetworkManagerScopes( + new NetworkManagerPropertiesNetworkManagerScopes() + .withManagementGroups(Arrays.asList("/Microsoft.Management/testmg")) + .withSubscriptions(Arrays.asList("/subscriptions/00000000-0000-0000-0000-000000000000"))) + .withNetworkManagerScopeAccesses(Arrays.asList(ConfigurationType.CONNECTIVITY)), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerScopeConnectionDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerScopeConnectionDelete.java new file mode 100644 index 0000000000..5fa6579636 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerScopeConnectionDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ScopeConnections Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerScopeConnectionDelete.json + */ + /** + * Sample code: Delete Network Manager Scope Connection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteNetworkManagerScopeConnection(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getScopeConnections() + .deleteWithResponse("rg1", "testNetworkManager", "TestScopeConnection", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerScopeConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerScopeConnectionDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerScopeConnectionDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerScopeConnectionGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerScopeConnectionGet.java new file mode 100644 index 0000000000..a62db2c668 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerScopeConnectionGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ScopeConnections Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerScopeConnectionGet.json + */ + /** + * Sample code: Get Network Manager Scope Connection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getNetworkManagerScopeConnection(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getScopeConnections() + .getWithResponse("rg1", "testNetworkManager", "TestScopeConnection", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerScopeConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerScopeConnectionGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerScopeConnectionGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerScopeConnectionList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerScopeConnectionList.java new file mode 100644 index 0000000000..c66f1c491a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerScopeConnectionList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ScopeConnections List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerScopeConnectionList.json + */ + /** + * Sample code: List Network Manager Scope Connection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listNetworkManagerScopeConnection(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getScopeConnections() + .list("rg1", "testNetworkManager", null, null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerScopeConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerScopeConnectionList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerScopeConnectionList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerScopeConnectionPut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerScopeConnectionPut.java new file mode 100644 index 0000000000..d54b1bea5f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerScopeConnectionPut.java @@ -0,0 +1,31 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.ScopeConnectionInner; + +/** Samples for ScopeConnections CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerScopeConnectionPut.json + */ + /** + * Sample code: Create or Update Network Manager Scope Connection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createOrUpdateNetworkManagerScopeConnection( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getScopeConnections() + .createOrUpdateWithResponse( + "rg1", + "testNetworkManager", + "TestScopeConnection", + new ScopeConnectionInner() + .withTenantId("6babcaad-604b-40ac-a9d7-9fd97c0b779f") + .withResourceId("subscriptions/f0dc2b34-dfad-40e4-83e0-2309fed8d00b") + .withDescription("This is a scope connection to a cross tenant subscription."), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerScopeConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerScopeConnectionPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerScopeConnectionPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerSecurityAdminConfigurationDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerSecurityAdminConfigurationDelete.java new file mode 100644 index 0000000000..8b61d66311 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerSecurityAdminConfigurationDelete.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for SecurityAdminConfigurations Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerSecurityAdminConfigurationDelete.json + */ + /** + * Sample code: Delete network manager security admin configuration. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteNetworkManagerSecurityAdminConfiguration( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getSecurityAdminConfigurations() + .delete("rg1", "testNetworkManager", "myTestSecurityConfig", false, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerSecurityAdminConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerSecurityAdminConfigurationDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerSecurityAdminConfigurationDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerSecurityAdminConfigurationGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerSecurityAdminConfigurationGet.java new file mode 100644 index 0000000000..9be31aa2d8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerSecurityAdminConfigurationGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for SecurityAdminConfigurations Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerSecurityAdminConfigurationGet.json + */ + /** + * Sample code: Get security admin configurations. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getSecurityAdminConfigurations(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getSecurityAdminConfigurations() + .getWithResponse("rg1", "testNetworkManager", "myTestSecurityConfig", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerSecurityAdminConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerSecurityAdminConfigurationGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerSecurityAdminConfigurationGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerSecurityAdminConfigurationList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerSecurityAdminConfigurationList.java new file mode 100644 index 0000000000..1b058403fd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerSecurityAdminConfigurationList.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for SecurityAdminConfigurations List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerSecurityAdminConfigurationList.json + */ + /** + * Sample code: List security admin configurations in a network manager. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listSecurityAdminConfigurationsInANetworkManager( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getSecurityAdminConfigurations() + .list("rg1", "testNetworkManager", null, null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerSecurityAdminConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerSecurityAdminConfigurationList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerSecurityAdminConfigurationList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerSecurityAdminConfigurationPut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerSecurityAdminConfigurationPut.java new file mode 100644 index 0000000000..3949abcf14 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerSecurityAdminConfigurationPut.java @@ -0,0 +1,32 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.SecurityAdminConfigurationInner; +import com.azure.resourcemanager.network.models.NetworkIntentPolicyBasedService; +import java.util.Arrays; + +/** Samples for SecurityAdminConfigurations CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerSecurityAdminConfigurationPut.json + */ + /** + * Sample code: Create network manager security admin configuration. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createNetworkManagerSecurityAdminConfiguration( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getSecurityAdminConfigurations() + .createOrUpdateWithResponse( + "rg1", + "testNetworkManager", + "myTestSecurityConfig", + new SecurityAdminConfigurationInner() + .withDescription("A sample policy") + .withApplyOnNetworkIntentPolicyBasedServices(Arrays.asList(NetworkIntentPolicyBasedService.NONE)), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerSecurityAdminConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerSecurityAdminConfigurationPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerSecurityAdminConfigurationPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerStaticMemberDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerStaticMemberDelete.java new file mode 100644 index 0000000000..0bf2b0342b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerStaticMemberDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for StaticMembers Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerStaticMemberDelete.json + */ + /** + * Sample code: StaticMembersDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void staticMembersDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getStaticMembers() + .deleteWithResponse("SampleRG", "TestNM", "testNetworkGroup", "testStaticMember", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerStaticMemberDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerStaticMemberDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerStaticMemberDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerStaticMemberGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerStaticMemberGet.java new file mode 100644 index 0000000000..8b95ba60b3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerStaticMemberGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for StaticMembers Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerStaticMemberGet.json + */ + /** + * Sample code: StaticMembersGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void staticMembersGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getStaticMembers() + .getWithResponse("rg1", "testNetworkManager", "testNetworkGroup", "testStaticMember", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerStaticMemberGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerStaticMemberGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerStaticMemberGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerStaticMemberList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerStaticMemberList.java new file mode 100644 index 0000000000..eff95d03f0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerStaticMemberList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for StaticMembers List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerStaticMemberList.json + */ + /** + * Sample code: StaticMembersList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void staticMembersList(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getStaticMembers() + .list("rg1", "testNetworkManager", "testNetworkGroup", null, null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerStaticMemberList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerStaticMemberList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerStaticMemberList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerStaticMemberPut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerStaticMemberPut.java new file mode 100644 index 0000000000..36a31731f0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerStaticMemberPut.java @@ -0,0 +1,30 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.StaticMemberInner; + +/** Samples for StaticMembers CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkManagerStaticMemberPut.json + */ + /** + * Sample code: StaticMemberPut. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void staticMemberPut(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getStaticMembers() + .createOrUpdateWithResponse( + "rg1", + "testNetworkManager", + "testNetworkGroup", + "testStaticMember", + new StaticMemberInner() + .withResourceId( + "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetworks/vnet1"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerStaticMemberPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerStaticMemberPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkManagerStaticMemberPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileCreateConfigOnly.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileCreateConfigOnly.java new file mode 100644 index 0000000000..dbd77610be --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileCreateConfigOnly.java @@ -0,0 +1,45 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.IpConfigurationProfileInner; +import com.azure.resourcemanager.network.fluent.models.NetworkProfileInner; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; +import com.azure.resourcemanager.network.models.ContainerNetworkInterfaceConfiguration; +import java.util.Arrays; + +/** Samples for NetworkProfiles CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkProfileCreateConfigOnly.json + */ + /** + * Sample code: Create network profile defaults. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createNetworkProfileDefaults(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkProfiles() + .createOrUpdateWithResponse( + "rg1", + "networkProfile1", + new NetworkProfileInner() + .withLocation("westus") + .withContainerNetworkInterfaceConfigurations( + Arrays + .asList( + new ContainerNetworkInterfaceConfiguration() + .withName("eth1") + .withIpConfigurations( + Arrays + .asList( + new IpConfigurationProfileInner() + .withName("ipconfig1") + .withSubnet( + new SubnetInner() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1")))))), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileCreateConfigOnly.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileCreateConfigOnly.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileCreateConfigOnly.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileDelete.java new file mode 100644 index 0000000000..09a4220223 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkProfiles Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkProfileDelete.json + */ + /** + * Sample code: Delete network profile. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteNetworkProfile(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getNetworkProfiles().delete("rg1", "networkProfile1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileGetConfigOnly.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileGetConfigOnly.java new file mode 100644 index 0000000000..e53a579277 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileGetConfigOnly.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkProfiles GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkProfileGetConfigOnly.json + */ + /** + * Sample code: Get network profile. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getNetworkProfile(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkProfiles() + .getByResourceGroupWithResponse("rg1", "networkProfile1", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileGetConfigOnly.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileGetConfigOnly.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileGetConfigOnly.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileGetWithContainerNic.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileGetWithContainerNic.java new file mode 100644 index 0000000000..aac57ea893 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileGetWithContainerNic.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkProfiles GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkProfileGetWithContainerNic.json + */ + /** + * Sample code: Get network profile with container network interfaces. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getNetworkProfileWithContainerNetworkInterfaces( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkProfiles() + .getByResourceGroupWithResponse("rg1", "networkProfile1", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileGetWithContainerNic.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileGetWithContainerNic.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileGetWithContainerNic.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileList.java new file mode 100644 index 0000000000..a881e2abd7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkProfiles ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkProfileList.json + */ + /** + * Sample code: List resource group network profiles. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listResourceGroupNetworkProfiles(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getNetworkProfiles().listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileListAll.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileListAll.java new file mode 100644 index 0000000000..7a02448863 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileListAll.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkProfiles List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkProfileListAll.json + */ + /** + * Sample code: List all network profiles. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllNetworkProfiles(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getNetworkProfiles().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileListAll.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileListAll.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileUpdateTags.java new file mode 100644 index 0000000000..17364356f7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileUpdateTags.java @@ -0,0 +1,36 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for NetworkProfiles UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkProfileUpdateTags.json + */ + /** + * Sample code: Update network profile tags. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateNetworkProfileTags(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkProfiles() + .updateTagsWithResponse( + "rg1", "test-np", new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkProfileUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupCreate.java new file mode 100644 index 0000000000..26f9be8cc3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupCreate.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.NetworkSecurityGroupInner; + +/** Samples for NetworkSecurityGroups CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkSecurityGroupCreate.json + */ + /** + * Sample code: Create network security group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createNetworkSecurityGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkSecurityGroups() + .createOrUpdate("rg1", "testnsg", new NetworkSecurityGroupInner().withLocation("eastus"), Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupCreateWithRule.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupCreateWithRule.java new file mode 100644 index 0000000000..deecb46efc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupCreateWithRule.java @@ -0,0 +1,45 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.NetworkSecurityGroupInner; +import com.azure.resourcemanager.network.fluent.models.SecurityRuleInner; +import com.azure.resourcemanager.network.models.SecurityRuleAccess; +import com.azure.resourcemanager.network.models.SecurityRuleDirection; +import com.azure.resourcemanager.network.models.SecurityRuleProtocol; +import java.util.Arrays; + +/** Samples for NetworkSecurityGroups CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkSecurityGroupCreateWithRule.json + */ + /** + * Sample code: Create network security group with rule. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createNetworkSecurityGroupWithRule(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkSecurityGroups() + .createOrUpdate( + "rg1", + "testnsg", + new NetworkSecurityGroupInner() + .withLocation("eastus") + .withSecurityRules( + Arrays + .asList( + new SecurityRuleInner() + .withName("rule1") + .withProtocol(SecurityRuleProtocol.ASTERISK) + .withSourcePortRange("*") + .withDestinationPortRange("80") + .withSourceAddressPrefix("*") + .withDestinationAddressPrefix("*") + .withAccess(SecurityRuleAccess.ALLOW) + .withPriority(130) + .withDirection(SecurityRuleDirection.INBOUND))), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupCreateWithRule.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupCreateWithRule.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupCreateWithRule.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupDelete.java new file mode 100644 index 0000000000..bd3a1b9959 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkSecurityGroups Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkSecurityGroupDelete.json + */ + /** + * Sample code: Delete network security group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteNetworkSecurityGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getNetworkSecurityGroups().delete("rg1", "testnsg", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupGet.java new file mode 100644 index 0000000000..8cf4daae20 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkSecurityGroups GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkSecurityGroupGet.json + */ + /** + * Sample code: Get network security group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getNetworkSecurityGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkSecurityGroups() + .getByResourceGroupWithResponse("rg1", "testnsg", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupList.java new file mode 100644 index 0000000000..4881ebee9b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkSecurityGroups ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkSecurityGroupList.json + */ + /** + * Sample code: List network security groups in resource group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listNetworkSecurityGroupsInResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getNetworkSecurityGroups().listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupListAll.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupListAll.java new file mode 100644 index 0000000000..ac2257aa45 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupListAll.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkSecurityGroups List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkSecurityGroupListAll.json + */ + /** + * Sample code: List all network security groups. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllNetworkSecurityGroups(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getNetworkSecurityGroups().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupListAll.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupListAll.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupRuleCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupRuleCreate.java new file mode 100644 index 0000000000..9d1bc2c008 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupRuleCreate.java @@ -0,0 +1,38 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.SecurityRuleInner; +import com.azure.resourcemanager.network.models.SecurityRuleAccess; +import com.azure.resourcemanager.network.models.SecurityRuleDirection; +import com.azure.resourcemanager.network.models.SecurityRuleProtocol; + +/** Samples for SecurityRules CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkSecurityGroupRuleCreate.json + */ + /** + * Sample code: Create security rule. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createSecurityRule(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getSecurityRules() + .createOrUpdate( + "rg1", + "testnsg", + "rule1", + new SecurityRuleInner() + .withProtocol(SecurityRuleProtocol.ASTERISK) + .withSourcePortRange("*") + .withDestinationPortRange("8080") + .withSourceAddressPrefix("10.0.0.0/8") + .withDestinationAddressPrefix("11.0.0.0/8") + .withAccess(SecurityRuleAccess.DENY) + .withPriority(100) + .withDirection(SecurityRuleDirection.OUTBOUND), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupRuleCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupRuleCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupRuleDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupRuleDelete.java new file mode 100644 index 0000000000..0ce183fb8d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupRuleDelete.java @@ -0,0 +1,17 @@ +import com.azure.core.util.Context; + +/** Samples for SecurityRules Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkSecurityGroupRuleDelete.json + */ + /** + * Sample code: Delete network security rule from network security group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteNetworkSecurityRuleFromNetworkSecurityGroup( + com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getSecurityRules().delete("rg1", "testnsg", "rule1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupRuleDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupRuleDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupRuleGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupRuleGet.java new file mode 100644 index 0000000000..c9281c9d69 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupRuleGet.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for SecurityRules Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkSecurityGroupRuleGet.json + */ + /** + * Sample code: Get network security rule in network security group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getNetworkSecurityRuleInNetworkSecurityGroup( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getSecurityRules() + .getWithResponse("rg1", "testnsg", "rule1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupRuleGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupRuleGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupRuleList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupRuleList.java new file mode 100644 index 0000000000..c853018075 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupRuleList.java @@ -0,0 +1,17 @@ +import com.azure.core.util.Context; + +/** Samples for SecurityRules List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkSecurityGroupRuleList.json + */ + /** + * Sample code: List network security rules in network security group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listNetworkSecurityRulesInNetworkSecurityGroup( + com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getSecurityRules().list("rg1", "testnsg", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupRuleList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupRuleList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupRuleList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupUpdateTags.java new file mode 100644 index 0000000000..94182ffe3f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupUpdateTags.java @@ -0,0 +1,36 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for NetworkSecurityGroups UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkSecurityGroupUpdateTags.json + */ + /** + * Sample code: Update network security group tags. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateNetworkSecurityGroupTags(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkSecurityGroups() + .updateTagsWithResponse( + "rg1", "testnsg", new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkSecurityGroupUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceDelete.java new file mode 100644 index 0000000000..290d70a6a1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkVirtualAppliances Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkVirtualApplianceDelete.json + */ + /** + * Sample code: Delete NetworkVirtualAppliance. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteNetworkVirtualAppliance(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getNetworkVirtualAppliances().delete("rg1", "nva", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceGet.java new file mode 100644 index 0000000000..82d87b3580 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkVirtualAppliances GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkVirtualApplianceGet.json + */ + /** + * Sample code: Get NetworkVirtualAppliance. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getNetworkVirtualAppliance(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkVirtualAppliances() + .getByResourceGroupWithResponse("rg1", "nva", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceListByResourceGroup.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceListByResourceGroup.java new file mode 100644 index 0000000000..b542e25df1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceListByResourceGroup.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkVirtualAppliances ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkVirtualApplianceListByResourceGroup.json + */ + /** + * Sample code: List all Network Virtual Appliance for a given resource group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllNetworkVirtualApplianceForAGivenResourceGroup( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkVirtualAppliances() + .listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceListByResourceGroup.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceListByResourceGroup.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceListBySubscription.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceListBySubscription.java new file mode 100644 index 0000000000..295fe26d58 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceListBySubscription.java @@ -0,0 +1,17 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkVirtualAppliances List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkVirtualApplianceListBySubscription.json + */ + /** + * Sample code: List all Network Virtual Appliances for a given subscription. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllNetworkVirtualAppliancesForAGivenSubscription( + com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getNetworkVirtualAppliances().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceListBySubscription.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceListBySubscription.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualAppliancePut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualAppliancePut.java new file mode 100644 index 0000000000..39584cd183 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualAppliancePut.java @@ -0,0 +1,72 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.NetworkVirtualApplianceInner; +import com.azure.resourcemanager.network.models.ManagedServiceIdentity; +import com.azure.resourcemanager.network.models.ManagedServiceIdentityUserAssignedIdentities; +import com.azure.resourcemanager.network.models.ResourceIdentityType; +import com.azure.resourcemanager.network.models.VirtualApplianceSkuProperties; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for NetworkVirtualAppliances CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkVirtualAppliancePut.json + */ + /** + * Sample code: Create NetworkVirtualAppliance. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createNetworkVirtualAppliance(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkVirtualAppliances() + .createOrUpdate( + "rg1", + "nva", + new NetworkVirtualApplianceInner() + .withLocation("West US") + .withTags(mapOf("key1", "value1")) + .withIdentity( + new ManagedServiceIdentity() + .withType(ResourceIdentityType.USER_ASSIGNED) + .withUserAssignedIdentities( + mapOf( + "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1", + new ManagedServiceIdentityUserAssignedIdentities()))) + .withNvaSku( + new VirtualApplianceSkuProperties() + .withVendor("Cisco SDWAN") + .withBundledScaleUnit("1") + .withMarketPlaceVersion("12.1")) + .withBootStrapConfigurationBlobs( + Arrays + .asList( + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig")) + .withVirtualHub( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1")) + .withCloudInitConfigurationBlobs( + Arrays + .asList( + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig")) + .withVirtualApplianceAsn(10000L), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualAppliancePut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualAppliancePut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualAppliancePut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSiteDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSiteDelete.java new file mode 100644 index 0000000000..9e24fa12f8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSiteDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualApplianceSites Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkVirtualApplianceSiteDelete.json + */ + /** + * Sample code: Delete Network Virtual Appliance Site. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteNetworkVirtualApplianceSite(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualApplianceSites() + .delete("rg1", "nva", "site1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSiteDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSiteDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSiteDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSiteGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSiteGet.java new file mode 100644 index 0000000000..d94aecb328 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSiteGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualApplianceSites Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkVirtualApplianceSiteGet.json + */ + /** + * Sample code: GetNetwork Virtual Appliance Site. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getNetworkVirtualApplianceSite(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualApplianceSites() + .getWithResponse("rg1", "nva", "site1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSiteGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSiteGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSiteGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSiteList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSiteList.java new file mode 100644 index 0000000000..75d147e05c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSiteList.java @@ -0,0 +1,17 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualApplianceSites List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkVirtualApplianceSiteList.json + */ + /** + * Sample code: List all Network Virtual Appliance sites for a given Network Virtual Appliance. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllNetworkVirtualApplianceSitesForAGivenNetworkVirtualAppliance( + com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getVirtualApplianceSites().list("rg1", "nva", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSiteList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSiteList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSiteList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSitePut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSitePut.java new file mode 100644 index 0000000000..c2038a6fd9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSitePut.java @@ -0,0 +1,37 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.VirtualApplianceSiteInner; +import com.azure.resourcemanager.network.models.BreakOutCategoryPolicies; +import com.azure.resourcemanager.network.models.Office365PolicyProperties; + +/** Samples for VirtualApplianceSites CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkVirtualApplianceSitePut.json + */ + /** + * Sample code: Create Network Virtual Appliance Site. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createNetworkVirtualApplianceSite(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualApplianceSites() + .createOrUpdate( + "rg1", + "nva", + "site1", + new VirtualApplianceSiteInner() + .withAddressPrefix("192.168.1.0/24") + .withO365Policy( + new Office365PolicyProperties() + .withBreakOutCategories( + new BreakOutCategoryPolicies() + .withAllow(true) + .withOptimize(true) + .withDefaultProperty(true))), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSitePut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSitePut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSitePut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSkuGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSkuGet.java new file mode 100644 index 0000000000..9273f4f692 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSkuGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualApplianceSkus Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkVirtualApplianceSkuGet.json + */ + /** + * Sample code: NetworkVirtualApplianceSkuGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void networkVirtualApplianceSkuGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualApplianceSkus() + .getWithResponse("ciscoSdwan", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSkuGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSkuGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSkuGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSkuList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSkuList.java new file mode 100644 index 0000000000..bb58466d70 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSkuList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualApplianceSkus List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkVirtualApplianceSkuList.json + */ + /** + * Sample code: NetworkVirtualApplianceSkuListResult. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void networkVirtualApplianceSkuListResult(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getVirtualApplianceSkus().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSkuList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSkuList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceSkuList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceUpdateTags.java new file mode 100644 index 0000000000..c8f11d8f2f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceUpdateTags.java @@ -0,0 +1,36 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for NetworkVirtualAppliances UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkVirtualApplianceUpdateTags.json + */ + /** + * Sample code: Update NetworkVirtualAppliance. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateNetworkVirtualAppliance(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkVirtualAppliances() + .updateTagsWithResponse( + "rg1", "nva", new TagsObject().withTags(mapOf("key1", "value1", "key2", "value2")), Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkVirtualApplianceUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherAvailableProvidersListGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherAvailableProvidersListGet.java new file mode 100644 index 0000000000..239a0fd65d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherAvailableProvidersListGet.java @@ -0,0 +1,31 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.AvailableProvidersListParameters; +import java.util.Arrays; + +/** Samples for NetworkWatchers ListAvailableProviders. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherAvailableProvidersListGet.json + */ + /** + * Sample code: Get Available Providers List. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getAvailableProvidersList(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkWatchers() + .listAvailableProviders( + "rg1", + "nw1", + new AvailableProvidersListParameters() + .withAzureLocations(Arrays.asList("West US")) + .withCountry("United States") + .withState("washington") + .withCity("seattle"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherAvailableProvidersListGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherAvailableProvidersListGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherAvailableProvidersListGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherAzureReachabilityReportGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherAzureReachabilityReportGet.java new file mode 100644 index 0000000000..d8572fcb5b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherAzureReachabilityReportGet.java @@ -0,0 +1,35 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.AzureReachabilityReportLocation; +import com.azure.resourcemanager.network.models.AzureReachabilityReportParameters; +import java.time.OffsetDateTime; +import java.util.Arrays; + +/** Samples for NetworkWatchers GetAzureReachabilityReport. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherAzureReachabilityReportGet.json + */ + /** + * Sample code: Get Azure Reachability Report. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getAzureReachabilityReport(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkWatchers() + .getAzureReachabilityReport( + "rg1", + "nw1", + new AzureReachabilityReportParameters() + .withProviderLocation( + new AzureReachabilityReportLocation().withCountry("United States").withState("washington")) + .withProviders(Arrays.asList("Frontier Communications of America, Inc. - ASN 5650")) + .withAzureLocations(Arrays.asList("West US")) + .withStartTime(OffsetDateTime.parse("2017-09-07T00:00:00Z")) + .withEndTime(OffsetDateTime.parse("2017-09-10T00:00:00Z")), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherAzureReachabilityReportGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherAzureReachabilityReportGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherAzureReachabilityReportGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorCreate.java new file mode 100644 index 0000000000..8845e04bc4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorCreate.java @@ -0,0 +1,59 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.ConnectionMonitorInner; +import com.azure.resourcemanager.network.models.ConnectionMonitorEndpoint; +import com.azure.resourcemanager.network.models.ConnectionMonitorTcpConfiguration; +import com.azure.resourcemanager.network.models.ConnectionMonitorTestConfiguration; +import com.azure.resourcemanager.network.models.ConnectionMonitorTestConfigurationProtocol; +import com.azure.resourcemanager.network.models.ConnectionMonitorTestGroup; +import java.util.Arrays; + +/** Samples for ConnectionMonitors CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherConnectionMonitorCreate.json + */ + /** + * Sample code: Create connection monitor V1. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createConnectionMonitorV1(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getConnectionMonitors() + .createOrUpdate( + "rg1", + "nw1", + "cm1", + new ConnectionMonitorInner() + .withLocation("eastus") + .withEndpoints( + Arrays + .asList( + new ConnectionMonitorEndpoint() + .withName("source") + .withResourceId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/ct1"), + new ConnectionMonitorEndpoint().withName("destination").withAddress("bing.com"))) + .withTestConfigurations( + Arrays + .asList( + new ConnectionMonitorTestConfiguration() + .withName("tcp") + .withTestFrequencySec(60) + .withProtocol(ConnectionMonitorTestConfigurationProtocol.TCP) + .withTcpConfiguration(new ConnectionMonitorTcpConfiguration().withPort(80)))) + .withTestGroups( + Arrays + .asList( + new ConnectionMonitorTestGroup() + .withName("tg") + .withTestConfigurations(Arrays.asList("tcp")) + .withSources(Arrays.asList("source")) + .withDestinations(Arrays.asList("destination")))), + null, + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorDelete.java new file mode 100644 index 0000000000..c8254b0e4a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for ConnectionMonitors Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherConnectionMonitorDelete.json + */ + /** + * Sample code: Delete connection monitor. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteConnectionMonitor(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getConnectionMonitors().delete("rg1", "nw1", "cm1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorGet.java new file mode 100644 index 0000000000..800c9ffc79 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ConnectionMonitors Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherConnectionMonitorGet.json + */ + /** + * Sample code: Get connection monitor. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getConnectionMonitor(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getConnectionMonitors() + .getWithResponse("rg1", "nw1", "cm1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorList.java new file mode 100644 index 0000000000..1a9e6c5a51 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for ConnectionMonitors List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherConnectionMonitorList.json + */ + /** + * Sample code: List connection monitors. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listConnectionMonitors(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getConnectionMonitors().list("rg1", "nw1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorQuery.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorQuery.java new file mode 100644 index 0000000000..37496f1edc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorQuery.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for ConnectionMonitors Query. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherConnectionMonitorQuery.json + */ + /** + * Sample code: Query connection monitor. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void queryConnectionMonitor(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getConnectionMonitors().query("rg1", "nw1", "cm1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorQuery.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorQuery.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorQuery.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorStart.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorStart.java new file mode 100644 index 0000000000..1bf3910c76 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorStart.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for ConnectionMonitors Start. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherConnectionMonitorStart.json + */ + /** + * Sample code: Start connection monitor. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void startConnectionMonitor(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getConnectionMonitors().start("rg1", "nw1", "cm1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorStart.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorStart.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorStart.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorStop.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorStop.java new file mode 100644 index 0000000000..7daaff1411 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorStop.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for ConnectionMonitors Stop. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherConnectionMonitorStop.json + */ + /** + * Sample code: Stop connection monitor. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void stopConnectionMonitor(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getConnectionMonitors().stop("rg1", "nw1", "cm1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorStop.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorStop.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorStop.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorUpdateTags.java new file mode 100644 index 0000000000..c02449f4ea --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorUpdateTags.java @@ -0,0 +1,40 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for ConnectionMonitors UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherConnectionMonitorUpdateTags.json + */ + /** + * Sample code: Update connection monitor tags. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateConnectionMonitorTags(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getConnectionMonitors() + .updateTagsWithResponse( + "rg1", + "nw1", + "cm1", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorV2Create.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorV2Create.java new file mode 100644 index 0000000000..e045d38f65 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorV2Create.java @@ -0,0 +1,82 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.ConnectionMonitorInner; +import com.azure.resourcemanager.network.models.ConnectionMonitorEndpoint; +import com.azure.resourcemanager.network.models.ConnectionMonitorEndpointFilter; +import com.azure.resourcemanager.network.models.ConnectionMonitorEndpointFilterItem; +import com.azure.resourcemanager.network.models.ConnectionMonitorEndpointFilterItemType; +import com.azure.resourcemanager.network.models.ConnectionMonitorEndpointFilterType; +import com.azure.resourcemanager.network.models.ConnectionMonitorTcpConfiguration; +import com.azure.resourcemanager.network.models.ConnectionMonitorTestConfiguration; +import com.azure.resourcemanager.network.models.ConnectionMonitorTestConfigurationProtocol; +import com.azure.resourcemanager.network.models.ConnectionMonitorTestGroup; +import java.util.Arrays; + +/** Samples for ConnectionMonitors CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherConnectionMonitorV2Create.json + */ + /** + * Sample code: Create connection monitor V2. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createConnectionMonitorV2(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getConnectionMonitors() + .createOrUpdate( + "rg1", + "nw1", + "cm1", + new ConnectionMonitorInner() + .withEndpoints( + Arrays + .asList( + new ConnectionMonitorEndpoint() + .withName("vm1") + .withResourceId( + "/subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/NwRgIrinaCentralUSEUAP/providers/Microsoft.Compute/virtualMachines/vm1"), + new ConnectionMonitorEndpoint() + .withName("CanaryWorkspaceVamshi") + .withResourceId( + "/subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/vasamudrRG/providers/Microsoft.OperationalInsights/workspaces/vasamudrWorkspace") + .withFilter( + new ConnectionMonitorEndpointFilter() + .withType(ConnectionMonitorEndpointFilterType.INCLUDE) + .withItems( + Arrays + .asList( + new ConnectionMonitorEndpointFilterItem() + .withType( + ConnectionMonitorEndpointFilterItemType.AGENT_ADDRESS) + .withAddress("npmuser")))), + new ConnectionMonitorEndpoint().withName("bing").withAddress("bing.com"), + new ConnectionMonitorEndpoint().withName("google").withAddress("google.com"))) + .withTestConfigurations( + Arrays + .asList( + new ConnectionMonitorTestConfiguration() + .withName("testConfig1") + .withTestFrequencySec(60) + .withProtocol(ConnectionMonitorTestConfigurationProtocol.TCP) + .withTcpConfiguration( + new ConnectionMonitorTcpConfiguration() + .withPort(80) + .withDisableTraceRoute(false)))) + .withTestGroups( + Arrays + .asList( + new ConnectionMonitorTestGroup() + .withName("test1") + .withDisable(false) + .withTestConfigurations(Arrays.asList("testConfig1")) + .withSources(Arrays.asList("vm1", "CanaryWorkspaceVamshi")) + .withDestinations(Arrays.asList("bing", "google")))) + .withOutputs(Arrays.asList()), + null, + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorV2Create.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorV2Create.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectionMonitorV2Create.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectivityCheck.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectivityCheck.java new file mode 100644 index 0000000000..4353fe753d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectivityCheck.java @@ -0,0 +1,35 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.ConnectivityDestination; +import com.azure.resourcemanager.network.models.ConnectivityParameters; +import com.azure.resourcemanager.network.models.ConnectivitySource; +import com.azure.resourcemanager.network.models.IpVersion; + +/** Samples for NetworkWatchers CheckConnectivity. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherConnectivityCheck.json + */ + /** + * Sample code: Check connectivity. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void checkConnectivity(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkWatchers() + .checkConnectivity( + "rg1", + "nw1", + new ConnectivityParameters() + .withSource( + new ConnectivitySource() + .withResourceId( + "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1")) + .withDestination(new ConnectivityDestination().withAddress("192.168.100.4").withPort(3389)) + .withPreferredIpVersion(IpVersion.IPV4), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectivityCheck.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectivityCheck.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherConnectivityCheck.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherCreate.java new file mode 100644 index 0000000000..d20d9a0e02 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherCreate.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.NetworkWatcherInner; + +/** Samples for NetworkWatchers CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherCreate.json + */ + /** + * Sample code: Create network watcher. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createNetworkWatcher(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkWatchers() + .createOrUpdateWithResponse("rg1", "nw1", new NetworkWatcherInner().withLocation("eastus"), Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherDelete.java new file mode 100644 index 0000000000..3dbbcbee6e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkWatchers Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherDelete.json + */ + /** + * Sample code: Delete network watcher. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteNetworkWatcher(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getNetworkWatchers().delete("rg1", "nw1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogConfigure.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogConfigure.java new file mode 100644 index 0000000000..1f717bbfa1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogConfigure.java @@ -0,0 +1,31 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.FlowLogInformationInner; + +/** Samples for NetworkWatchers SetFlowLogConfiguration. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherFlowLogConfigure.json + */ + /** + * Sample code: Configure flow log. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void configureFlowLog(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkWatchers() + .setFlowLogConfiguration( + "rg1", + "nw1", + new FlowLogInformationInner() + .withTargetResourceId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1") + .withStorageId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1") + .withEnabled(true), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogConfigure.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogConfigure.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogConfigure.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogCreate.java new file mode 100644 index 0000000000..cd55aedcc3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogCreate.java @@ -0,0 +1,36 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.FlowLogInner; +import com.azure.resourcemanager.network.models.FlowLogFormatParameters; +import com.azure.resourcemanager.network.models.FlowLogFormatType; + +/** Samples for FlowLogs CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherFlowLogCreate.json + */ + /** + * Sample code: Create or update flow log. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createOrUpdateFlowLog(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getFlowLogs() + .createOrUpdate( + "rg1", + "nw1", + "fl", + new FlowLogInner() + .withLocation("centraluseuap") + .withTargetResourceId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/desmondcentral-nsg") + .withStorageId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/nwtest1mgvbfmqsigdxe") + .withEnabled(true) + .withFormat(new FlowLogFormatParameters().withType(FlowLogFormatType.JSON).withVersion(1)), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogDelete.java new file mode 100644 index 0000000000..a0be711526 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for FlowLogs Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherFlowLogDelete.json + */ + /** + * Sample code: Delete flow log. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteFlowLog(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getFlowLogs().delete("rg1", "nw1", "fl", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogGet.java new file mode 100644 index 0000000000..e5aef2c288 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for FlowLogs Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherFlowLogGet.json + */ + /** + * Sample code: Get flow log. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getFlowLog(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getFlowLogs() + .getWithResponse("rg1", "nw1", "flowLog1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogList.java new file mode 100644 index 0000000000..0bb24019a0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for FlowLogs List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherFlowLogList.json + */ + /** + * Sample code: List connection monitors. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listConnectionMonitors(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getFlowLogs().list("rg1", "nw1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogStatusQuery.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogStatusQuery.java new file mode 100644 index 0000000000..adba12c9ae --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogStatusQuery.java @@ -0,0 +1,28 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.FlowLogStatusParameters; + +/** Samples for NetworkWatchers GetFlowLogStatus. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherFlowLogStatusQuery.json + */ + /** + * Sample code: Get flow log status. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getFlowLogStatus(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkWatchers() + .getFlowLogStatus( + "rg1", + "nw1", + new FlowLogStatusParameters() + .withTargetResourceId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogStatusQuery.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogStatusQuery.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogStatusQuery.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogUpdateTags.java new file mode 100644 index 0000000000..fc39d59a43 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogUpdateTags.java @@ -0,0 +1,36 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for FlowLogs UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherFlowLogUpdateTags.json + */ + /** + * Sample code: Update flow log tags. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateFlowLogTags(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getFlowLogs() + .updateTagsWithResponse( + "rg1", "nw", "fl", new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherFlowLogUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherGet.java new file mode 100644 index 0000000000..74750ad56f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkWatchers GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherGet.json + */ + /** + * Sample code: Get network watcher. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getNetworkWatcher(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkWatchers() + .getByResourceGroupWithResponse("rg1", "nw1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherIpFlowVerify.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherIpFlowVerify.java new file mode 100644 index 0000000000..2330c608cd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherIpFlowVerify.java @@ -0,0 +1,36 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.Direction; +import com.azure.resourcemanager.network.models.IpFlowProtocol; +import com.azure.resourcemanager.network.models.VerificationIpFlowParameters; + +/** Samples for NetworkWatchers VerifyIpFlow. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherIpFlowVerify.json + */ + /** + * Sample code: Ip flow verify. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void ipFlowVerify(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkWatchers() + .verifyIpFlow( + "rg1", + "nw1", + new VerificationIpFlowParameters() + .withTargetResourceId( + "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1") + .withDirection(Direction.OUTBOUND) + .withProtocol(IpFlowProtocol.TCP) + .withLocalPort("80") + .withRemotePort("80") + .withLocalIpAddress("10.2.0.4") + .withRemoteIpAddress("121.10.1.1"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherIpFlowVerify.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherIpFlowVerify.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherIpFlowVerify.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherList.java new file mode 100644 index 0000000000..b39c2604ea --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkWatchers ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherList.json + */ + /** + * Sample code: List network watchers. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listNetworkWatchers(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getNetworkWatchers().listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherListAll.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherListAll.java new file mode 100644 index 0000000000..bd6a52013b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherListAll.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkWatchers List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherListAll.json + */ + /** + * Sample code: List all network watchers. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllNetworkWatchers(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getNetworkWatchers().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherListAll.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherListAll.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherNetworkConfigurationDiagnostic.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherNetworkConfigurationDiagnostic.java new file mode 100644 index 0000000000..da749957ab --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherNetworkConfigurationDiagnostic.java @@ -0,0 +1,40 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.Direction; +import com.azure.resourcemanager.network.models.NetworkConfigurationDiagnosticParameters; +import com.azure.resourcemanager.network.models.NetworkConfigurationDiagnosticProfile; +import java.util.Arrays; + +/** Samples for NetworkWatchers GetNetworkConfigurationDiagnostic. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherNetworkConfigurationDiagnostic.json + */ + /** + * Sample code: Network configuration diagnostic. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void networkConfigurationDiagnostic(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkWatchers() + .getNetworkConfigurationDiagnostic( + "rg1", + "nw1", + new NetworkConfigurationDiagnosticParameters() + .withTargetResourceId( + "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1") + .withProfiles( + Arrays + .asList( + new NetworkConfigurationDiagnosticProfile() + .withDirection(Direction.INBOUND) + .withProtocol("TCP") + .withSource("10.1.0.4") + .withDestination("12.11.12.14") + .withDestinationPort("12100"))), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherNetworkConfigurationDiagnostic.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherNetworkConfigurationDiagnostic.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherNetworkConfigurationDiagnostic.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherNextHopGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherNextHopGet.java new file mode 100644 index 0000000000..226116b24e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherNextHopGet.java @@ -0,0 +1,32 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.NextHopParameters; + +/** Samples for NetworkWatchers GetNextHop. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherNextHopGet.json + */ + /** + * Sample code: Get next hop. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getNextHop(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkWatchers() + .getNextHop( + "rg1", + "nw1", + new NextHopParameters() + .withTargetResourceId( + "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1") + .withSourceIpAddress("10.0.0.5") + .withDestinationIpAddress("10.0.0.10") + .withTargetNicResourceId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherNextHopGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherNextHopGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherNextHopGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCaptureCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCaptureCreate.java new file mode 100644 index 0000000000..e71a872512 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCaptureCreate.java @@ -0,0 +1,49 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.PacketCaptureInner; +import com.azure.resourcemanager.network.models.PacketCaptureFilter; +import com.azure.resourcemanager.network.models.PacketCaptureStorageLocation; +import com.azure.resourcemanager.network.models.PcProtocol; +import java.util.Arrays; + +/** Samples for PacketCaptures Create. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherPacketCaptureCreate.json + */ + /** + * Sample code: Create packet capture. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createPacketCapture(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPacketCaptures() + .create( + "rg1", + "nw1", + "pc1", + new PacketCaptureInner() + .withTarget( + "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1") + .withBytesToCapturePerPacket(10000L) + .withTotalBytesPerSession(100000L) + .withTimeLimitInSeconds(100) + .withStorageLocation( + new PacketCaptureStorageLocation() + .withStorageId( + "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore") + .withStoragePath("https://mytestaccountname.blob.core.windows.net/capture/pc1.cap") + .withFilePath("D:\\capture\\pc1.cap")) + .withFilters( + Arrays + .asList( + new PacketCaptureFilter() + .withProtocol(PcProtocol.TCP) + .withLocalIpAddress("10.0.0.4") + .withLocalPort("80"))), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCaptureCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCaptureCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCaptureCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCaptureDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCaptureDelete.java new file mode 100644 index 0000000000..07c9620a81 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCaptureDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for PacketCaptures Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherPacketCaptureDelete.json + */ + /** + * Sample code: Delete packet capture. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deletePacketCapture(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getPacketCaptures().delete("rg1", "nw1", "pc1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCaptureDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCaptureDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCaptureDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCaptureGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCaptureGet.java new file mode 100644 index 0000000000..b1b79ec97a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCaptureGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for PacketCaptures Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherPacketCaptureGet.json + */ + /** + * Sample code: Get packet capture. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getPacketCapture(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPacketCaptures() + .getWithResponse("rg1", "nw1", "pc1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCaptureGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCaptureGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCaptureGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCaptureQueryStatus.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCaptureQueryStatus.java new file mode 100644 index 0000000000..51c6e1979e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCaptureQueryStatus.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for PacketCaptures GetStatus. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherPacketCaptureQueryStatus.json + */ + /** + * Sample code: Query packet capture status. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void queryPacketCaptureStatus(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getPacketCaptures().getStatus("rg1", "nw1", "pc1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCaptureQueryStatus.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCaptureQueryStatus.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCaptureQueryStatus.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCaptureStop.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCaptureStop.java new file mode 100644 index 0000000000..ec9c8c4056 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCaptureStop.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for PacketCaptures Stop. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherPacketCaptureStop.json + */ + /** + * Sample code: Stop packet capture. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void stopPacketCapture(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getPacketCaptures().stop("rg1", "nw1", "pc1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCaptureStop.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCaptureStop.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCaptureStop.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCapturesList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCapturesList.java new file mode 100644 index 0000000000..fa572e2056 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCapturesList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for PacketCaptures List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherPacketCapturesList.json + */ + /** + * Sample code: List packet captures. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listPacketCaptures(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getPacketCaptures().list("rg1", "nw1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCapturesList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCapturesList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherPacketCapturesList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherSecurityGroupViewGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherSecurityGroupViewGet.java new file mode 100644 index 0000000000..9d18a194a8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherSecurityGroupViewGet.java @@ -0,0 +1,28 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.SecurityGroupViewParameters; + +/** Samples for NetworkWatchers GetVMSecurityRules. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherSecurityGroupViewGet.json + */ + /** + * Sample code: Get security group view. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getSecurityGroupView(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkWatchers() + .getVMSecurityRules( + "rg1", + "nw1", + new SecurityGroupViewParameters() + .withTargetResourceId( + "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherSecurityGroupViewGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherSecurityGroupViewGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherSecurityGroupViewGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherTopologyGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherTopologyGet.java new file mode 100644 index 0000000000..7d1f85ca1a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherTopologyGet.java @@ -0,0 +1,23 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TopologyParameters; + +/** Samples for NetworkWatchers GetTopology. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherTopologyGet.json + */ + /** + * Sample code: Get Topology. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getTopology(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkWatchers() + .getTopologyWithResponse( + "rg1", "nw1", new TopologyParameters().withTargetResourceGroupName("rg2"), Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherTopologyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherTopologyGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherTopologyGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherTroubleshootGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherTroubleshootGet.java new file mode 100644 index 0000000000..9756a8dfb0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherTroubleshootGet.java @@ -0,0 +1,31 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TroubleshootingParameters; + +/** Samples for NetworkWatchers GetTroubleshooting. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherTroubleshootGet.json + */ + /** + * Sample code: Get troubleshooting. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getTroubleshooting(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkWatchers() + .getTroubleshooting( + "rg1", + "nw1", + new TroubleshootingParameters() + .withTargetResourceId( + "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1") + .withStorageId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1") + .withStoragePath("https://st1.blob.core.windows.net/cn1"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherTroubleshootGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherTroubleshootGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherTroubleshootGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherTroubleshootResultQuery.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherTroubleshootResultQuery.java new file mode 100644 index 0000000000..456fa81117 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherTroubleshootResultQuery.java @@ -0,0 +1,28 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.QueryTroubleshootingParameters; + +/** Samples for NetworkWatchers GetTroubleshootingResult. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherTroubleshootResultQuery.json + */ + /** + * Sample code: Get troubleshoot result. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getTroubleshootResult(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkWatchers() + .getTroubleshootingResult( + "rg1", + "nw1", + new QueryTroubleshootingParameters() + .withTargetResourceId( + "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherTroubleshootResultQuery.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherTroubleshootResultQuery.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherTroubleshootResultQuery.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherUpdateTags.java new file mode 100644 index 0000000000..432da6c5b5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherUpdateTags.java @@ -0,0 +1,36 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for NetworkWatchers UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherUpdateTags.json + */ + /** + * Sample code: Update network watcher tags. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateNetworkWatcherTags(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkWatchers() + .updateTagsWithResponse( + "rg1", "nw1", new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/NetworkWatcherUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/OperationList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/OperationList.java new file mode 100644 index 0000000000..cc86760e02 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/OperationList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for Operations List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/OperationList.json + */ + /** + * Sample code: Get a list of operations for a resource provider. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getAListOfOperationsForAResourceProvider(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getOperations().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/OperationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/OperationList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/OperationList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayDelete.java new file mode 100644 index 0000000000..4f8ce17d32 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for P2SVpnGateways Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/P2SVpnGatewayDelete.json + */ + /** + * Sample code: P2SVpnGatewayDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void p2SVpnGatewayDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getP2SVpnGateways().delete("rg1", "p2sVpnGateway1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayGenerateVpnProfile.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayGenerateVpnProfile.java new file mode 100644 index 0000000000..dd9360bfe3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayGenerateVpnProfile.java @@ -0,0 +1,27 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.AuthenticationMethod; +import com.azure.resourcemanager.network.models.P2SVpnProfileParameters; + +/** Samples for P2SVpnGateways GenerateVpnProfile. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/P2SVpnGatewayGenerateVpnProfile.json + */ + /** + * Sample code: GenerateP2SVpnGatewayVPNProfile. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void generateP2SVpnGatewayVPNProfile(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getP2SVpnGateways() + .generateVpnProfile( + "rg1", + "p2sVpnGateway1", + new P2SVpnProfileParameters().withAuthenticationMethod(AuthenticationMethod.EAPTLS), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayGenerateVpnProfile.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayGenerateVpnProfile.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayGenerateVpnProfile.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayGet.java new file mode 100644 index 0000000000..0fd39dcb50 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for P2SVpnGateways GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/P2SVpnGatewayGet.json + */ + /** + * Sample code: P2SVpnGatewayGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void p2SVpnGatewayGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getP2SVpnGateways() + .getByResourceGroupWithResponse("rg1", "p2sVpnGateway1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayGetConnectionHealth.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayGetConnectionHealth.java new file mode 100644 index 0000000000..f88e23128d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayGetConnectionHealth.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for P2SVpnGateways GetP2SVpnConnectionHealth. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/P2SVpnGatewayGetConnectionHealth.json + */ + /** + * Sample code: P2SVpnGatewayGetConnectionHealth. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void p2SVpnGatewayGetConnectionHealth(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getP2SVpnGateways() + .getP2SVpnConnectionHealth("rg1", "p2sVpnGateway1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayGetConnectionHealth.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayGetConnectionHealth.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayGetConnectionHealth.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayGetConnectionHealthDetailed.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayGetConnectionHealthDetailed.java new file mode 100644 index 0000000000..2a0a4d455d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayGetConnectionHealthDetailed.java @@ -0,0 +1,30 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.P2SVpnConnectionHealthRequest; +import java.util.Arrays; + +/** Samples for P2SVpnGateways GetP2SVpnConnectionHealthDetailed. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/P2SVpnGatewayGetConnectionHealthDetailed.json + */ + /** + * Sample code: P2SVpnGatewayGetConnectionHealthDetailed. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void p2SVpnGatewayGetConnectionHealthDetailed(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getP2SVpnGateways() + .getP2SVpnConnectionHealthDetailed( + "p2s-vpn-gateway-test", + "p2svpngateway", + new P2SVpnConnectionHealthRequest() + .withVpnUserNamesFilter(Arrays.asList("vpnUser1", "vpnUser2")) + .withOutputBlobSasUrl( + "https://blobcortextesturl.blob.core.windows.net/folderforconfig/p2sconnectionhealths?sp=rw&se=2018-01-10T03%3A42%3A04Z&sv=2017-04-17&sig=WvXrT5bDmDFfgHs%2Brz%2BjAu123eRCNE9BO0eQYcPDT7pY%3D&sr=b"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayGetConnectionHealthDetailed.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayGetConnectionHealthDetailed.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayGetConnectionHealthDetailed.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayList.java new file mode 100644 index 0000000000..e4912d2a71 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for P2SVpnGateways List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/P2SVpnGatewayList.json + */ + /** + * Sample code: P2SVpnGatewayListBySubscription. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void p2SVpnGatewayListBySubscription(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getP2SVpnGateways().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayListByResourceGroup.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayListByResourceGroup.java new file mode 100644 index 0000000000..3cc9405165 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayListByResourceGroup.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for P2SVpnGateways ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/P2SVpnGatewayListByResourceGroup.json + */ + /** + * Sample code: P2SVpnGatewayListByResourceGroup. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void p2SVpnGatewayListByResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getP2SVpnGateways().listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayListByResourceGroup.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayListByResourceGroup.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayPut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayPut.java new file mode 100644 index 0000000000..737b3faeda --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayPut.java @@ -0,0 +1,90 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner; +import com.azure.resourcemanager.network.models.AddressSpace; +import com.azure.resourcemanager.network.models.P2SConnectionConfiguration; +import com.azure.resourcemanager.network.models.PropagatedRouteTable; +import com.azure.resourcemanager.network.models.RoutingConfiguration; +import com.azure.resourcemanager.network.models.VnetRoute; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for P2SVpnGateways CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/P2SVpnGatewayPut.json + */ + /** + * Sample code: P2SVpnGatewayPut. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void p2SVpnGatewayPut(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getP2SVpnGateways() + .createOrUpdate( + "rg1", + "p2sVpnGateway1", + new P2SVpnGatewayInner() + .withLocation("West US") + .withTags(mapOf("key1", "value1")) + .withVirtualHub( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1")) + .withP2SConnectionConfigurations( + Arrays + .asList( + new P2SConnectionConfiguration() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1") + .withName("P2SConnectionConfig1") + .withVpnClientAddressPool( + new AddressSpace().withAddressPrefixes(Arrays.asList("101.3.0.0/16"))) + .withRoutingConfiguration( + new RoutingConfiguration() + .withAssociatedRouteTable( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1")) + .withPropagatedRouteTables( + new PropagatedRouteTable() + .withLabels(Arrays.asList("label1", "label2")) + .withIds( + Arrays + .asList( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1"), + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2"), + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3")))) + .withVnetRoutes(new VnetRoute().withStaticRoutes(Arrays.asList()))))) + .withVpnGatewayScaleUnit(1) + .withVpnServerConfiguration( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1")) + .withCustomDnsServers(Arrays.asList("1.1.1.1", "2.2.2.2")) + .withIsRoutingPreferenceInternet(false), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayReset.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayReset.java new file mode 100644 index 0000000000..e43bdbf2e4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayReset.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for P2SVpnGateways Reset. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/P2SVpnGatewayReset.json + */ + /** + * Sample code: ResetP2SVpnGateway. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void resetP2SVpnGateway(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getP2SVpnGateways().reset("rg1", "p2sVpnGateway1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayReset.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayReset.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayReset.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayUpdateTags.java new file mode 100644 index 0000000000..b4fb04e4f6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayUpdateTags.java @@ -0,0 +1,39 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for P2SVpnGateways UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/P2SVpnGatewayUpdateTags.json + */ + /** + * Sample code: P2SVpnGatewayUpdate. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void p2SVpnGatewayUpdate(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getP2SVpnGateways() + .updateTags( + "rg1", + "p2sVpnGateway1", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2SVpnGatewayUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2sVpnGatewaysDisconnectP2sVpnConnections.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2sVpnGatewaysDisconnectP2sVpnConnections.java new file mode 100644 index 0000000000..200fe401af --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2sVpnGatewaysDisconnectP2sVpnConnections.java @@ -0,0 +1,27 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.P2SVpnConnectionRequest; +import java.util.Arrays; + +/** Samples for P2SVpnGateways DisconnectP2SVpnConnections. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/P2sVpnGatewaysDisconnectP2sVpnConnections.json + */ + /** + * Sample code: Disconnect VpnConnections from P2sVpn Gateway. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void disconnectVpnConnectionsFromP2sVpnGateway(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getP2SVpnGateways() + .disconnectP2SVpnConnections( + "p2s-vpn-gateway-test", + "p2svpngateway", + new P2SVpnConnectionRequest().withVpnConnectionIds(Arrays.asList("vpnconnId1", "vpnconnId2")), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2sVpnGatewaysDisconnectP2sVpnConnections.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2sVpnGatewaysDisconnectP2sVpnConnections.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/P2sVpnGatewaysDisconnectP2sVpnConnections.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PeerExpressRouteCircuitConnectionGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PeerExpressRouteCircuitConnectionGet.java new file mode 100644 index 0000000000..a8fb8f4766 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PeerExpressRouteCircuitConnectionGet.java @@ -0,0 +1,26 @@ +import com.azure.core.util.Context; + +/** Samples for PeerExpressRouteCircuitConnections Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PeerExpressRouteCircuitConnectionGet.json + */ + /** + * Sample code: PeerExpressRouteCircuitConnectionGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void peerExpressRouteCircuitConnectionGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPeerExpressRouteCircuitConnections() + .getWithResponse( + "rg1", + "ExpressRouteARMCircuitA", + "AzurePrivatePeering", + "60aee347-e889-4a42-8c1b-0aae8b1e4013", + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PeerExpressRouteCircuitConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PeerExpressRouteCircuitConnectionGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PeerExpressRouteCircuitConnectionGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PeerExpressRouteCircuitConnectionList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PeerExpressRouteCircuitConnectionList.java new file mode 100644 index 0000000000..e902075596 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PeerExpressRouteCircuitConnectionList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for PeerExpressRouteCircuitConnections List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PeerExpressRouteCircuitConnectionList.json + */ + /** + * Sample code: List Peer ExpressRouteCircuit Connection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listPeerExpressRouteCircuitConnection(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPeerExpressRouteCircuitConnections() + .list("rg1", "ExpressRouteARMCircuitA", "AzurePrivatePeering", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PeerExpressRouteCircuitConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PeerExpressRouteCircuitConnectionList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PeerExpressRouteCircuitConnectionList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointCreate.java new file mode 100644 index 0000000000..4674d99318 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointCreate.java @@ -0,0 +1,52 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.PrivateEndpointInner; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; +import com.azure.resourcemanager.network.models.PrivateEndpointIpConfiguration; +import com.azure.resourcemanager.network.models.PrivateLinkServiceConnection; +import java.util.Arrays; + +/** Samples for PrivateEndpoints CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PrivateEndpointCreate.json + */ + /** + * Sample code: Create private endpoint. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createPrivateEndpoint(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPrivateEndpoints() + .createOrUpdate( + "rg1", + "testPe", + new PrivateEndpointInner() + .withLocation("eastus2euap") + .withSubnet( + new SubnetInner() + .withId( + "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet")) + .withPrivateLinkServiceConnections( + Arrays + .asList( + new PrivateLinkServiceConnection() + .withPrivateLinkServiceId( + "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls") + .withGroupIds(Arrays.asList("groupIdFromResource")) + .withRequestMessage("Please approve my connection."))) + .withIpConfigurations( + Arrays + .asList( + new PrivateEndpointIpConfiguration() + .withName("pestaticconfig") + .withGroupId("file") + .withMemberName("file") + .withPrivateIpAddress("192.168.0.6"))) + .withCustomNetworkInterfaceName("testPeNic"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointCreateForManualApproval.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointCreateForManualApproval.java new file mode 100644 index 0000000000..b1987d3f3d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointCreateForManualApproval.java @@ -0,0 +1,53 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.PrivateEndpointInner; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; +import com.azure.resourcemanager.network.models.PrivateEndpointIpConfiguration; +import com.azure.resourcemanager.network.models.PrivateLinkServiceConnection; +import java.util.Arrays; + +/** Samples for PrivateEndpoints CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PrivateEndpointCreateForManualApproval.json + */ + /** + * Sample code: Create private endpoint with manual approval connection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createPrivateEndpointWithManualApprovalConnection( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPrivateEndpoints() + .createOrUpdate( + "rg1", + "testPe", + new PrivateEndpointInner() + .withLocation("eastus") + .withSubnet( + new SubnetInner() + .withId( + "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet")) + .withManualPrivateLinkServiceConnections( + Arrays + .asList( + new PrivateLinkServiceConnection() + .withPrivateLinkServiceId( + "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls") + .withGroupIds(Arrays.asList("groupIdFromResource")) + .withRequestMessage("Please manually approve my connection."))) + .withIpConfigurations( + Arrays + .asList( + new PrivateEndpointIpConfiguration() + .withName("pestaticconfig") + .withGroupId("file") + .withMemberName("file") + .withPrivateIpAddress("192.168.0.5"))) + .withCustomNetworkInterfaceName("testPeNic"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointCreateForManualApproval.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointCreateForManualApproval.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointCreateForManualApproval.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointCreateWithASG.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointCreateWithASG.java new file mode 100644 index 0000000000..36d0b9bf78 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointCreateWithASG.java @@ -0,0 +1,50 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.ApplicationSecurityGroupInner; +import com.azure.resourcemanager.network.fluent.models.PrivateEndpointInner; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; +import com.azure.resourcemanager.network.models.PrivateLinkServiceConnection; +import java.util.Arrays; + +/** Samples for PrivateEndpoints CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PrivateEndpointCreateWithASG.json + */ + /** + * Sample code: Create private endpoint with application security groups. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createPrivateEndpointWithApplicationSecurityGroups( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPrivateEndpoints() + .createOrUpdate( + "rg1", + "testPe", + new PrivateEndpointInner() + .withLocation("eastus2euap") + .withSubnet( + new SubnetInner() + .withId( + "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet")) + .withPrivateLinkServiceConnections( + Arrays + .asList( + new PrivateLinkServiceConnection() + .withPrivateLinkServiceId( + "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls") + .withGroupIds(Arrays.asList("groupIdFromResource")) + .withRequestMessage("Please approve my connection."))) + .withApplicationSecurityGroups( + Arrays + .asList( + new ApplicationSecurityGroupInner() + .withId( + "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/applicationSecurityGroup/asg1"))), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointCreateWithASG.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointCreateWithASG.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointCreateWithASG.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointDelete.java new file mode 100644 index 0000000000..41d6c9bf5e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateEndpoints Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PrivateEndpointDelete.json + */ + /** + * Sample code: Delete private endpoint. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deletePrivateEndpoint(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getPrivateEndpoints().delete("rg1", "testPe", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointDnsZoneGroupCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointDnsZoneGroupCreate.java new file mode 100644 index 0000000000..8f09b6abf6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointDnsZoneGroupCreate.java @@ -0,0 +1,35 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.PrivateDnsZoneGroupInner; +import com.azure.resourcemanager.network.models.PrivateDnsZoneConfig; +import java.util.Arrays; + +/** Samples for PrivateDnsZoneGroups CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PrivateEndpointDnsZoneGroupCreate.json + */ + /** + * Sample code: Create private dns zone group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createPrivateDnsZoneGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPrivateDnsZoneGroups() + .createOrUpdate( + "rg1", + "testPe", + "testPdnsgroup", + new PrivateDnsZoneGroupInner() + .withPrivateDnsZoneConfigs( + Arrays + .asList( + new PrivateDnsZoneConfig() + .withPrivateDnsZoneId( + "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateDnsZones/zone1.com"))), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointDnsZoneGroupCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointDnsZoneGroupCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointDnsZoneGroupCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointDnsZoneGroupDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointDnsZoneGroupDelete.java new file mode 100644 index 0000000000..41035b6657 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointDnsZoneGroupDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateDnsZoneGroups Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PrivateEndpointDnsZoneGroupDelete.json + */ + /** + * Sample code: Delete private dns zone group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deletePrivateDnsZoneGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPrivateDnsZoneGroups() + .delete("rg1", "testPe", "testPdnsgroup", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointDnsZoneGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointDnsZoneGroupDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointDnsZoneGroupDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointDnsZoneGroupGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointDnsZoneGroupGet.java new file mode 100644 index 0000000000..86688099b8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointDnsZoneGroupGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateDnsZoneGroups Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PrivateEndpointDnsZoneGroupGet.json + */ + /** + * Sample code: Get private dns zone group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getPrivateDnsZoneGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPrivateDnsZoneGroups() + .getWithResponse("rg1", "testPe", "testPdnsgroup", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointDnsZoneGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointDnsZoneGroupGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointDnsZoneGroupGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointDnsZoneGroupList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointDnsZoneGroupList.java new file mode 100644 index 0000000000..c6265bd131 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointDnsZoneGroupList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateDnsZoneGroups List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PrivateEndpointDnsZoneGroupList.json + */ + /** + * Sample code: List private endpoints in resource group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listPrivateEndpointsInResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getPrivateDnsZoneGroups().list("testPe", "rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointDnsZoneGroupList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointDnsZoneGroupList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointDnsZoneGroupList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointGet.java new file mode 100644 index 0000000000..370dae3861 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateEndpoints GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PrivateEndpointGet.json + */ + /** + * Sample code: Get private endpoint. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getPrivateEndpoint(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPrivateEndpoints() + .getByResourceGroupWithResponse("rg1", "testPe", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointGetForManualApproval.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointGetForManualApproval.java new file mode 100644 index 0000000000..5136a87f7c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointGetForManualApproval.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateEndpoints GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PrivateEndpointGetForManualApproval.json + */ + /** + * Sample code: Get private endpoint with manual approval connection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getPrivateEndpointWithManualApprovalConnection( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPrivateEndpoints() + .getByResourceGroupWithResponse("rg1", "testPe", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointGetForManualApproval.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointGetForManualApproval.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointGetForManualApproval.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointGetWithASG.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointGetWithASG.java new file mode 100644 index 0000000000..cfc597f2ef --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointGetWithASG.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateEndpoints GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PrivateEndpointGetWithASG.json + */ + /** + * Sample code: Get private endpoint with application security groups. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getPrivateEndpointWithApplicationSecurityGroups( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPrivateEndpoints() + .getByResourceGroupWithResponse("rg1", "testPe", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointGetWithASG.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointGetWithASG.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointGetWithASG.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointList.java new file mode 100644 index 0000000000..5ff9388f27 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateEndpoints ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PrivateEndpointList.json + */ + /** + * Sample code: List private endpoints in resource group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listPrivateEndpointsInResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getPrivateEndpoints().listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointListAll.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointListAll.java new file mode 100644 index 0000000000..9bba2faf3f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointListAll.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateEndpoints List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PrivateEndpointListAll.json + */ + /** + * Sample code: List all private endpoints. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllPrivateEndpoints(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getPrivateEndpoints().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointListAll.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateEndpointListAll.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceCreate.java new file mode 100644 index 0000000000..de6c3d98c4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceCreate.java @@ -0,0 +1,60 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.FrontendIpConfigurationInner; +import com.azure.resourcemanager.network.fluent.models.PrivateLinkServiceInner; +import com.azure.resourcemanager.network.fluent.models.PrivateLinkServiceIpConfigurationInner; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; +import com.azure.resourcemanager.network.models.IpAllocationMethod; +import com.azure.resourcemanager.network.models.IpVersion; +import com.azure.resourcemanager.network.models.PrivateLinkServicePropertiesAutoApproval; +import com.azure.resourcemanager.network.models.PrivateLinkServicePropertiesVisibility; +import java.util.Arrays; + +/** Samples for PrivateLinkServices CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PrivateLinkServiceCreate.json + */ + /** + * Sample code: Create private link service. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createPrivateLinkService(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPrivateLinkServices() + .createOrUpdate( + "rg1", + "testPls", + new PrivateLinkServiceInner() + .withLocation("eastus") + .withLoadBalancerFrontendIpConfigurations( + Arrays + .asList( + new FrontendIpConfigurationInner() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"))) + .withIpConfigurations( + Arrays + .asList( + new PrivateLinkServiceIpConfigurationInner() + .withName("fe-lb") + .withPrivateIpAddress("10.0.1.4") + .withPrivateIpAllocationMethod(IpAllocationMethod.STATIC) + .withSubnet( + new SubnetInner() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb")) + .withPrivateIpAddressVersion(IpVersion.IPV4))) + .withVisibility( + new PrivateLinkServicePropertiesVisibility() + .withSubscriptions(Arrays.asList("subscription1", "subscription2", "subscription3"))) + .withAutoApproval( + new PrivateLinkServicePropertiesAutoApproval() + .withSubscriptions(Arrays.asList("subscription1", "subscription2"))) + .withFqdns(Arrays.asList("fqdn1", "fqdn2", "fqdn3")), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceDelete.java new file mode 100644 index 0000000000..83cf230700 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateLinkServices Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PrivateLinkServiceDelete.json + */ + /** + * Sample code: Delete private link service. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deletePrivateLinkService(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getPrivateLinkServices().delete("rg1", "testPls", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceDeletePrivateEndpointConnection.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceDeletePrivateEndpointConnection.java new file mode 100644 index 0000000000..084f5a3298 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceDeletePrivateEndpointConnection.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateLinkServices DeletePrivateEndpointConnection. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PrivateLinkServiceDeletePrivateEndpointConnection.json + */ + /** + * Sample code: delete private end point connection for a private link service. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deletePrivateEndPointConnectionForAPrivateLinkService( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPrivateLinkServices() + .deletePrivateEndpointConnection("rg1", "testPls", "testPlePeConnection", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceDeletePrivateEndpointConnection.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceDeletePrivateEndpointConnection.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceDeletePrivateEndpointConnection.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceGet.java new file mode 100644 index 0000000000..861fb5cd3f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateLinkServices GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PrivateLinkServiceGet.json + */ + /** + * Sample code: Get private link service. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getPrivateLinkService(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPrivateLinkServices() + .getByResourceGroupWithResponse("rg1", "testPls", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceGetPrivateEndpointConnection.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceGetPrivateEndpointConnection.java new file mode 100644 index 0000000000..29fe24fa8b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceGetPrivateEndpointConnection.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateLinkServices GetPrivateEndpointConnection. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PrivateLinkServiceGetPrivateEndpointConnection.json + */ + /** + * Sample code: Get private end point connection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getPrivateEndPointConnection(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPrivateLinkServices() + .getPrivateEndpointConnectionWithResponse("rg1", "testPls", "testPlePeConnection", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceGetPrivateEndpointConnection.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceGetPrivateEndpointConnection.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceGetPrivateEndpointConnection.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceList.java new file mode 100644 index 0000000000..18c856fe2c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateLinkServices ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PrivateLinkServiceList.json + */ + /** + * Sample code: List private link service in resource group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listPrivateLinkServiceInResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getPrivateLinkServices().listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceListAll.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceListAll.java new file mode 100644 index 0000000000..bf443bf97b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceListAll.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateLinkServices List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PrivateLinkServiceListAll.json + */ + /** + * Sample code: List all private list service. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllPrivateListService(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getPrivateLinkServices().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceListAll.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceListAll.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceListPrivateEndpointConnection.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceListPrivateEndpointConnection.java new file mode 100644 index 0000000000..7fec7d191d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceListPrivateEndpointConnection.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateLinkServices ListPrivateEndpointConnections. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PrivateLinkServiceListPrivateEndpointConnection.json + */ + /** + * Sample code: List private link service in resource group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listPrivateLinkServiceInResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPrivateLinkServices() + .listPrivateEndpointConnections("rg1", "testPls", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceListPrivateEndpointConnection.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceListPrivateEndpointConnection.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceListPrivateEndpointConnection.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceUpdatePrivateEndpointConnection.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceUpdatePrivateEndpointConnection.java new file mode 100644 index 0000000000..d02abf63f6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceUpdatePrivateEndpointConnection.java @@ -0,0 +1,34 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.PrivateEndpointConnectionInner; +import com.azure.resourcemanager.network.models.PrivateLinkServiceConnectionState; + +/** Samples for PrivateLinkServices UpdatePrivateEndpointConnection. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json + */ + /** + * Sample code: approve or reject private end point connection for a private link service. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void approveOrRejectPrivateEndPointConnectionForAPrivateLinkService( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPrivateLinkServices() + .updatePrivateEndpointConnectionWithResponse( + "rg1", + "testPls", + "testPlePeConnection", + new PrivateEndpointConnectionInner() + .withName("testPlePeConnection") + .withPrivateLinkServiceConnectionState( + new PrivateLinkServiceConnectionState() + .withStatus("Approved") + .withDescription("approved it for some reason.")), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceUpdatePrivateEndpointConnection.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceUpdatePrivateEndpointConnection.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PrivateLinkServiceUpdatePrivateEndpointConnection.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressCreateCustomizedValues.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressCreateCustomizedValues.java new file mode 100644 index 0000000000..1b69637a11 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressCreateCustomizedValues.java @@ -0,0 +1,39 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.PublicIpAddressInner; +import com.azure.resourcemanager.network.models.IpAllocationMethod; +import com.azure.resourcemanager.network.models.IpVersion; +import com.azure.resourcemanager.network.models.PublicIpAddressSku; +import com.azure.resourcemanager.network.models.PublicIpAddressSkuName; +import com.azure.resourcemanager.network.models.PublicIpAddressSkuTier; + +/** Samples for PublicIpAddresses CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PublicIpAddressCreateCustomizedValues.json + */ + /** + * Sample code: Create public IP address allocation method. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createPublicIPAddressAllocationMethod(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPublicIpAddresses() + .createOrUpdate( + "rg1", + "test-ip", + new PublicIpAddressInner() + .withLocation("eastus") + .withSku( + new PublicIpAddressSku() + .withName(PublicIpAddressSkuName.STANDARD) + .withTier(PublicIpAddressSkuTier.GLOBAL)) + .withPublicIpAllocationMethod(IpAllocationMethod.STATIC) + .withPublicIpAddressVersion(IpVersion.IPV4) + .withIdleTimeoutInMinutes(10), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressCreateCustomizedValues.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressCreateCustomizedValues.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressCreateCustomizedValues.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressCreateDefaults.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressCreateDefaults.java new file mode 100644 index 0000000000..1cf88be570 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressCreateDefaults.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.PublicIpAddressInner; + +/** Samples for PublicIpAddresses CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PublicIpAddressCreateDefaults.json + */ + /** + * Sample code: Create public IP address defaults. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createPublicIPAddressDefaults(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPublicIpAddresses() + .createOrUpdate("rg1", "test-ip", new PublicIpAddressInner().withLocation("eastus"), Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressCreateDefaults.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressCreateDefaults.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressCreateDefaults.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressCreateDns.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressCreateDns.java new file mode 100644 index 0000000000..3792819167 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressCreateDns.java @@ -0,0 +1,29 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.PublicIpAddressInner; +import com.azure.resourcemanager.network.models.PublicIpAddressDnsSettings; + +/** Samples for PublicIpAddresses CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PublicIpAddressCreateDns.json + */ + /** + * Sample code: Create public IP address DNS. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createPublicIPAddressDNS(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPublicIpAddresses() + .createOrUpdate( + "rg1", + "test-ip", + new PublicIpAddressInner() + .withLocation("eastus") + .withDnsSettings(new PublicIpAddressDnsSettings().withDomainNameLabel("dnslbl")), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressCreateDns.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressCreateDns.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressCreateDns.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressDelete.java new file mode 100644 index 0000000000..57a67eade4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for PublicIpAddresses Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PublicIpAddressDelete.json + */ + /** + * Sample code: Delete public IP address. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deletePublicIPAddress(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getPublicIpAddresses().delete("rg1", "test-ip", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressGet.java new file mode 100644 index 0000000000..88b5e6746d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for PublicIpAddresses GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PublicIpAddressGet.json + */ + /** + * Sample code: Get public IP address. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getPublicIPAddress(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPublicIpAddresses() + .getByResourceGroupWithResponse("rg1", "testDNS-ip", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressList.java new file mode 100644 index 0000000000..e42f0be2e9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for PublicIpAddresses ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PublicIpAddressList.json + */ + /** + * Sample code: List resource group public IP addresses. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listResourceGroupPublicIPAddresses(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getPublicIpAddresses().listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressListAll.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressListAll.java new file mode 100644 index 0000000000..8475c1a014 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressListAll.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for PublicIpAddresses List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PublicIpAddressListAll.json + */ + /** + * Sample code: List all public IP addresses. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllPublicIPAddresses(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getPublicIpAddresses().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressListAll.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressListAll.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressUpdateTags.java new file mode 100644 index 0000000000..32e2ae0d7e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressUpdateTags.java @@ -0,0 +1,36 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for PublicIpAddresses UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PublicIpAddressUpdateTags.json + */ + /** + * Sample code: Update public IP address tags. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updatePublicIPAddressTags(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPublicIpAddresses() + .updateTagsWithResponse( + "rg1", "test-ip", new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpAddressUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixCreateCustomizedValues.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixCreateCustomizedValues.java new file mode 100644 index 0000000000..925946128b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixCreateCustomizedValues.java @@ -0,0 +1,37 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.PublicIpPrefixInner; +import com.azure.resourcemanager.network.models.IpVersion; +import com.azure.resourcemanager.network.models.PublicIpPrefixSku; +import com.azure.resourcemanager.network.models.PublicIpPrefixSkuName; +import com.azure.resourcemanager.network.models.PublicIpPrefixSkuTier; + +/** Samples for PublicIpPrefixes CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PublicIpPrefixCreateCustomizedValues.json + */ + /** + * Sample code: Create public IP prefix allocation method. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createPublicIPPrefixAllocationMethod(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPublicIpPrefixes() + .createOrUpdate( + "rg1", + "test-ipprefix", + new PublicIpPrefixInner() + .withLocation("westus") + .withSku( + new PublicIpPrefixSku() + .withName(PublicIpPrefixSkuName.STANDARD) + .withTier(PublicIpPrefixSkuTier.REGIONAL)) + .withPublicIpAddressVersion(IpVersion.IPV4) + .withPrefixLength(30), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixCreateCustomizedValues.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixCreateCustomizedValues.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixCreateCustomizedValues.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixCreateDefaults.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixCreateDefaults.java new file mode 100644 index 0000000000..b21450d4a8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixCreateDefaults.java @@ -0,0 +1,31 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.PublicIpPrefixInner; +import com.azure.resourcemanager.network.models.PublicIpPrefixSku; +import com.azure.resourcemanager.network.models.PublicIpPrefixSkuName; + +/** Samples for PublicIpPrefixes CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PublicIpPrefixCreateDefaults.json + */ + /** + * Sample code: Create public IP prefix defaults. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createPublicIPPrefixDefaults(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPublicIpPrefixes() + .createOrUpdate( + "rg1", + "test-ipprefix", + new PublicIpPrefixInner() + .withLocation("westus") + .withSku(new PublicIpPrefixSku().withName(PublicIpPrefixSkuName.STANDARD)) + .withPrefixLength(30), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixCreateDefaults.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixCreateDefaults.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixCreateDefaults.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixDelete.java new file mode 100644 index 0000000000..62de799c42 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for PublicIpPrefixes Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PublicIpPrefixDelete.json + */ + /** + * Sample code: Delete public IP prefix. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deletePublicIPPrefix(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getPublicIpPrefixes().delete("rg1", "test-ipprefix", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixGet.java new file mode 100644 index 0000000000..c8ee9f87d1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for PublicIpPrefixes GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PublicIpPrefixGet.json + */ + /** + * Sample code: Get public IP prefix. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getPublicIPPrefix(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPublicIpPrefixes() + .getByResourceGroupWithResponse("rg1", "test-ipprefix", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixList.java new file mode 100644 index 0000000000..6ae3f077ae --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for PublicIpPrefixes ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PublicIpPrefixList.json + */ + /** + * Sample code: List resource group public IP prefixes. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listResourceGroupPublicIPPrefixes(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getPublicIpPrefixes().listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixListAll.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixListAll.java new file mode 100644 index 0000000000..2623aff74c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixListAll.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for PublicIpPrefixes List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PublicIpPrefixListAll.json + */ + /** + * Sample code: List all public IP prefixes. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllPublicIPPrefixes(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getPublicIpPrefixes().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixListAll.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixListAll.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixUpdateTags.java new file mode 100644 index 0000000000..194d320b42 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixUpdateTags.java @@ -0,0 +1,39 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for PublicIpPrefixes UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/PublicIpPrefixUpdateTags.json + */ + /** + * Sample code: Update public IP prefix tags. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updatePublicIPPrefixTags(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPublicIpPrefixes() + .updateTagsWithResponse( + "rg1", + "test-ipprefix", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/PublicIpPrefixUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/QueryInboundNatRulePortMapping.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/QueryInboundNatRulePortMapping.java new file mode 100644 index 0000000000..06ddf87607 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/QueryInboundNatRulePortMapping.java @@ -0,0 +1,27 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.QueryInboundNatRulePortMappingRequest; + +/** Samples for LoadBalancers ListInboundNatRulePortMappings. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/QueryInboundNatRulePortMapping.json + */ + /** + * Sample code: Query inbound NAT rule port mapping. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void queryInboundNATRulePortMapping(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getLoadBalancers() + .listInboundNatRulePortMappings( + "rg1", + "lb1", + "bp1", + new QueryInboundNatRulePortMappingRequest().withIpAddress("10.0.0.4"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/QueryInboundNatRulePortMapping.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/QueryInboundNatRulePortMapping.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/QueryInboundNatRulePortMapping.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterCreate.java new file mode 100644 index 0000000000..969eeaae9f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterCreate.java @@ -0,0 +1,53 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.RouteFilterInner; +import com.azure.resourcemanager.network.fluent.models.RouteFilterRuleInner; +import com.azure.resourcemanager.network.models.Access; +import com.azure.resourcemanager.network.models.RouteFilterRuleType; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for RouteFilters CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/RouteFilterCreate.json + */ + /** + * Sample code: RouteFilterCreate. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void routeFilterCreate(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getRouteFilters() + .createOrUpdate( + "rg1", + "filterName", + new RouteFilterInner() + .withLocation("West US") + .withTags(mapOf("key1", "value1")) + .withRules( + Arrays + .asList( + new RouteFilterRuleInner() + .withName("ruleName") + .withAccess(Access.ALLOW) + .withRouteFilterRuleType(RouteFilterRuleType.COMMUNITY) + .withCommunities(Arrays.asList("12076:5030", "12076:5040")))), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterDelete.java new file mode 100644 index 0000000000..ae3ff450ca --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for RouteFilters Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/RouteFilterDelete.json + */ + /** + * Sample code: RouteFilterDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void routeFilterDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getRouteFilters().delete("rg1", "filterName", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterGet.java new file mode 100644 index 0000000000..0d56533e1b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for RouteFilters GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/RouteFilterGet.json + */ + /** + * Sample code: RouteFilterGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void routeFilterGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getRouteFilters() + .getByResourceGroupWithResponse("rg1", "filterName", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterList.java new file mode 100644 index 0000000000..657c35b43e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for RouteFilters List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/RouteFilterList.json + */ + /** + * Sample code: RouteFilterList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void routeFilterList(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getRouteFilters().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterListByResourceGroup.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterListByResourceGroup.java new file mode 100644 index 0000000000..1446ad7660 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterListByResourceGroup.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for RouteFilters ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/RouteFilterListByResourceGroup.json + */ + /** + * Sample code: RouteFilterListByResourceGroup. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void routeFilterListByResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getRouteFilters().listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterListByResourceGroup.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterListByResourceGroup.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterRuleCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterRuleCreate.java new file mode 100644 index 0000000000..395f479089 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterRuleCreate.java @@ -0,0 +1,33 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.RouteFilterRuleInner; +import com.azure.resourcemanager.network.models.Access; +import com.azure.resourcemanager.network.models.RouteFilterRuleType; +import java.util.Arrays; + +/** Samples for RouteFilterRules CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/RouteFilterRuleCreate.json + */ + /** + * Sample code: RouteFilterRuleCreate. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void routeFilterRuleCreate(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getRouteFilterRules() + .createOrUpdate( + "rg1", + "filterName", + "ruleName", + new RouteFilterRuleInner() + .withAccess(Access.ALLOW) + .withRouteFilterRuleType(RouteFilterRuleType.COMMUNITY) + .withCommunities(Arrays.asList("12076:5030", "12076:5040")), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterRuleCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterRuleCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterRuleDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterRuleDelete.java new file mode 100644 index 0000000000..344bae2573 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterRuleDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for RouteFilterRules Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/RouteFilterRuleDelete.json + */ + /** + * Sample code: RouteFilterRuleDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void routeFilterRuleDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getRouteFilterRules() + .delete("rg1", "filterName", "ruleName", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterRuleDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterRuleDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterRuleGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterRuleGet.java new file mode 100644 index 0000000000..5d8e9778d7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterRuleGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for RouteFilterRules Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/RouteFilterRuleGet.json + */ + /** + * Sample code: RouteFilterRuleGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void routeFilterRuleGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getRouteFilterRules() + .getWithResponse("rg1", "filterName", "filterName", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterRuleGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterRuleGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterRuleListByRouteFilter.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterRuleListByRouteFilter.java new file mode 100644 index 0000000000..d7258a1ad0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterRuleListByRouteFilter.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for RouteFilterRules ListByRouteFilter. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/RouteFilterRuleListByRouteFilter.json + */ + /** + * Sample code: RouteFilterRuleListByRouteFilter. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void routeFilterRuleListByRouteFilter(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getRouteFilterRules() + .listByRouteFilter("rg1", "filterName", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterRuleListByRouteFilter.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterRuleListByRouteFilter.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterRuleListByRouteFilter.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterUpdateTags.java new file mode 100644 index 0000000000..3939d4912f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterUpdateTags.java @@ -0,0 +1,36 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for RouteFilters UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/RouteFilterUpdateTags.json + */ + /** + * Sample code: Update route filter tags. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateRouteFilterTags(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getRouteFilters() + .updateTagsWithResponse( + "rg1", "filterName", new TagsObject().withTags(mapOf("key1", "value1")), Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteFilterUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableCreate.java new file mode 100644 index 0000000000..709da2ebd0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableCreate.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.RouteTableInner; + +/** Samples for RouteTables CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/RouteTableCreate.json + */ + /** + * Sample code: Create route table. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createRouteTable(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getRouteTables() + .createOrUpdate("rg1", "testrt", new RouteTableInner().withLocation("westus"), Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableCreateWithRoute.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableCreateWithRoute.java new file mode 100644 index 0000000000..c09372ae0d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableCreateWithRoute.java @@ -0,0 +1,38 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.RouteInner; +import com.azure.resourcemanager.network.fluent.models.RouteTableInner; +import com.azure.resourcemanager.network.models.RouteNextHopType; +import java.util.Arrays; + +/** Samples for RouteTables CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/RouteTableCreateWithRoute.json + */ + /** + * Sample code: Create route table with route. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createRouteTableWithRoute(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getRouteTables() + .createOrUpdate( + "rg1", + "testrt", + new RouteTableInner() + .withLocation("westus") + .withRoutes( + Arrays + .asList( + new RouteInner() + .withName("route1") + .withAddressPrefix("10.0.3.0/24") + .withNextHopType(RouteNextHopType.VIRTUAL_NETWORK_GATEWAY))) + .withDisableBgpRoutePropagation(true), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableCreateWithRoute.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableCreateWithRoute.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableCreateWithRoute.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableDelete.java new file mode 100644 index 0000000000..e65ccb8752 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for RouteTables Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/RouteTableDelete.json + */ + /** + * Sample code: Delete route table. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteRouteTable(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getRouteTables().delete("rg1", "testrt", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableGet.java new file mode 100644 index 0000000000..4d8543eff1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for RouteTables GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/RouteTableGet.json + */ + /** + * Sample code: Get route table. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getRouteTable(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getRouteTables() + .getByResourceGroupWithResponse("rg1", "testrt", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableList.java new file mode 100644 index 0000000000..fbe4065a6f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for RouteTables ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/RouteTableList.json + */ + /** + * Sample code: List route tables in resource group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listRouteTablesInResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getRouteTables().listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableListAll.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableListAll.java new file mode 100644 index 0000000000..c2c89564b2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableListAll.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for RouteTables List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/RouteTableListAll.json + */ + /** + * Sample code: List all route tables. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllRouteTables(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getRouteTables().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableListAll.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableListAll.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableRouteCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableRouteCreate.java new file mode 100644 index 0000000000..1d7c6d6bbc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableRouteCreate.java @@ -0,0 +1,30 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.RouteInner; +import com.azure.resourcemanager.network.models.RouteNextHopType; + +/** Samples for Routes CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/RouteTableRouteCreate.json + */ + /** + * Sample code: Create route. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createRoute(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getRoutes() + .createOrUpdate( + "rg1", + "testrt", + "route1", + new RouteInner() + .withAddressPrefix("10.0.3.0/24") + .withNextHopType(RouteNextHopType.VIRTUAL_NETWORK_GATEWAY), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableRouteCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableRouteCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableRouteCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableRouteDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableRouteDelete.java new file mode 100644 index 0000000000..85f8bf9f6e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableRouteDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for Routes Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/RouteTableRouteDelete.json + */ + /** + * Sample code: Delete route. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteRoute(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getRoutes().delete("rg1", "testrt", "route1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableRouteDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableRouteDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableRouteDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableRouteGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableRouteGet.java new file mode 100644 index 0000000000..bc0c785826 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableRouteGet.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for Routes Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/RouteTableRouteGet.json + */ + /** + * Sample code: Get route. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getRoute(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getRoutes().getWithResponse("rg1", "testrt", "route1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableRouteGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableRouteGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableRouteGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableRouteList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableRouteList.java new file mode 100644 index 0000000000..0b65902b90 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableRouteList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for Routes List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/RouteTableRouteList.json + */ + /** + * Sample code: List routes. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listRoutes(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getRoutes().list("rg1", "testrt", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableRouteList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableRouteList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableRouteList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableUpdateTags.java new file mode 100644 index 0000000000..5dd0618fba --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableUpdateTags.java @@ -0,0 +1,36 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for RouteTables UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/RouteTableUpdateTags.json + */ + /** + * Sample code: Update route table tags. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateRouteTableTags(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getRouteTables() + .updateTagsWithResponse( + "rg1", "testrt", new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RouteTableUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RoutingIntentDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RoutingIntentDelete.java new file mode 100644 index 0000000000..7077b14ce1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RoutingIntentDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for RoutingIntent Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/RoutingIntentDelete.json + */ + /** + * Sample code: RouteTableDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void routeTableDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getRoutingIntents() + .delete("rg1", "virtualHub1", "Intent1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RoutingIntentDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RoutingIntentDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RoutingIntentDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RoutingIntentGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RoutingIntentGet.java new file mode 100644 index 0000000000..da4dc54e14 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RoutingIntentGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for RoutingIntent Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/RoutingIntentGet.json + */ + /** + * Sample code: RouteTableGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void routeTableGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getRoutingIntents() + .getWithResponse("rg1", "virtualHub1", "Intent1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RoutingIntentGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RoutingIntentGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RoutingIntentGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RoutingIntentList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RoutingIntentList.java new file mode 100644 index 0000000000..8bbfe59524 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RoutingIntentList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for RoutingIntent List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/RoutingIntentList.json + */ + /** + * Sample code: RoutingIntentList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void routingIntentList(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getRoutingIntents().list("rg1", "virtualHub1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RoutingIntentList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RoutingIntentList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RoutingIntentList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RoutingIntentPut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RoutingIntentPut.java new file mode 100644 index 0000000000..f6f781cc1c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RoutingIntentPut.java @@ -0,0 +1,42 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.RoutingIntentInner; +import com.azure.resourcemanager.network.models.RoutingPolicy; +import java.util.Arrays; + +/** Samples for RoutingIntent CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/RoutingIntentPut.json + */ + /** + * Sample code: RouteTablePut. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void routeTablePut(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getRoutingIntents() + .createOrUpdate( + "rg1", + "virtualHub1", + "Intent1", + new RoutingIntentInner() + .withRoutingPolicies( + Arrays + .asList( + new RoutingPolicy() + .withName("InternetTraffic") + .withDestinations(Arrays.asList("Internet")) + .withNextHop( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfw1"), + new RoutingPolicy() + .withName("PrivateTrafficPolicy") + .withDestinations(Arrays.asList("PrivateTraffic")) + .withNextHop( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfw1"))), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RoutingIntentPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RoutingIntentPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/RoutingIntentPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderDelete.java new file mode 100644 index 0000000000..24c7deeadb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for SecurityPartnerProviders Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/SecurityPartnerProviderDelete.json + */ + /** + * Sample code: Delete Security Partner Provider. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteSecurityPartnerProvider(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getSecurityPartnerProviders() + .delete("rg1", "securityPartnerProvider", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderGet.java new file mode 100644 index 0000000000..9b5766803e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for SecurityPartnerProviders GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/SecurityPartnerProviderGet.json + */ + /** + * Sample code: Get Security Partner Provider. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getSecurityPartnerProvider(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getSecurityPartnerProviders() + .getByResourceGroupWithResponse("rg1", "securityPartnerProvider", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderListByResourceGroup.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderListByResourceGroup.java new file mode 100644 index 0000000000..625a890f63 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderListByResourceGroup.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for SecurityPartnerProviders ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/SecurityPartnerProviderListByResourceGroup.json + */ + /** + * Sample code: List all Security Partner Providers for a given resource group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllSecurityPartnerProvidersForAGivenResourceGroup( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getSecurityPartnerProviders() + .listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderListByResourceGroup.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderListByResourceGroup.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderListBySubscription.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderListBySubscription.java new file mode 100644 index 0000000000..dd7a12bdac --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderListBySubscription.java @@ -0,0 +1,17 @@ +import com.azure.core.util.Context; + +/** Samples for SecurityPartnerProviders List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/SecurityPartnerProviderListBySubscription.json + */ + /** + * Sample code: List all Security Partner Providers for a given subscription. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllSecurityPartnerProvidersForAGivenSubscription( + com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getSecurityPartnerProviders().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderListBySubscription.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderListBySubscription.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderPut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderPut.java new file mode 100644 index 0000000000..f095cea34e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderPut.java @@ -0,0 +1,48 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.SecurityPartnerProviderInner; +import com.azure.resourcemanager.network.models.SecurityProviderName; +import java.util.HashMap; +import java.util.Map; + +/** Samples for SecurityPartnerProviders CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/SecurityPartnerProviderPut.json + */ + /** + * Sample code: Create Security Partner Provider. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createSecurityPartnerProvider(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getSecurityPartnerProviders() + .createOrUpdate( + "rg1", + "securityPartnerProvider", + new SecurityPartnerProviderInner() + .withLocation("West US") + .withTags(mapOf("key1", "value1")) + .withSecurityProviderName(SecurityProviderName.ZSCALER) + .withVirtualHub( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderUpdateTags.java new file mode 100644 index 0000000000..19873a800e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderUpdateTags.java @@ -0,0 +1,39 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for SecurityPartnerProviders UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/SecurityPartnerProviderUpdateTags.json + */ + /** + * Sample code: Update Security Partner Provider Tags. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateSecurityPartnerProviderTags(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getSecurityPartnerProviders() + .updateTagsWithResponse( + "rg1", + "securityPartnerProvider", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SecurityPartnerProviderUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceCommunityList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceCommunityList.java new file mode 100644 index 0000000000..d6f6d1a5d1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceCommunityList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for BgpServiceCommunities List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ServiceCommunityList.json + */ + /** + * Sample code: ServiceCommunityList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void serviceCommunityList(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getBgpServiceCommunities().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceCommunityList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceCommunityList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceCommunityList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyCreate.java new file mode 100644 index 0000000000..dc6256d9ef --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyCreate.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.ServiceEndpointPolicyInner; + +/** Samples for ServiceEndpointPolicies CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ServiceEndpointPolicyCreate.json + */ + /** + * Sample code: Create service endpoint policy. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createServiceEndpointPolicy(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getServiceEndpointPolicies() + .createOrUpdate("rg1", "testPolicy", new ServiceEndpointPolicyInner().withLocation("westus"), Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyCreateWithDefinition.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyCreateWithDefinition.java new file mode 100644 index 0000000000..a7b88afc32 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyCreateWithDefinition.java @@ -0,0 +1,42 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.ServiceEndpointPolicyDefinitionInner; +import com.azure.resourcemanager.network.fluent.models.ServiceEndpointPolicyInner; +import java.util.Arrays; + +/** Samples for ServiceEndpointPolicies CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ServiceEndpointPolicyCreateWithDefinition.json + */ + /** + * Sample code: Create service endpoint policy with definition. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createServiceEndpointPolicyWithDefinition(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getServiceEndpointPolicies() + .createOrUpdate( + "rg1", + "testPolicy", + new ServiceEndpointPolicyInner() + .withLocation("westus") + .withServiceEndpointPolicyDefinitions( + Arrays + .asList( + new ServiceEndpointPolicyDefinitionInner() + .withName("StorageServiceEndpointPolicyDefinition") + .withDescription("Storage Service EndpointPolicy Definition") + .withService("Microsoft.Storage") + .withServiceResources( + Arrays + .asList( + "/subscriptions/subid1", + "/subscriptions/subid1/resourceGroups/storageRg", + "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount")))), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyCreateWithDefinition.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyCreateWithDefinition.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyCreateWithDefinition.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyDefinitionCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyDefinitionCreate.java new file mode 100644 index 0000000000..53248bcf8a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyDefinitionCreate.java @@ -0,0 +1,36 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.ServiceEndpointPolicyDefinitionInner; +import java.util.Arrays; + +/** Samples for ServiceEndpointPolicyDefinitions CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ServiceEndpointPolicyDefinitionCreate.json + */ + /** + * Sample code: Create service endpoint policy definition. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createServiceEndpointPolicyDefinition(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getServiceEndpointPolicyDefinitions() + .createOrUpdate( + "rg1", + "testPolicy", + "testDefinition", + new ServiceEndpointPolicyDefinitionInner() + .withDescription("Storage Service EndpointPolicy Definition") + .withService("Microsoft.Storage") + .withServiceResources( + Arrays + .asList( + "/subscriptions/subid1", + "/subscriptions/subid1/resourceGroups/storageRg", + "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount")), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyDefinitionCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyDefinitionCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyDefinitionCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyDefinitionDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyDefinitionDelete.java new file mode 100644 index 0000000000..5803c11ad0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyDefinitionDelete.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for ServiceEndpointPolicyDefinitions Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ServiceEndpointPolicyDefinitionDelete.json + */ + /** + * Sample code: Delete service endpoint policy definitions from service endpoint policy. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteServiceEndpointPolicyDefinitionsFromServiceEndpointPolicy( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getServiceEndpointPolicyDefinitions() + .delete("rg1", "testPolicy", "testDefinition", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyDefinitionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyDefinitionDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyDefinitionDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyDefinitionGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyDefinitionGet.java new file mode 100644 index 0000000000..e1f67794ac --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyDefinitionGet.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for ServiceEndpointPolicyDefinitions Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ServiceEndpointPolicyDefinitionGet.json + */ + /** + * Sample code: Get service endpoint definition in service endpoint policy. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getServiceEndpointDefinitionInServiceEndpointPolicy( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getServiceEndpointPolicyDefinitions() + .getWithResponse("rg1", "testPolicy", "testDefinition", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyDefinitionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyDefinitionGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyDefinitionGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyDefinitionList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyDefinitionList.java new file mode 100644 index 0000000000..893deef220 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyDefinitionList.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for ServiceEndpointPolicyDefinitions ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ServiceEndpointPolicyDefinitionList.json + */ + /** + * Sample code: List service endpoint definitions in service end point policy. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listServiceEndpointDefinitionsInServiceEndPointPolicy( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getServiceEndpointPolicyDefinitions() + .listByResourceGroup("rg1", "testPolicy", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyDefinitionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyDefinitionList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyDefinitionList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyDelete.java new file mode 100644 index 0000000000..bf82cc77ce --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ServiceEndpointPolicies Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ServiceEndpointPolicyDelete.json + */ + /** + * Sample code: Delete service endpoint policy. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteServiceEndpointPolicy(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getServiceEndpointPolicies() + .delete("rg1", "serviceEndpointPolicy1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyGet.java new file mode 100644 index 0000000000..ad33911616 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ServiceEndpointPolicies GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ServiceEndpointPolicyGet.json + */ + /** + * Sample code: Get service endPoint Policy. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getServiceEndPointPolicy(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getServiceEndpointPolicies() + .getByResourceGroupWithResponse("rg1", "testServiceEndpointPolicy", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyList.java new file mode 100644 index 0000000000..a5527f2aef --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ServiceEndpointPolicies ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ServiceEndpointPolicyList.json + */ + /** + * Sample code: List resource group service endpoint policies. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listResourceGroupServiceEndpointPolicies(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getServiceEndpointPolicies() + .listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyListAll.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyListAll.java new file mode 100644 index 0000000000..4722c88ff6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyListAll.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for ServiceEndpointPolicies List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ServiceEndpointPolicyListAll.json + */ + /** + * Sample code: List all service endpoint policy. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllServiceEndpointPolicy(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getServiceEndpointPolicies().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyListAll.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyListAll.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyUpdateTags.java new file mode 100644 index 0000000000..d0a8f6ac1a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyUpdateTags.java @@ -0,0 +1,39 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for ServiceEndpointPolicies UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ServiceEndpointPolicyUpdateTags.json + */ + /** + * Sample code: Update service endpoint policy tags. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateServiceEndpointPolicyTags(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getServiceEndpointPolicies() + .updateTagsWithResponse( + "rg1", + "testServiceEndpointPolicy", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceEndpointPolicyUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceTagInformationListResult.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceTagInformationListResult.java new file mode 100644 index 0000000000..e6860c6c80 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceTagInformationListResult.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ServiceTagInformation List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ServiceTagInformationListResult.json + */ + /** + * Sample code: Get list of service tags. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getListOfServiceTags(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getServiceTagInformations() + .list("westeurope", null, null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceTagInformationListResult.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceTagInformationListResult.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceTagInformationListResult.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceTagInformationListResultWithNoAddressPrefixes.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceTagInformationListResultWithNoAddressPrefixes.java new file mode 100644 index 0000000000..17965fcea9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceTagInformationListResultWithNoAddressPrefixes.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ServiceTagInformation List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ServiceTagInformationListResultWithNoAddressPrefixes.json + */ + /** + * Sample code: Get list of service tags with no address prefixes. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getListOfServiceTagsWithNoAddressPrefixes(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getServiceTagInformations() + .list("westeurope", true, null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceTagInformationListResultWithNoAddressPrefixes.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceTagInformationListResultWithNoAddressPrefixes.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceTagInformationListResultWithNoAddressPrefixes.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceTagInformationListResultWithTagname.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceTagInformationListResultWithTagname.java new file mode 100644 index 0000000000..0cacbe796c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceTagInformationListResultWithTagname.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ServiceTagInformation List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ServiceTagInformationListResultWithTagname.json + */ + /** + * Sample code: Get list of service tags with tag name. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getListOfServiceTagsWithTagName(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getServiceTagInformations() + .list("westeurope", null, "ApiManagement", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceTagInformationListResultWithTagname.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceTagInformationListResultWithTagname.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceTagInformationListResultWithTagname.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceTagsList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceTagsList.java new file mode 100644 index 0000000000..f6919553b3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceTagsList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for ServiceTags List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/ServiceTagsList.json + */ + /** + * Sample code: Get list of service tags. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getListOfServiceTags(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getServiceTags().listWithResponse("westcentralus", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceTagsList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceTagsList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/ServiceTagsList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetCreate.java new file mode 100644 index 0000000000..4f902d9039 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetCreate.java @@ -0,0 +1,23 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; + +/** Samples for Subnets CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/SubnetCreate.json + */ + /** + * Sample code: Create subnet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createSubnet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getSubnets() + .createOrUpdate( + "subnet-test", "vnetname", "subnet1", new SubnetInner().withAddressPrefix("10.0.0.0/16"), Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetCreateServiceEndpoint.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetCreateServiceEndpoint.java new file mode 100644 index 0000000000..e86eaa6a42 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetCreateServiceEndpoint.java @@ -0,0 +1,32 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; +import com.azure.resourcemanager.network.models.ServiceEndpointPropertiesFormat; +import java.util.Arrays; + +/** Samples for Subnets CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/SubnetCreateServiceEndpoint.json + */ + /** + * Sample code: Create subnet with service endpoints. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createSubnetWithServiceEndpoints(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getSubnets() + .createOrUpdate( + "subnet-test", + "vnetname", + "subnet1", + new SubnetInner() + .withAddressPrefix("10.0.0.0/16") + .withServiceEndpoints( + Arrays.asList(new ServiceEndpointPropertiesFormat().withService("Microsoft.Storage"))), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetCreateServiceEndpoint.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetCreateServiceEndpoint.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetCreateServiceEndpoint.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetCreateWithDelegation.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetCreateWithDelegation.java new file mode 100644 index 0000000000..b72b106e1d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetCreateWithDelegation.java @@ -0,0 +1,23 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; + +/** Samples for Subnets CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/SubnetCreateWithDelegation.json + */ + /** + * Sample code: Create subnet with a delegation. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createSubnetWithADelegation(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getSubnets() + .createOrUpdate( + "subnet-test", "vnetname", "subnet1", new SubnetInner().withAddressPrefix("10.0.0.0/16"), Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetCreateWithDelegation.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetCreateWithDelegation.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetCreateWithDelegation.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetDelete.java new file mode 100644 index 0000000000..92a3baec10 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for Subnets Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/SubnetDelete.json + */ + /** + * Sample code: Delete subnet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteSubnet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getSubnets() + .delete("subnet-test", "vnetname", "subnet1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetGet.java new file mode 100644 index 0000000000..1e32b3d0a8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for Subnets Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/SubnetGet.json + */ + /** + * Sample code: Get subnet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getSubnet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getSubnets() + .getWithResponse("subnet-test", "vnetname", "subnet1", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetGetWithDelegation.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetGetWithDelegation.java new file mode 100644 index 0000000000..0d7d3186d7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetGetWithDelegation.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for Subnets Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/SubnetGetWithDelegation.json + */ + /** + * Sample code: Get subnet with a delegation. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getSubnetWithADelegation(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getSubnets() + .getWithResponse("subnet-test", "vnetname", "subnet1", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetGetWithDelegation.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetGetWithDelegation.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetGetWithDelegation.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetList.java new file mode 100644 index 0000000000..26768c788e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for Subnets List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/SubnetList.json + */ + /** + * Sample code: List subnets. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listSubnets(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getSubnets().list("subnet-test", "vnetname", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetPrepareNetworkPolicies.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetPrepareNetworkPolicies.java new file mode 100644 index 0000000000..c970ccfcef --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetPrepareNetworkPolicies.java @@ -0,0 +1,27 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.PrepareNetworkPoliciesRequest; + +/** Samples for Subnets PrepareNetworkPolicies. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/SubnetPrepareNetworkPolicies.json + */ + /** + * Sample code: Prepare Network Policies. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void prepareNetworkPolicies(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getSubnets() + .prepareNetworkPolicies( + "rg1", + "test-vnet", + "subnet1", + new PrepareNetworkPoliciesRequest().withServiceName("Microsoft.Sql/managedInstances"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetPrepareNetworkPolicies.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetPrepareNetworkPolicies.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetPrepareNetworkPolicies.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetUnprepareNetworkPolicies.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetUnprepareNetworkPolicies.java new file mode 100644 index 0000000000..170cd75ed0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetUnprepareNetworkPolicies.java @@ -0,0 +1,27 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.UnprepareNetworkPoliciesRequest; + +/** Samples for Subnets UnprepareNetworkPolicies. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/SubnetUnprepareNetworkPolicies.json + */ + /** + * Sample code: Unprepare Network Policies. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void unprepareNetworkPolicies(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getSubnets() + .unprepareNetworkPolicies( + "rg1", + "test-vnet", + "subnet1", + new UnprepareNetworkPoliciesRequest().withServiceName("Microsoft.Sql/managedInstances"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetUnprepareNetworkPolicies.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetUnprepareNetworkPolicies.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/SubnetUnprepareNetworkPolicies.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/UsageList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/UsageList.java new file mode 100644 index 0000000000..608ceed198 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/UsageList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for Usages List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/UsageList.json + */ + /** + * Sample code: List usages. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listUsages(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getUsages().list("westus", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/UsageList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/UsageList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/UsageList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/UsageListSpacedLocation.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/UsageListSpacedLocation.java new file mode 100644 index 0000000000..44f7b2c560 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/UsageListSpacedLocation.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for Usages List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/UsageListSpacedLocation.json + */ + /** + * Sample code: List usages spaced location. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listUsagesSpacedLocation(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getUsages().list("West US", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/UsageListSpacedLocation.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/UsageListSpacedLocation.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/UsageListSpacedLocation.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubBgpConnectionDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubBgpConnectionDelete.java new file mode 100644 index 0000000000..aca9b22d04 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubBgpConnectionDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualHubBgpConnections Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubBgpConnectionDelete.json + */ + /** + * Sample code: VirtualHubRouteTableV2Delete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void virtualHubRouteTableV2Delete(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualHubBgpConnections() + .delete("rg1", "hub1", "conn1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubBgpConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubBgpConnectionDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubBgpConnectionDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubBgpConnectionGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubBgpConnectionGet.java new file mode 100644 index 0000000000..30e75f025d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubBgpConnectionGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualHubBgpConnections Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubBgpConnectionGet.json + */ + /** + * Sample code: VirtualHubVirtualHubRouteTableV2Get. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void virtualHubVirtualHubRouteTableV2Get(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualHubBgpConnections() + .getWithResponse("rg1", "hub1", "conn1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubBgpConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubBgpConnectionGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubBgpConnectionGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubBgpConnectionList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubBgpConnectionList.java new file mode 100644 index 0000000000..56e9361f75 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubBgpConnectionList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualHubBgpConnections List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubBgpConnectionList.json + */ + /** + * Sample code: VirtualHubRouteTableV2List. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void virtualHubRouteTableV2List(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getVirtualHubBgpConnections().list("rg1", "hub1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubBgpConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubBgpConnectionList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubBgpConnectionList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubBgpConnectionPut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubBgpConnectionPut.java new file mode 100644 index 0000000000..fea572ed86 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubBgpConnectionPut.java @@ -0,0 +1,34 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.BgpConnectionInner; + +/** Samples for VirtualHubBgpConnections CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubBgpConnectionPut.json + */ + /** + * Sample code: VirtualHubRouteTableV2Put. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void virtualHubRouteTableV2Put(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualHubBgpConnections() + .createOrUpdate( + "rg1", + "hub1", + "conn1", + new BgpConnectionInner() + .withPeerAsn(20000L) + .withPeerIp("192.168.1.5") + .withHubVirtualNetworkConnection( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubVirtualNetworkConnections/hubVnetConn1")), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubBgpConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubBgpConnectionPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubBgpConnectionPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubDelete.java new file mode 100644 index 0000000000..c85adcd6cc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualHubs Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubDelete.json + */ + /** + * Sample code: VirtualHubDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void virtualHubDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getVirtualHubs().delete("rg1", "virtualHub1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubGet.java new file mode 100644 index 0000000000..23dea761d8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualHubs GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubGet.json + */ + /** + * Sample code: VirtualHubGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void virtualHubGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualHubs() + .getByResourceGroupWithResponse("rg1", "virtualHub1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubIpConfigurationDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubIpConfigurationDelete.java new file mode 100644 index 0000000000..c0ed429b4c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubIpConfigurationDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualHubIpConfiguration Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubIpConfigurationDelete.json + */ + /** + * Sample code: VirtualHubIpConfigurationDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void virtualHubIpConfigurationDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualHubIpConfigurations() + .delete("rg1", "hub1", "ipconfig1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubIpConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubIpConfigurationDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubIpConfigurationDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubIpConfigurationGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubIpConfigurationGet.java new file mode 100644 index 0000000000..71a8d98033 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubIpConfigurationGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualHubIpConfiguration Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubIpConfigurationGet.json + */ + /** + * Sample code: VirtualHubVirtualHubRouteTableV2Get. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void virtualHubVirtualHubRouteTableV2Get(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualHubIpConfigurations() + .getWithResponse("rg1", "hub1", "ipconfig1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubIpConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubIpConfigurationGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubIpConfigurationGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubIpConfigurationList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubIpConfigurationList.java new file mode 100644 index 0000000000..998f19d2c5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubIpConfigurationList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualHubIpConfiguration List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubIpConfigurationList.json + */ + /** + * Sample code: VirtualHubRouteTableV2List. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void virtualHubRouteTableV2List(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getVirtualHubIpConfigurations().list("rg1", "hub1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubIpConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubIpConfigurationList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubIpConfigurationList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubIpConfigurationPut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubIpConfigurationPut.java new file mode 100644 index 0000000000..07da017e86 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubIpConfigurationPut.java @@ -0,0 +1,32 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.HubIpConfigurationInner; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; + +/** Samples for VirtualHubIpConfiguration CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubIpConfigurationPut.json + */ + /** + * Sample code: VirtualHubIpConfigurationPut. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void virtualHubIpConfigurationPut(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualHubIpConfigurations() + .createOrUpdate( + "rg1", + "hub1", + "ipconfig1", + new HubIpConfigurationInner() + .withSubnet( + new SubnetInner() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1")), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubIpConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubIpConfigurationPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubIpConfigurationPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubList.java new file mode 100644 index 0000000000..0c0916e91e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualHubs List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubList.json + */ + /** + * Sample code: VirtualHubList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void virtualHubList(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getVirtualHubs().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubListByResourceGroup.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubListByResourceGroup.java new file mode 100644 index 0000000000..971d3f4a5c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubListByResourceGroup.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualHubs ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubListByResourceGroup.json + */ + /** + * Sample code: VirtualHubListByResourceGroup. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void virtualHubListByResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getVirtualHubs().listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubListByResourceGroup.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubListByResourceGroup.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubPut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubPut.java new file mode 100644 index 0000000000..aeedcea472 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubPut.java @@ -0,0 +1,48 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.VirtualHubInner; +import java.util.HashMap; +import java.util.Map; + +/** Samples for VirtualHubs CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubPut.json + */ + /** + * Sample code: VirtualHubPut. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void virtualHubPut(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualHubs() + .createOrUpdate( + "rg1", + "virtualHub2", + new VirtualHubInner() + .withLocation("West US") + .withTags(mapOf("key1", "value1")) + .withVirtualWan( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1")) + .withAddressPrefix("10.168.0.0/24") + .withSku("Basic"), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubRouteTableV2Delete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubRouteTableV2Delete.java new file mode 100644 index 0000000000..bd07684ec5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubRouteTableV2Delete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualHubRouteTableV2S Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubRouteTableV2Delete.json + */ + /** + * Sample code: VirtualHubRouteTableV2Delete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void virtualHubRouteTableV2Delete(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualHubRouteTableV2S() + .delete("rg1", "virtualHub1", "virtualHubRouteTable1a", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubRouteTableV2Delete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubRouteTableV2Delete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubRouteTableV2Delete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubRouteTableV2Get.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubRouteTableV2Get.java new file mode 100644 index 0000000000..5b6a139f80 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubRouteTableV2Get.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualHubRouteTableV2S Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubRouteTableV2Get.json + */ + /** + * Sample code: VirtualHubVirtualHubRouteTableV2Get. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void virtualHubVirtualHubRouteTableV2Get(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualHubRouteTableV2S() + .getWithResponse("rg1", "virtualHub1", "virtualHubRouteTable1a", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubRouteTableV2Get.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubRouteTableV2Get.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubRouteTableV2Get.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubRouteTableV2List.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubRouteTableV2List.java new file mode 100644 index 0000000000..7149df3684 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubRouteTableV2List.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualHubRouteTableV2S List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubRouteTableV2List.json + */ + /** + * Sample code: VirtualHubRouteTableV2List. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void virtualHubRouteTableV2List(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualHubRouteTableV2S() + .list("rg1", "virtualHub1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubRouteTableV2List.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubRouteTableV2List.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubRouteTableV2List.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubRouteTableV2Put.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubRouteTableV2Put.java new file mode 100644 index 0000000000..e44394a4b7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubRouteTableV2Put.java @@ -0,0 +1,43 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.VirtualHubRouteTableV2Inner; +import com.azure.resourcemanager.network.models.VirtualHubRouteV2; +import java.util.Arrays; + +/** Samples for VirtualHubRouteTableV2S CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubRouteTableV2Put.json + */ + /** + * Sample code: VirtualHubRouteTableV2Put. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void virtualHubRouteTableV2Put(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualHubRouteTableV2S() + .createOrUpdate( + "rg1", + "virtualHub1", + "virtualHubRouteTable1a", + new VirtualHubRouteTableV2Inner() + .withRoutes( + Arrays + .asList( + new VirtualHubRouteV2() + .withDestinationType("CIDR") + .withDestinations(Arrays.asList("20.10.0.0/16", "20.20.0.0/16")) + .withNextHopType("IPAddress") + .withNextHops(Arrays.asList("10.0.0.68")), + new VirtualHubRouteV2() + .withDestinationType("CIDR") + .withDestinations(Arrays.asList("0.0.0.0/0")) + .withNextHopType("IPAddress") + .withNextHops(Arrays.asList("10.0.0.68")))) + .withAttachedConnections(Arrays.asList("All_Vnets")), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubRouteTableV2Put.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubRouteTableV2Put.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubRouteTableV2Put.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubUpdateTags.java new file mode 100644 index 0000000000..6f7ea4ed74 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubUpdateTags.java @@ -0,0 +1,39 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for VirtualHubs UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubUpdateTags.json + */ + /** + * Sample code: VirtualHubUpdate. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void virtualHubUpdate(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualHubs() + .updateTagsWithResponse( + "rg1", + "virtualHub2", + new TagsObject().withTags(mapOf("key1", "value1", "key2", "value2")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualHubUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCheckIPAddressAvailability.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCheckIPAddressAvailability.java new file mode 100644 index 0000000000..3e39fd4a65 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCheckIPAddressAvailability.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworks CheckIpAddressAvailability. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkCheckIPAddressAvailability.json + */ + /** + * Sample code: Check IP address availability. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void checkIPAddressAvailability(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworks() + .checkIpAddressAvailabilityWithResponse("rg1", "test-vnet", "10.0.1.4", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCheckIPAddressAvailability.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCheckIPAddressAvailability.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCheckIPAddressAvailability.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreate.java new file mode 100644 index 0000000000..2da7978d09 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreate.java @@ -0,0 +1,31 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.VirtualNetworkInner; +import com.azure.resourcemanager.network.models.AddressSpace; +import java.util.Arrays; + +/** Samples for VirtualNetworks CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkCreate.json + */ + /** + * Sample code: Create virtual network. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createVirtualNetwork(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworks() + .createOrUpdate( + "rg1", + "test-vnet", + new VirtualNetworkInner() + .withLocation("eastus") + .withAddressSpace(new AddressSpace().withAddressPrefixes(Arrays.asList("10.0.0.0/16"))) + .withFlowTimeoutInMinutes(10), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateServiceEndpointPolicy.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateServiceEndpointPolicy.java new file mode 100644 index 0000000000..f0a62cc3cb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateServiceEndpointPolicy.java @@ -0,0 +1,50 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.ServiceEndpointPolicyInner; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; +import com.azure.resourcemanager.network.fluent.models.VirtualNetworkInner; +import com.azure.resourcemanager.network.models.AddressSpace; +import com.azure.resourcemanager.network.models.ServiceEndpointPropertiesFormat; +import java.util.Arrays; + +/** Samples for VirtualNetworks CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkCreateServiceEndpointPolicy.json + */ + /** + * Sample code: Create virtual network with service endpoints and service endpoint policy. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createVirtualNetworkWithServiceEndpointsAndServiceEndpointPolicy( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworks() + .createOrUpdate( + "vnetTest", + "vnet1", + new VirtualNetworkInner() + .withLocation("eastus2euap") + .withAddressSpace(new AddressSpace().withAddressPrefixes(Arrays.asList("10.0.0.0/16"))) + .withSubnets( + Arrays + .asList( + new SubnetInner() + .withName("test-1") + .withAddressPrefix("10.0.0.0/16") + .withServiceEndpoints( + Arrays + .asList( + new ServiceEndpointPropertiesFormat().withService("Microsoft.Storage"))) + .withServiceEndpointPolicies( + Arrays + .asList( + new ServiceEndpointPolicyInner() + .withId( + "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/serviceEndpointPolicies/ServiceEndpointPolicy1"))))), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateServiceEndpointPolicy.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateServiceEndpointPolicy.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateServiceEndpointPolicy.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateServiceEndpoints.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateServiceEndpoints.java new file mode 100644 index 0000000000..238658879a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateServiceEndpoints.java @@ -0,0 +1,43 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; +import com.azure.resourcemanager.network.fluent.models.VirtualNetworkInner; +import com.azure.resourcemanager.network.models.AddressSpace; +import com.azure.resourcemanager.network.models.ServiceEndpointPropertiesFormat; +import java.util.Arrays; + +/** Samples for VirtualNetworks CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkCreateServiceEndpoints.json + */ + /** + * Sample code: Create virtual network with service endpoints. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createVirtualNetworkWithServiceEndpoints(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworks() + .createOrUpdate( + "vnetTest", + "vnet1", + new VirtualNetworkInner() + .withLocation("eastus") + .withAddressSpace(new AddressSpace().withAddressPrefixes(Arrays.asList("10.0.0.0/16"))) + .withSubnets( + Arrays + .asList( + new SubnetInner() + .withName("test-1") + .withAddressPrefix("10.0.0.0/16") + .withServiceEndpoints( + Arrays + .asList( + new ServiceEndpointPropertiesFormat() + .withService("Microsoft.Storage"))))), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateServiceEndpoints.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateServiceEndpoints.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateServiceEndpoints.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateSubnet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateSubnet.java new file mode 100644 index 0000000000..52a1b93647 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateSubnet.java @@ -0,0 +1,32 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; +import com.azure.resourcemanager.network.fluent.models.VirtualNetworkInner; +import com.azure.resourcemanager.network.models.AddressSpace; +import java.util.Arrays; + +/** Samples for VirtualNetworks CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkCreateSubnet.json + */ + /** + * Sample code: Create virtual network with subnet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createVirtualNetworkWithSubnet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworks() + .createOrUpdate( + "rg1", + "test-vnet", + new VirtualNetworkInner() + .withLocation("eastus") + .withAddressSpace(new AddressSpace().withAddressPrefixes(Arrays.asList("10.0.0.0/16"))) + .withSubnets(Arrays.asList(new SubnetInner().withName("test-1").withAddressPrefix("10.0.0.0/24"))), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateSubnet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateSubnet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateSubnet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateSubnetWithAddressPrefixes.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateSubnetWithAddressPrefixes.java new file mode 100644 index 0000000000..02c263e22c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateSubnetWithAddressPrefixes.java @@ -0,0 +1,38 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; +import com.azure.resourcemanager.network.fluent.models.VirtualNetworkInner; +import com.azure.resourcemanager.network.models.AddressSpace; +import java.util.Arrays; + +/** Samples for VirtualNetworks CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkCreateSubnetWithAddressPrefixes.json + */ + /** + * Sample code: Create virtual network with subnet containing address prefixes. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createVirtualNetworkWithSubnetContainingAddressPrefixes( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworks() + .createOrUpdate( + "rg1", + "test-vnet", + new VirtualNetworkInner() + .withLocation("eastus") + .withAddressSpace(new AddressSpace().withAddressPrefixes(Arrays.asList("10.0.0.0/16"))) + .withSubnets( + Arrays + .asList( + new SubnetInner() + .withName("test-2") + .withAddressPrefixes(Arrays.asList("10.0.0.0/28", "10.0.1.0/28")))), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateSubnetWithAddressPrefixes.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateSubnetWithAddressPrefixes.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateSubnetWithAddressPrefixes.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateSubnetWithDelegation.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateSubnetWithDelegation.java new file mode 100644 index 0000000000..57261dae82 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateSubnetWithDelegation.java @@ -0,0 +1,44 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; +import com.azure.resourcemanager.network.fluent.models.VirtualNetworkInner; +import com.azure.resourcemanager.network.models.AddressSpace; +import com.azure.resourcemanager.network.models.Delegation; +import java.util.Arrays; + +/** Samples for VirtualNetworks CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkCreateSubnetWithDelegation.json + */ + /** + * Sample code: Create virtual network with delegated subnets. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createVirtualNetworkWithDelegatedSubnets(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworks() + .createOrUpdate( + "rg1", + "test-vnet", + new VirtualNetworkInner() + .withLocation("westcentralus") + .withAddressSpace(new AddressSpace().withAddressPrefixes(Arrays.asList("10.0.0.0/16"))) + .withSubnets( + Arrays + .asList( + new SubnetInner() + .withName("test-1") + .withAddressPrefix("10.0.0.0/24") + .withDelegations( + Arrays + .asList( + new Delegation() + .withName("myDelegation") + .withServiceName("Microsoft.Sql/managedInstances"))))), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateSubnetWithDelegation.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateSubnetWithDelegation.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateSubnetWithDelegation.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateWithBgpCommunities.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateWithBgpCommunities.java new file mode 100644 index 0000000000..4353dcb64f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateWithBgpCommunities.java @@ -0,0 +1,34 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; +import com.azure.resourcemanager.network.fluent.models.VirtualNetworkInner; +import com.azure.resourcemanager.network.models.AddressSpace; +import com.azure.resourcemanager.network.models.VirtualNetworkBgpCommunities; +import java.util.Arrays; + +/** Samples for VirtualNetworks CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkCreateWithBgpCommunities.json + */ + /** + * Sample code: Create virtual network with Bgp Communities. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createVirtualNetworkWithBgpCommunities(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworks() + .createOrUpdate( + "rg1", + "test-vnet", + new VirtualNetworkInner() + .withLocation("eastus") + .withAddressSpace(new AddressSpace().withAddressPrefixes(Arrays.asList("10.0.0.0/16"))) + .withSubnets(Arrays.asList(new SubnetInner().withName("test-1").withAddressPrefix("10.0.0.0/24"))) + .withBgpCommunities(new VirtualNetworkBgpCommunities().withVirtualNetworkCommunity("12076:20000")), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateWithBgpCommunities.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateWithBgpCommunities.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateWithBgpCommunities.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateWithEncryption.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateWithEncryption.java new file mode 100644 index 0000000000..6778e3eaed --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateWithEncryption.java @@ -0,0 +1,38 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; +import com.azure.resourcemanager.network.fluent.models.VirtualNetworkInner; +import com.azure.resourcemanager.network.models.AddressSpace; +import com.azure.resourcemanager.network.models.VirtualNetworkEncryption; +import com.azure.resourcemanager.network.models.VirtualNetworkEncryptionEnforcement; +import java.util.Arrays; + +/** Samples for VirtualNetworks CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkCreateWithEncryption.json + */ + /** + * Sample code: Create virtual network with encryption. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createVirtualNetworkWithEncryption(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworks() + .createOrUpdate( + "rg1", + "test-vnet", + new VirtualNetworkInner() + .withLocation("eastus") + .withAddressSpace(new AddressSpace().withAddressPrefixes(Arrays.asList("10.0.0.0/16"))) + .withSubnets(Arrays.asList(new SubnetInner().withName("test-1").withAddressPrefix("10.0.0.0/24"))) + .withEncryption( + new VirtualNetworkEncryption() + .withEnabled(true) + .withEnforcement(VirtualNetworkEncryptionEnforcement.ALLOW_UNENCRYPTED)), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateWithEncryption.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateWithEncryption.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkCreateWithEncryption.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkDelete.java new file mode 100644 index 0000000000..3accd66335 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworks Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkDelete.json + */ + /** + * Sample code: Delete virtual network. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteVirtualNetwork(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getVirtualNetworks().delete("rg1", "test-vnet", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionCreate.java new file mode 100644 index 0000000000..fc8dd2647b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionCreate.java @@ -0,0 +1,131 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.LocalNetworkGatewayInner; +import com.azure.resourcemanager.network.fluent.models.VirtualNetworkGatewayConnectionInner; +import com.azure.resourcemanager.network.fluent.models.VirtualNetworkGatewayInner; +import com.azure.resourcemanager.network.fluent.models.VirtualNetworkGatewayIpConfigurationInner; +import com.azure.resourcemanager.network.models.AddressSpace; +import com.azure.resourcemanager.network.models.BgpSettings; +import com.azure.resourcemanager.network.models.GatewayCustomBgpIpAddressIpConfiguration; +import com.azure.resourcemanager.network.models.IpAllocationMethod; +import com.azure.resourcemanager.network.models.VirtualNetworkGatewayConnectionMode; +import com.azure.resourcemanager.network.models.VirtualNetworkGatewayConnectionProtocol; +import com.azure.resourcemanager.network.models.VirtualNetworkGatewayConnectionType; +import com.azure.resourcemanager.network.models.VirtualNetworkGatewaySku; +import com.azure.resourcemanager.network.models.VirtualNetworkGatewaySkuName; +import com.azure.resourcemanager.network.models.VirtualNetworkGatewaySkuTier; +import com.azure.resourcemanager.network.models.VirtualNetworkGatewayType; +import com.azure.resourcemanager.network.models.VpnType; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for VirtualNetworkGatewayConnections CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayConnectionCreate.json + */ + /** + * Sample code: CreateVirtualNetworkGatewayConnection_S2S. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createVirtualNetworkGatewayConnectionS2S(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGatewayConnections() + .createOrUpdate( + "rg1", + "connS2S", + new VirtualNetworkGatewayConnectionInner() + .withLocation("centralus") + .withVirtualNetworkGateway1( + new VirtualNetworkGatewayInner() + .withLocation("centralus") + .withTags(mapOf()) + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw") + .withIpConfigurations( + Arrays + .asList( + new VirtualNetworkGatewayIpConfigurationInner() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1") + .withName("gwipconfig1") + .withPrivateIpAllocationMethod(IpAllocationMethod.DYNAMIC) + .withSubnet( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet")) + .withPublicIpAddress( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip")))) + .withGatewayType(VirtualNetworkGatewayType.VPN) + .withVpnType(VpnType.ROUTE_BASED) + .withEnableBgp(false) + .withActive(false) + .withSku( + new VirtualNetworkGatewaySku() + .withName(VirtualNetworkGatewaySkuName.VPN_GW1) + .withTier(VirtualNetworkGatewaySkuTier.VPN_GW1)) + .withBgpSettings( + new BgpSettings().withAsn(65514L).withBgpPeeringAddress("10.0.1.30").withPeerWeight(0))) + .withLocalNetworkGateway2( + new LocalNetworkGatewayInner() + .withLocation("centralus") + .withTags(mapOf()) + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw") + .withLocalNetworkAddressSpace( + new AddressSpace().withAddressPrefixes(Arrays.asList("10.1.0.0/16"))) + .withGatewayIpAddress("x.x.x.x")) + .withIngressNatRules( + Arrays + .asList( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule1"))) + .withEgressNatRules( + Arrays + .asList( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2"))) + .withConnectionType(VirtualNetworkGatewayConnectionType.IPSEC) + .withConnectionProtocol(VirtualNetworkGatewayConnectionProtocol.IKEV2) + .withRoutingWeight(0) + .withDpdTimeoutSeconds(30) + .withConnectionMode(VirtualNetworkGatewayConnectionMode.DEFAULT) + .withSharedKey("Abc123") + .withEnableBgp(false) + .withGatewayCustomBgpIpAddresses( + Arrays + .asList( + new GatewayCustomBgpIpAddressIpConfiguration() + .withIpConfigurationId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/default") + .withCustomBgpIpAddress("169.254.21.1"), + new GatewayCustomBgpIpAddressIpConfiguration() + .withIpConfigurationId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/ActiveActive") + .withCustomBgpIpAddress("169.254.21.3"))) + .withUsePolicyBasedTrafficSelectors(false) + .withIpsecPolicies(Arrays.asList()) + .withTrafficSelectorPolicies(Arrays.asList()), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionDelete.java new file mode 100644 index 0000000000..1030f42581 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkGatewayConnections Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayConnectionDelete.json + */ + /** + * Sample code: DeleteVirtualNetworkGatewayConnection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteVirtualNetworkGatewayConnection(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGatewayConnections() + .delete("rg1", "conn1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionGet.java new file mode 100644 index 0000000000..2047f8aaaf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkGatewayConnections GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayConnectionGet.json + */ + /** + * Sample code: GetVirtualNetworkGatewayConnection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getVirtualNetworkGatewayConnection(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGatewayConnections() + .getByResourceGroupWithResponse("rg1", "connS2S", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionGetIkeSas.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionGetIkeSas.java new file mode 100644 index 0000000000..849df65344 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionGetIkeSas.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkGatewayConnections GetIkeSas. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayConnectionGetIkeSas.json + */ + /** + * Sample code: GetVirtualNetworkGatewayConnectionIkeSa. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getVirtualNetworkGatewayConnectionIkeSa(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGatewayConnections() + .getIkeSas("rg1", "vpngwcn1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionGetIkeSas.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionGetIkeSas.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionGetIkeSas.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionGetSharedKey.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionGetSharedKey.java new file mode 100644 index 0000000000..30ff41a965 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionGetSharedKey.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkGatewayConnections GetSharedKey. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayConnectionGetSharedKey.json + */ + /** + * Sample code: GetVirtualNetworkGatewayConnectionSharedKey. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getVirtualNetworkGatewayConnectionSharedKey( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGatewayConnections() + .getSharedKeyWithResponse("rg1", "connS2S", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionGetSharedKey.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionGetSharedKey.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionGetSharedKey.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionReset.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionReset.java new file mode 100644 index 0000000000..bbfa2b387c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionReset.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkGatewayConnections ResetConnection. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayConnectionReset.json + */ + /** + * Sample code: ResetVirtualNetworkGatewayConnection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void resetVirtualNetworkGatewayConnection(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGatewayConnections() + .resetConnection("rg1", "conn1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionReset.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionReset.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionReset.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionResetSharedKey.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionResetSharedKey.java new file mode 100644 index 0000000000..421fea8396 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionResetSharedKey.java @@ -0,0 +1,23 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.ConnectionResetSharedKeyInner; + +/** Samples for VirtualNetworkGatewayConnections ResetSharedKey. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayConnectionResetSharedKey.json + */ + /** + * Sample code: ResetVirtualNetworkGatewayConnectionSharedKey. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void resetVirtualNetworkGatewayConnectionSharedKey( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGatewayConnections() + .resetSharedKey("rg1", "conn1", new ConnectionResetSharedKeyInner().withKeyLength(128), Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionResetSharedKey.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionResetSharedKey.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionResetSharedKey.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionSetSharedKey.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionSetSharedKey.java new file mode 100644 index 0000000000..ab7dd28b48 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionSetSharedKey.java @@ -0,0 +1,23 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.ConnectionSharedKeyInner; + +/** Samples for VirtualNetworkGatewayConnections SetSharedKey. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayConnectionSetSharedKey.json + */ + /** + * Sample code: SetVirtualNetworkGatewayConnectionSharedKey. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void setVirtualNetworkGatewayConnectionSharedKey( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGatewayConnections() + .setSharedKey("rg1", "connS2S", new ConnectionSharedKeyInner().withValue("AzureAbc123"), Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionSetSharedKey.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionSetSharedKey.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionSetSharedKey.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionStartPacketCapture.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionStartPacketCapture.java new file mode 100644 index 0000000000..775ab12e07 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionStartPacketCapture.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkGatewayConnections StartPacketCapture. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayConnectionStartPacketCapture.json + */ + /** + * Sample code: Start packet capture on virtual network gateway connection without filter. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void startPacketCaptureOnVirtualNetworkGatewayConnectionWithoutFilter( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGatewayConnections() + .startPacketCapture("rg1", "vpngwcn1", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionStartPacketCapture.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionStartPacketCapture.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionStartPacketCapture.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionStartPacketCaptureFilterData.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionStartPacketCaptureFilterData.java new file mode 100644 index 0000000000..6ea4312414 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionStartPacketCaptureFilterData.java @@ -0,0 +1,32 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.VpnPacketCaptureStartParameters; + +/** Samples for VirtualNetworkGatewayConnections StartPacketCapture. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayConnectionStartPacketCaptureFilterData.json + */ + /** + * Sample code: Start packet capture on virtual network gateway connection with filter. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void startPacketCaptureOnVirtualNetworkGatewayConnectionWithFilter( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGatewayConnections() + .startPacketCapture( + "rg1", + "vpngwcn1", + new VpnPacketCaptureStartParameters() + .withFilterData( + "{'TracingFlags': 11,'MaxPacketBufferSize': 120,'MaxFileSize': 200,'Filters':" + + " [{'SourceSubnets': ['20.1.1.0/24'],'DestinationSubnets': ['10.1.1.0/24'],'SourcePort':" + + " [500],'DestinationPort': [4500],'Protocol': 6,'TcpFlags':" + + " 16,'CaptureSingleDirectionTrafficOnly': true}]}"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionStartPacketCaptureFilterData.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionStartPacketCaptureFilterData.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionStartPacketCaptureFilterData.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionStopPacketCapture.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionStopPacketCapture.java new file mode 100644 index 0000000000..e3150a8bf1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionStopPacketCapture.java @@ -0,0 +1,29 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.VpnPacketCaptureStopParameters; + +/** Samples for VirtualNetworkGatewayConnections StopPacketCapture. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayConnectionStopPacketCapture.json + */ + /** + * Sample code: Stop packet capture on virtual network gateway connection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void stopPacketCaptureOnVirtualNetworkGatewayConnection( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGatewayConnections() + .stopPacketCapture( + "rg1", + "vpngwcn1", + new VpnPacketCaptureStopParameters() + .withSasUrl( + "https://teststorage.blob.core.windows.net/?sv=2018-03-28&ss=bfqt&srt=sco&sp=rwdlacup&se=2019-09-13T07:44:05Z&st=2019-09-06T23:44:05Z&spr=https&sig=V1h9D1riltvZMI69d6ihENnFo%2FrCvTqGgjO2lf%2FVBhE%3D"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionStopPacketCapture.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionStopPacketCapture.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionStopPacketCapture.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionUpdateTags.java new file mode 100644 index 0000000000..468f60949e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionUpdateTags.java @@ -0,0 +1,36 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for VirtualNetworkGatewayConnections UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json + */ + /** + * Sample code: UpdateVirtualNetworkGatewayConnectionTags. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateVirtualNetworkGatewayConnectionTags(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGatewayConnections() + .updateTags( + "rg1", "test", new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionsList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionsList.java new file mode 100644 index 0000000000..966b59a716 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionsList.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkGatewayConnections ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayConnectionsList.json + */ + /** + * Sample code: ListVirtualNetworkGatewayConnectionsinResourceGroup. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listVirtualNetworkGatewayConnectionsinResourceGroup( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGatewayConnections() + .listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionsList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionsList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayConnectionsList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayDelete.java new file mode 100644 index 0000000000..b656ff34df --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkGateways Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayDelete.json + */ + /** + * Sample code: DeleteVirtualNetworkGateway. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteVirtualNetworkGateway(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getVirtualNetworkGateways().delete("rg1", "vpngw", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGenerateVpnClientPackage.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGenerateVpnClientPackage.java new file mode 100644 index 0000000000..1bc116be07 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGenerateVpnClientPackage.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.VpnClientParameters; + +/** Samples for VirtualNetworkGateways Generatevpnclientpackage. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayGenerateVpnClientPackage.json + */ + /** + * Sample code: GenerateVPNClientPackage. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void generateVPNClientPackage(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGateways() + .generatevpnclientpackage("rg1", "vpngw", new VpnClientParameters(), Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGenerateVpnClientPackage.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGenerateVpnClientPackage.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGenerateVpnClientPackage.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGenerateVpnProfile.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGenerateVpnProfile.java new file mode 100644 index 0000000000..6637e013f2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGenerateVpnProfile.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.VpnClientParameters; + +/** Samples for VirtualNetworkGateways GenerateVpnProfile. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayGenerateVpnProfile.json + */ + /** + * Sample code: GenerateVirtualNetworkGatewayVPNProfile. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void generateVirtualNetworkGatewayVPNProfile(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGateways() + .generateVpnProfile("rg1", "vpngw", new VpnClientParameters(), Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGenerateVpnProfile.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGenerateVpnProfile.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGenerateVpnProfile.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGet.java new file mode 100644 index 0000000000..82cf2d6038 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkGateways GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayGet.json + */ + /** + * Sample code: GetVirtualNetworkGateway. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getVirtualNetworkGateway(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGateways() + .getByResourceGroupWithResponse("rg1", "vpngw", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGetAdvertisedRoutes.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGetAdvertisedRoutes.java new file mode 100644 index 0000000000..504204595a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGetAdvertisedRoutes.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkGateways GetAdvertisedRoutes. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayGetAdvertisedRoutes.json + */ + /** + * Sample code: GetVirtualNetworkGatewayAdvertisedRoutes. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getVirtualNetworkGatewayAdvertisedRoutes(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGateways() + .getAdvertisedRoutes("rg1", "vpngw", "test", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGetAdvertisedRoutes.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGetAdvertisedRoutes.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGetAdvertisedRoutes.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGetBGPPeerStatus.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGetBGPPeerStatus.java new file mode 100644 index 0000000000..b6b5f7d6fd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGetBGPPeerStatus.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkGateways GetBgpPeerStatus. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayGetBGPPeerStatus.json + */ + /** + * Sample code: GetVirtualNetworkGatewayBGPPeerStatus. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getVirtualNetworkGatewayBGPPeerStatus(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGateways() + .getBgpPeerStatus("rg1", "vpngw", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGetBGPPeerStatus.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGetBGPPeerStatus.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGetBGPPeerStatus.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGetVpnClientIpsecParameters.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGetVpnClientIpsecParameters.java new file mode 100644 index 0000000000..2c532576e1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGetVpnClientIpsecParameters.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkGateways GetVpnclientIpsecParameters. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json + */ + /** + * Sample code: Get VirtualNetworkGateway VpnClientIpsecParameters. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getVirtualNetworkGatewayVpnClientIpsecParameters( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGateways() + .getVpnclientIpsecParameters("rg1", "vpngw", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGetVpnClientIpsecParameters.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGetVpnClientIpsecParameters.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGetVpnClientIpsecParameters.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGetVpnProfilePackageUrl.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGetVpnProfilePackageUrl.java new file mode 100644 index 0000000000..b45462a4cf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGetVpnProfilePackageUrl.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkGateways GetVpnProfilePackageUrl. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json + */ + /** + * Sample code: GetVirtualNetworkGatewayVPNProfilePackageURL. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getVirtualNetworkGatewayVPNProfilePackageURL( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGateways() + .getVpnProfilePackageUrl("rg1", "vpngw", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGetVpnProfilePackageUrl.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGetVpnProfilePackageUrl.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGetVpnProfilePackageUrl.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGetVpnclientConnectionHealth.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGetVpnclientConnectionHealth.java new file mode 100644 index 0000000000..9a2e20ce17 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGetVpnclientConnectionHealth.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkGateways GetVpnclientConnectionHealth. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayGetVpnclientConnectionHealth.json + */ + /** + * Sample code: GetVirtualNetworkGatewayVpnclientConnectionHealth. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getVirtualNetworkGatewayVpnclientConnectionHealth( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGateways() + .getVpnclientConnectionHealth("p2s-vnet-test", "vpnp2sgw", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGetVpnclientConnectionHealth.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGetVpnclientConnectionHealth.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayGetVpnclientConnectionHealth.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayLearnedRoutes.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayLearnedRoutes.java new file mode 100644 index 0000000000..487bb31329 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayLearnedRoutes.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkGateways GetLearnedRoutes. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayLearnedRoutes.json + */ + /** + * Sample code: GetVirtualNetworkGatewayLearnedRoutes. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getVirtualNetworkGatewayLearnedRoutes(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGateways() + .getLearnedRoutes("rg1", "vpngw", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayLearnedRoutes.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayLearnedRoutes.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayLearnedRoutes.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayList.java new file mode 100644 index 0000000000..18e3bed204 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkGateways ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayList.json + */ + /** + * Sample code: ListVirtualNetworkGatewaysinResourceGroup. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listVirtualNetworkGatewaysinResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getVirtualNetworkGateways().listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayNatRuleDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayNatRuleDelete.java new file mode 100644 index 0000000000..6216476a96 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayNatRuleDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkGatewayNatRules Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayNatRuleDelete.json + */ + /** + * Sample code: VirtualNetworkGatewayNatRuleDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void virtualNetworkGatewayNatRuleDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGatewayNatRules() + .delete("rg1", "gateway1", "natRule1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayNatRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayNatRuleDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayNatRuleDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayNatRuleGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayNatRuleGet.java new file mode 100644 index 0000000000..72d815c4b2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayNatRuleGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkGatewayNatRules Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayNatRuleGet.json + */ + /** + * Sample code: VirtualNetworkGatewayNatRuleGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void virtualNetworkGatewayNatRuleGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGatewayNatRules() + .getWithResponse("rg1", "gateway1", "natRule1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayNatRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayNatRuleGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayNatRuleGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayNatRuleList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayNatRuleList.java new file mode 100644 index 0000000000..794edbe755 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayNatRuleList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkGatewayNatRules ListByVirtualNetworkGateway. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayNatRuleList.json + */ + /** + * Sample code: VirtualNetworkGatewayNatRuleList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void virtualNetworkGatewayNatRuleList(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGatewayNatRules() + .listByVirtualNetworkGateway("rg1", "gateway1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayNatRuleList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayNatRuleList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayNatRuleList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayNatRulePut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayNatRulePut.java new file mode 100644 index 0000000000..c992f12777 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayNatRulePut.java @@ -0,0 +1,41 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.VirtualNetworkGatewayNatRuleInner; +import com.azure.resourcemanager.network.models.VpnNatRuleMapping; +import com.azure.resourcemanager.network.models.VpnNatRuleMode; +import com.azure.resourcemanager.network.models.VpnNatRuleType; +import java.util.Arrays; + +/** Samples for VirtualNetworkGatewayNatRules CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayNatRulePut.json + */ + /** + * Sample code: VirtualNetworkGatewayNatRulePut. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void virtualNetworkGatewayNatRulePut(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGatewayNatRules() + .createOrUpdate( + "rg1", + "gateway1", + "natRule1", + new VirtualNetworkGatewayNatRuleInner() + .withTypePropertiesType(VpnNatRuleType.STATIC) + .withMode(VpnNatRuleMode.EGRESS_SNAT) + .withInternalMappings( + Arrays.asList(new VpnNatRuleMapping().withAddressSpace("10.4.0.0/24").withPortRange("200-300"))) + .withExternalMappings( + Arrays + .asList( + new VpnNatRuleMapping().withAddressSpace("192.168.21.0/24").withPortRange("300-400"))) + .withIpConfigurationId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/gateway1/ipConfigurations/default"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayNatRulePut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayNatRulePut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayNatRulePut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayReset.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayReset.java new file mode 100644 index 0000000000..b43d165a68 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayReset.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkGateways Reset. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayReset.json + */ + /** + * Sample code: ResetVirtualNetworkGateway. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void resetVirtualNetworkGateway(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGateways() + .reset("rg1", "vpngw", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayReset.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayReset.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayReset.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayResetVpnClientSharedKey.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayResetVpnClientSharedKey.java new file mode 100644 index 0000000000..fb98c5b5ef --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayResetVpnClientSharedKey.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkGateways ResetVpnClientSharedKey. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayResetVpnClientSharedKey.json + */ + /** + * Sample code: ResetVpnClientSharedKey. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void resetVpnClientSharedKey(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGateways() + .resetVpnClientSharedKey("rg1", "vpngw", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayResetVpnClientSharedKey.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayResetVpnClientSharedKey.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayResetVpnClientSharedKey.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewaySetVpnClientIpsecParameters.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewaySetVpnClientIpsecParameters.java new file mode 100644 index 0000000000..17dd89fbfa --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewaySetVpnClientIpsecParameters.java @@ -0,0 +1,41 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.VpnClientIPsecParametersInner; +import com.azure.resourcemanager.network.models.DhGroup; +import com.azure.resourcemanager.network.models.IkeEncryption; +import com.azure.resourcemanager.network.models.IkeIntegrity; +import com.azure.resourcemanager.network.models.IpsecEncryption; +import com.azure.resourcemanager.network.models.IpsecIntegrity; +import com.azure.resourcemanager.network.models.PfsGroup; + +/** Samples for VirtualNetworkGateways SetVpnclientIpsecParameters. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json + */ + /** + * Sample code: Set VirtualNetworkGateway VpnClientIpsecParameters. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void setVirtualNetworkGatewayVpnClientIpsecParameters( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGateways() + .setVpnclientIpsecParameters( + "rg1", + "vpngw", + new VpnClientIPsecParametersInner() + .withSaLifeTimeSeconds(86473) + .withSaDataSizeKilobytes(429497) + .withIpsecEncryption(IpsecEncryption.AES256) + .withIpsecIntegrity(IpsecIntegrity.SHA256) + .withIkeEncryption(IkeEncryption.AES256) + .withIkeIntegrity(IkeIntegrity.SHA384) + .withDhGroup(DhGroup.DHGROUP2) + .withPfsGroup(PfsGroup.PFS2), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewaySetVpnClientIpsecParameters.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewaySetVpnClientIpsecParameters.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewaySetVpnClientIpsecParameters.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayStartPacketCapture.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayStartPacketCapture.java new file mode 100644 index 0000000000..f1c01faaff --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayStartPacketCapture.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkGateways StartPacketCapture. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayStartPacketCapture.json + */ + /** + * Sample code: Start packet capture on virtual network gateway without filter. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void startPacketCaptureOnVirtualNetworkGatewayWithoutFilter( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGateways() + .startPacketCapture("rg1", "vpngw", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayStartPacketCapture.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayStartPacketCapture.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayStartPacketCapture.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayStartPacketCaptureFilterData.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayStartPacketCaptureFilterData.java new file mode 100644 index 0000000000..961baa1f7d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayStartPacketCaptureFilterData.java @@ -0,0 +1,32 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.VpnPacketCaptureStartParameters; + +/** Samples for VirtualNetworkGateways StartPacketCapture. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayStartPacketCaptureFilterData.json + */ + /** + * Sample code: Start packet capture on virtual network gateway with filter. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void startPacketCaptureOnVirtualNetworkGatewayWithFilter( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGateways() + .startPacketCapture( + "rg1", + "vpngw", + new VpnPacketCaptureStartParameters() + .withFilterData( + "{'TracingFlags': 11,'MaxPacketBufferSize': 120,'MaxFileSize': 200,'Filters':" + + " [{'SourceSubnets': ['20.1.1.0/24'],'DestinationSubnets': ['10.1.1.0/24'],'SourcePort':" + + " [500],'DestinationPort': [4500],'Protocol': 6,'TcpFlags':" + + " 16,'CaptureSingleDirectionTrafficOnly': true}]}"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayStartPacketCaptureFilterData.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayStartPacketCaptureFilterData.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayStartPacketCaptureFilterData.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayStopPacketCapture.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayStopPacketCapture.java new file mode 100644 index 0000000000..34adffbe2b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayStopPacketCapture.java @@ -0,0 +1,28 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.VpnPacketCaptureStopParameters; + +/** Samples for VirtualNetworkGateways StopPacketCapture. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayStopPacketCapture.json + */ + /** + * Sample code: Stop packet capture on virtual network gateway. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void stopPacketCaptureOnVirtualNetworkGateway(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGateways() + .stopPacketCapture( + "rg1", + "vpngw", + new VpnPacketCaptureStopParameters() + .withSasUrl( + "https://teststorage.blob.core.windows.net/?sv=2018-03-28&ss=bfqt&srt=sco&sp=rwdlacup&se=2019-09-13T07:44:05Z&st=2019-09-06T23:44:05Z&spr=https&sig=V1h9D1riltvZMI69d6ihENnFo%2FrCvTqGgjO2lf%2FVBhE%3D"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayStopPacketCapture.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayStopPacketCapture.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayStopPacketCapture.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewaySupportedVpnDevice.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewaySupportedVpnDevice.java new file mode 100644 index 0000000000..7e573abbc7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewaySupportedVpnDevice.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkGateways SupportedVpnDevices. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewaySupportedVpnDevice.json + */ + /** + * Sample code: ListVirtualNetworkGatewaySupportedVPNDevices. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listVirtualNetworkGatewaySupportedVPNDevices( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGateways() + .supportedVpnDevicesWithResponse("rg1", "vpngw", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewaySupportedVpnDevice.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewaySupportedVpnDevice.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewaySupportedVpnDevice.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayUpdate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayUpdate.java new file mode 100644 index 0000000000..4a69b0a734 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayUpdate.java @@ -0,0 +1,110 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.VirtualNetworkGatewayInner; +import com.azure.resourcemanager.network.fluent.models.VirtualNetworkGatewayIpConfigurationInner; +import com.azure.resourcemanager.network.fluent.models.VirtualNetworkGatewayNatRuleInner; +import com.azure.resourcemanager.network.models.AddressSpace; +import com.azure.resourcemanager.network.models.BgpSettings; +import com.azure.resourcemanager.network.models.IpAllocationMethod; +import com.azure.resourcemanager.network.models.RadiusServer; +import com.azure.resourcemanager.network.models.VirtualNetworkGatewaySku; +import com.azure.resourcemanager.network.models.VirtualNetworkGatewaySkuName; +import com.azure.resourcemanager.network.models.VirtualNetworkGatewaySkuTier; +import com.azure.resourcemanager.network.models.VirtualNetworkGatewayType; +import com.azure.resourcemanager.network.models.VpnClientConfiguration; +import com.azure.resourcemanager.network.models.VpnClientProtocol; +import com.azure.resourcemanager.network.models.VpnNatRuleMapping; +import com.azure.resourcemanager.network.models.VpnNatRuleMode; +import com.azure.resourcemanager.network.models.VpnNatRuleType; +import com.azure.resourcemanager.network.models.VpnType; +import java.util.Arrays; + +/** Samples for VirtualNetworkGateways CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayUpdate.json + */ + /** + * Sample code: UpdateVirtualNetworkGateway. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateVirtualNetworkGateway(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGateways() + .createOrUpdate( + "rg1", + "vpngw", + new VirtualNetworkGatewayInner() + .withLocation("centralus") + .withIpConfigurations( + Arrays + .asList( + new VirtualNetworkGatewayIpConfigurationInner() + .withName("gwipconfig1") + .withPrivateIpAllocationMethod(IpAllocationMethod.DYNAMIC) + .withSubnet( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet")) + .withPublicIpAddress( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip")))) + .withGatewayType(VirtualNetworkGatewayType.VPN) + .withVpnType(VpnType.ROUTE_BASED) + .withEnableBgp(false) + .withActive(false) + .withDisableIpSecReplayProtection(false) + .withSku( + new VirtualNetworkGatewaySku() + .withName(VirtualNetworkGatewaySkuName.VPN_GW1) + .withTier(VirtualNetworkGatewaySkuTier.VPN_GW1)) + .withVpnClientConfiguration( + new VpnClientConfiguration() + .withVpnClientRootCertificates(Arrays.asList()) + .withVpnClientRevokedCertificates(Arrays.asList()) + .withVpnClientProtocols(Arrays.asList(VpnClientProtocol.OPEN_VPN)) + .withRadiusServers( + Arrays + .asList( + new RadiusServer() + .withRadiusServerAddress("10.2.0.0") + .withRadiusServerScore(20L) + .withRadiusServerSecret("radiusServerSecret")))) + .withBgpSettings( + new BgpSettings().withAsn(65515L).withBgpPeeringAddress("10.0.1.30").withPeerWeight(0)) + .withCustomRoutes(new AddressSpace().withAddressPrefixes(Arrays.asList("101.168.0.6/32"))) + .withEnableDnsForwarding(true) + .withNatRules( + Arrays + .asList( + new VirtualNetworkGatewayNatRuleInner() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule1") + .withName("natRule1") + .withTypePropertiesType(VpnNatRuleType.STATIC) + .withMode(VpnNatRuleMode.EGRESS_SNAT) + .withInternalMappings( + Arrays.asList(new VpnNatRuleMapping().withAddressSpace("10.10.0.0/24"))) + .withExternalMappings( + Arrays.asList(new VpnNatRuleMapping().withAddressSpace("50.0.0.0/24"))) + .withIpConfigurationId(""), + new VirtualNetworkGatewayNatRuleInner() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2") + .withName("natRule2") + .withTypePropertiesType(VpnNatRuleType.STATIC) + .withMode(VpnNatRuleMode.INGRESS_SNAT) + .withInternalMappings( + Arrays.asList(new VpnNatRuleMapping().withAddressSpace("20.10.0.0/24"))) + .withExternalMappings( + Arrays.asList(new VpnNatRuleMapping().withAddressSpace("30.0.0.0/24"))) + .withIpConfigurationId(""))) + .withEnableBgpRouteTranslationForNat(false), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayUpdate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayUpdate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayUpdateTags.java new file mode 100644 index 0000000000..bcdef84d1e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayUpdateTags.java @@ -0,0 +1,36 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for VirtualNetworkGateways UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayUpdateTags.json + */ + /** + * Sample code: UpdateVirtualNetworkGatewayTags. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateVirtualNetworkGatewayTags(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGateways() + .updateTags( + "rg1", "vpngw", new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayVpnDeviceConfigurationScript.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayVpnDeviceConfigurationScript.java new file mode 100644 index 0000000000..3c97f3e466 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayVpnDeviceConfigurationScript.java @@ -0,0 +1,29 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.VpnDeviceScriptParameters; + +/** Samples for VirtualNetworkGateways VpnDeviceConfigurationScript. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json + */ + /** + * Sample code: GetVPNDeviceConfigurationScript. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getVPNDeviceConfigurationScript(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGateways() + .vpnDeviceConfigurationScriptWithResponse( + "rg1", + "vpngw", + new VpnDeviceScriptParameters() + .withVendor("Cisco") + .withDeviceFamily("ISR") + .withFirmwareVersion("IOS 15.1 (Preview)"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayVpnDeviceConfigurationScript.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayVpnDeviceConfigurationScript.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewayVpnDeviceConfigurationScript.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewaysDisconnectP2sVpnConnections.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewaysDisconnectP2sVpnConnections.java new file mode 100644 index 0000000000..282c044c08 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewaysDisconnectP2sVpnConnections.java @@ -0,0 +1,28 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.P2SVpnConnectionRequest; +import java.util.Arrays; + +/** Samples for VirtualNetworkGateways DisconnectVirtualNetworkGatewayVpnConnections. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewaysDisconnectP2sVpnConnections.json + */ + /** + * Sample code: Disconnect VpnConnections from Virtual Network Gateway. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void disconnectVpnConnectionsFromVirtualNetworkGateway( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGateways() + .disconnectVirtualNetworkGatewayVpnConnections( + "vpn-gateway-test", + "vpngateway", + new P2SVpnConnectionRequest().withVpnConnectionIds(Arrays.asList("vpnconnId1", "vpnconnId2")), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewaysDisconnectP2sVpnConnections.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewaysDisconnectP2sVpnConnections.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewaysDisconnectP2sVpnConnections.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewaysListConnections.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewaysListConnections.java new file mode 100644 index 0000000000..0f09a740af --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewaysListConnections.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkGateways ListConnections. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGatewaysListConnections.json + */ + /** + * Sample code: VirtualNetworkGatewaysListConnections. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void virtualNetworkGatewaysListConnections(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkGateways() + .listConnections("testrg", "test-vpn-gateway-1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewaysListConnections.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewaysListConnections.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGatewaysListConnections.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGet.java new file mode 100644 index 0000000000..ca13eec5fe --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworks GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGet.json + */ + /** + * Sample code: Get virtual network. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getVirtualNetwork(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworks() + .getByResourceGroupWithResponse("rg1", "test-vnet", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGetResourceNavigationLinks.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGetResourceNavigationLinks.java new file mode 100644 index 0000000000..2c6ef1767e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGetResourceNavigationLinks.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ResourceNavigationLinks List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGetResourceNavigationLinks.json + */ + /** + * Sample code: Get Resource Navigation Links. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getResourceNavigationLinks(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getResourceNavigationLinks() + .listWithResponse("rg1", "vnet", "subnet", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGetResourceNavigationLinks.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGetResourceNavigationLinks.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGetResourceNavigationLinks.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGetServiceAssociationLinks.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGetServiceAssociationLinks.java new file mode 100644 index 0000000000..1adac526a8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGetServiceAssociationLinks.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ServiceAssociationLinks List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGetServiceAssociationLinks.json + */ + /** + * Sample code: Get Service Association Links. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getServiceAssociationLinks(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getServiceAssociationLinks() + .listWithResponse("rg1", "vnet", "subnet", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGetServiceAssociationLinks.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGetServiceAssociationLinks.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGetServiceAssociationLinks.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGetWithServiceAssociationLink.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGetWithServiceAssociationLink.java new file mode 100644 index 0000000000..24c9229024 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGetWithServiceAssociationLink.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworks GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGetWithServiceAssociationLink.json + */ + /** + * Sample code: Get virtual network with service association links. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getVirtualNetworkWithServiceAssociationLinks( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworks() + .getByResourceGroupWithResponse("rg1", "test-vnet", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGetWithServiceAssociationLink.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGetWithServiceAssociationLink.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGetWithServiceAssociationLink.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGetWithSubnetDelegation.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGetWithSubnetDelegation.java new file mode 100644 index 0000000000..29a91be1d2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGetWithSubnetDelegation.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworks GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkGetWithSubnetDelegation.json + */ + /** + * Sample code: Get virtual network with a delegated subnet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getVirtualNetworkWithADelegatedSubnet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworks() + .getByResourceGroupWithResponse("rg1", "test-vnet", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGetWithSubnetDelegation.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGetWithSubnetDelegation.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkGetWithSubnetDelegation.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkList.java new file mode 100644 index 0000000000..e33d15fca9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworks ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkList.json + */ + /** + * Sample code: List virtual networks in resource group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listVirtualNetworksInResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getVirtualNetworks().listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkListAll.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkListAll.java new file mode 100644 index 0000000000..e57170e486 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkListAll.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworks List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkListAll.json + */ + /** + * Sample code: List all virtual networks. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllVirtualNetworks(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getVirtualNetworks().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkListAll.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkListAll.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkListUsage.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkListUsage.java new file mode 100644 index 0000000000..0c98d280fb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkListUsage.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworks ListUsage. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkListUsage.json + */ + /** + * Sample code: VnetGetUsage. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void vnetGetUsage(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getVirtualNetworks().listUsage("rg1", "vnetName", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkListUsage.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkListUsage.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkListUsage.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringCreate.java new file mode 100644 index 0000000000..04730efb99 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringCreate.java @@ -0,0 +1,37 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.VirtualNetworkPeeringInner; + +/** Samples for VirtualNetworkPeerings CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkPeeringCreate.json + */ + /** + * Sample code: Create peering. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createPeering(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkPeerings() + .createOrUpdate( + "peerTest", + "vnet1", + "peer", + new VirtualNetworkPeeringInner() + .withAllowVirtualNetworkAccess(true) + .withAllowForwardedTraffic(true) + .withAllowGatewayTransit(false) + .withUseRemoteGateways(false) + .withRemoteVirtualNetwork( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2")), + null, + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringCreateWithRemoteVirtualNetworkEncryption.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringCreateWithRemoteVirtualNetworkEncryption.java new file mode 100644 index 0000000000..668b7fa378 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringCreateWithRemoteVirtualNetworkEncryption.java @@ -0,0 +1,38 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.VirtualNetworkPeeringInner; + +/** Samples for VirtualNetworkPeerings CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkPeeringCreateWithRemoteVirtualNetworkEncryption.json + */ + /** + * Sample code: Create peering with remote virtual network encryption. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createPeeringWithRemoteVirtualNetworkEncryption( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkPeerings() + .createOrUpdate( + "peerTest", + "vnet1", + "peer", + new VirtualNetworkPeeringInner() + .withAllowVirtualNetworkAccess(true) + .withAllowForwardedTraffic(true) + .withAllowGatewayTransit(false) + .withUseRemoteGateways(false) + .withRemoteVirtualNetwork( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2")), + null, + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringCreateWithRemoteVirtualNetworkEncryption.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringCreateWithRemoteVirtualNetworkEncryption.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringCreateWithRemoteVirtualNetworkEncryption.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringDelete.java new file mode 100644 index 0000000000..466113ae3e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkPeerings Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkPeeringDelete.json + */ + /** + * Sample code: Delete peering. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deletePeering(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkPeerings() + .delete("peerTest", "vnet1", "peer", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringGet.java new file mode 100644 index 0000000000..d3bd1bff1d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkPeerings Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkPeeringGet.json + */ + /** + * Sample code: Get peering. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getPeering(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkPeerings() + .getWithResponse("peerTest", "vnet1", "peer", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringGetWithRemoteVirtualNetworkEncryption.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringGetWithRemoteVirtualNetworkEncryption.java new file mode 100644 index 0000000000..0489046129 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringGetWithRemoteVirtualNetworkEncryption.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkPeerings Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkPeeringGetWithRemoteVirtualNetworkEncryption.json + */ + /** + * Sample code: Get peering with remote virtual network encryption. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getPeeringWithRemoteVirtualNetworkEncryption( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkPeerings() + .getWithResponse("peerTest", "vnet1", "peer", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringGetWithRemoteVirtualNetworkEncryption.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringGetWithRemoteVirtualNetworkEncryption.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringGetWithRemoteVirtualNetworkEncryption.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringList.java new file mode 100644 index 0000000000..9bf95a9f32 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkPeerings List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkPeeringList.json + */ + /** + * Sample code: List peerings. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listPeerings(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getVirtualNetworkPeerings().list("peerTest", "vnet1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringListWithRemoteVirtualNetworkEncryption.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringListWithRemoteVirtualNetworkEncryption.java new file mode 100644 index 0000000000..1deff97417 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringListWithRemoteVirtualNetworkEncryption.java @@ -0,0 +1,17 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkPeerings List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkPeeringListWithRemoteVirtualNetworkEncryption.json + */ + /** + * Sample code: List peerings with remote virtual network encryption. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listPeeringsWithRemoteVirtualNetworkEncryption( + com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getVirtualNetworkPeerings().list("peerTest", "vnet1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringListWithRemoteVirtualNetworkEncryption.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringListWithRemoteVirtualNetworkEncryption.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringListWithRemoteVirtualNetworkEncryption.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringSync.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringSync.java new file mode 100644 index 0000000000..a7fc9e8443 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringSync.java @@ -0,0 +1,38 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.VirtualNetworkPeeringInner; +import com.azure.resourcemanager.network.models.SyncRemoteAddressSpace; + +/** Samples for VirtualNetworkPeerings CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkPeeringSync.json + */ + /** + * Sample code: Sync Peering. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void syncPeering(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkPeerings() + .createOrUpdate( + "peerTest", + "vnet1", + "peer", + new VirtualNetworkPeeringInner() + .withAllowVirtualNetworkAccess(true) + .withAllowForwardedTraffic(true) + .withAllowGatewayTransit(false) + .withUseRemoteGateways(false) + .withRemoteVirtualNetwork( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2")), + SyncRemoteAddressSpace.TRUE, + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringSync.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringSync.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkPeeringSync.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapCreate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapCreate.java new file mode 100644 index 0000000000..02f112a12e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapCreate.java @@ -0,0 +1,32 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.NetworkInterfaceIpConfigurationInner; +import com.azure.resourcemanager.network.fluent.models.VirtualNetworkTapInner; + +/** Samples for VirtualNetworkTaps CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkTapCreate.json + */ + /** + * Sample code: Create Virtual Network Tap. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createVirtualNetworkTap(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkTaps() + .createOrUpdate( + "rg1", + "test-vtap", + new VirtualNetworkTapInner() + .withLocation("centraluseuap") + .withDestinationNetworkInterfaceIpConfiguration( + new NetworkInterfaceIpConfigurationInner() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/ipconfig1")), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapDelete.java new file mode 100644 index 0000000000..e19eb13214 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkTaps Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkTapDelete.json + */ + /** + * Sample code: Delete Virtual Network Tap resource. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteVirtualNetworkTapResource(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getVirtualNetworkTaps().delete("rg1", "test-vtap", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapGet.java new file mode 100644 index 0000000000..f32a2db88d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkTaps GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkTapGet.json + */ + /** + * Sample code: Get Virtual Network Tap. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getVirtualNetworkTap(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkTaps() + .getByResourceGroupWithResponse("rg1", "testvtap", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapList.java new file mode 100644 index 0000000000..b34d6a4570 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkTaps ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkTapList.json + */ + /** + * Sample code: List virtual network taps in resource group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listVirtualNetworkTapsInResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getVirtualNetworkTaps().listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapListAll.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapListAll.java new file mode 100644 index 0000000000..7af70f61bf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapListAll.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkTaps List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkTapListAll.json + */ + /** + * Sample code: List all virtual network taps. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllVirtualNetworkTaps(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getVirtualNetworkTaps().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapListAll.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapListAll.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapUpdateTags.java new file mode 100644 index 0000000000..aeb80dd34f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapUpdateTags.java @@ -0,0 +1,36 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for VirtualNetworkTaps UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkTapUpdateTags.json + */ + /** + * Sample code: Update virtual network tap tags. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateVirtualNetworkTapTags(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworkTaps() + .updateTagsWithResponse( + "rg1", "test-vtap", new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkTapUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkUpdateTags.java new file mode 100644 index 0000000000..28a0f6b219 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkUpdateTags.java @@ -0,0 +1,36 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for VirtualNetworks UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualNetworkUpdateTags.json + */ + /** + * Sample code: Update virtual network tags. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateVirtualNetworkTags(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualNetworks() + .updateTagsWithResponse( + "rg1", "test-vnet", new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualNetworkUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterDelete.java new file mode 100644 index 0000000000..af2943be1f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualRouters Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualRouterDelete.json + */ + /** + * Sample code: Delete VirtualRouter. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteVirtualRouter(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getVirtualRouters().delete("rg1", "virtualRouter", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterGet.java new file mode 100644 index 0000000000..deeec6c37f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualRouters GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualRouterGet.json + */ + /** + * Sample code: Get VirtualRouter. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getVirtualRouter(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualRouters() + .getByResourceGroupWithResponse("rg1", "virtualRouter", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterListByResourceGroup.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterListByResourceGroup.java new file mode 100644 index 0000000000..d81435e295 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterListByResourceGroup.java @@ -0,0 +1,17 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualRouters ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualRouterListByResourceGroup.json + */ + /** + * Sample code: List all Virtual Router for a given resource group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllVirtualRouterForAGivenResourceGroup( + com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getVirtualRouters().listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterListByResourceGroup.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterListByResourceGroup.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterListBySubscription.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterListBySubscription.java new file mode 100644 index 0000000000..759be640bc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterListBySubscription.java @@ -0,0 +1,17 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualRouters List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualRouterListBySubscription.json + */ + /** + * Sample code: List all Virtual Routers for a given subscription. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllVirtualRoutersForAGivenSubscription( + com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getVirtualRouters().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterListBySubscription.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterListBySubscription.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeerListAdvertisedRoute.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeerListAdvertisedRoute.java new file mode 100644 index 0000000000..b83fd1b94a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeerListAdvertisedRoute.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualHubBgpConnections ListAdvertisedRoutes. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualRouterPeerListAdvertisedRoute.json + */ + /** + * Sample code: VirtualRouterPeerListAdvertisedRoutes. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void virtualRouterPeerListAdvertisedRoutes(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualHubBgpConnections() + .listAdvertisedRoutes("rg1", "virtualRouter1", "peer1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeerListAdvertisedRoute.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeerListAdvertisedRoute.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeerListAdvertisedRoute.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeerListLearnedRoute.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeerListLearnedRoute.java new file mode 100644 index 0000000000..5de4bb057e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeerListLearnedRoute.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualHubBgpConnections ListLearnedRoutes. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualRouterPeerListLearnedRoute.json + */ + /** + * Sample code: VirtualRouterPeerListLearnedRoutes. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void virtualRouterPeerListLearnedRoutes(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualHubBgpConnections() + .listLearnedRoutes("rg1", "virtualRouter1", "peer1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeerListLearnedRoute.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeerListLearnedRoute.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeerListLearnedRoute.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeeringDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeeringDelete.java new file mode 100644 index 0000000000..0cc39977af --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeeringDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualRouterPeerings Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualRouterPeeringDelete.json + */ + /** + * Sample code: Delete VirtualRouterPeering. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteVirtualRouterPeering(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualRouterPeerings() + .delete("rg1", "virtualRouter", "peering1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeeringDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeeringDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeeringDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeeringGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeeringGet.java new file mode 100644 index 0000000000..64a5044891 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeeringGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualRouterPeerings Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualRouterPeeringGet.json + */ + /** + * Sample code: Get Virtual Router Peering. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getVirtualRouterPeering(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualRouterPeerings() + .getWithResponse("rg1", "virtualRouter", "peering1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeeringGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeeringGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeeringList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeeringList.java new file mode 100644 index 0000000000..71fce998ba --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeeringList.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualRouterPeerings List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualRouterPeeringList.json + */ + /** + * Sample code: List all Virtual Router Peerings for a given Virtual Router. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listAllVirtualRouterPeeringsForAGivenVirtualRouter( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualRouterPeerings() + .list("rg1", "virtualRouter", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeeringList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeeringList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeeringPut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeeringPut.java new file mode 100644 index 0000000000..13c12a84bc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeeringPut.java @@ -0,0 +1,27 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.VirtualRouterPeeringInner; + +/** Samples for VirtualRouterPeerings CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualRouterPeeringPut.json + */ + /** + * Sample code: Create Virtual Router Peering. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createVirtualRouterPeering(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualRouterPeerings() + .createOrUpdate( + "rg1", + "virtualRouter", + "peering1", + new VirtualRouterPeeringInner().withPeerAsn(20000L).withPeerIp("192.168.1.5"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeeringPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeeringPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPeeringPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPut.java new file mode 100644 index 0000000000..540ec65ff9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPut.java @@ -0,0 +1,46 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.VirtualRouterInner; +import java.util.HashMap; +import java.util.Map; + +/** Samples for VirtualRouters CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualRouterPut.json + */ + /** + * Sample code: Create VirtualRouter. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createVirtualRouter(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualRouters() + .createOrUpdate( + "rg1", + "virtualRouter", + new VirtualRouterInner() + .withLocation("West US") + .withTags(mapOf("key1", "value1")) + .withHostedGateway( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vnetGateway")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualRouterPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANDelete.java new file mode 100644 index 0000000000..e46fe63dd4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualWans Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualWANDelete.json + */ + /** + * Sample code: VirtualWANDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void virtualWANDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getVirtualWans().delete("rg1", "virtualWan1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANGet.java new file mode 100644 index 0000000000..4710e3cb58 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualWans GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualWANGet.json + */ + /** + * Sample code: VirtualWANGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void virtualWANGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualWans() + .getByResourceGroupWithResponse("rg1", "wan1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANList.java new file mode 100644 index 0000000000..51c54e8178 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualWans List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualWANList.json + */ + /** + * Sample code: VirtualWANList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void virtualWANList(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getVirtualWans().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANListByResourceGroup.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANListByResourceGroup.java new file mode 100644 index 0000000000..8f1111459b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANListByResourceGroup.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualWans ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualWANListByResourceGroup.json + */ + /** + * Sample code: VirtualWANListByResourceGroup. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void virtualWANListByResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getVirtualWans().listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANListByResourceGroup.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANListByResourceGroup.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANPut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANPut.java new file mode 100644 index 0000000000..1bad87f934 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANPut.java @@ -0,0 +1,43 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.VirtualWanInner; +import java.util.HashMap; +import java.util.Map; + +/** Samples for VirtualWans CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualWANPut.json + */ + /** + * Sample code: VirtualWANCreate. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void virtualWANCreate(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualWans() + .createOrUpdate( + "rg1", + "wan1", + new VirtualWanInner() + .withLocation("West US") + .withTags(mapOf("key1", "value1")) + .withDisableVpnEncryption(false) + .withTypePropertiesType("Basic"), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANUpdateTags.java new file mode 100644 index 0000000000..3be3557091 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANUpdateTags.java @@ -0,0 +1,36 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for VirtualWans UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualWANUpdateTags.json + */ + /** + * Sample code: VirtualWANUpdate. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void virtualWANUpdate(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVirtualWans() + .updateTagsWithResponse( + "rg1", "wan1", new TagsObject().withTags(mapOf("key1", "value1", "key2", "value2")), Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VirtualWANUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssNetworkInterfaceGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssNetworkInterfaceGet.java new file mode 100644 index 0000000000..89c29a1308 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssNetworkInterfaceGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkInterfaces GetVirtualMachineScaleSetNetworkInterface. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VmssNetworkInterfaceGet.json + */ + /** + * Sample code: Get virtual machine scale set network interface. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getVirtualMachineScaleSetNetworkInterface(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkInterfaces() + .getVirtualMachineScaleSetNetworkInterfaceWithResponse("rg1", "vmss1", "1", "nic1", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssNetworkInterfaceGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssNetworkInterfaceGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssNetworkInterfaceGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssNetworkInterfaceIpConfigGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssNetworkInterfaceIpConfigGet.java new file mode 100644 index 0000000000..c54578a528 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssNetworkInterfaceIpConfigGet.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkInterfaces GetVirtualMachineScaleSetIpConfiguration. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VmssNetworkInterfaceIpConfigGet.json + */ + /** + * Sample code: Get virtual machine scale set network interface. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getVirtualMachineScaleSetNetworkInterface(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkInterfaces() + .getVirtualMachineScaleSetIpConfigurationWithResponse( + "rg1", "vmss1", "2", "nic1", "ip1", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssNetworkInterfaceIpConfigGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssNetworkInterfaceIpConfigGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssNetworkInterfaceIpConfigGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssNetworkInterfaceIpConfigList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssNetworkInterfaceIpConfigList.java new file mode 100644 index 0000000000..c94fb7b8c1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssNetworkInterfaceIpConfigList.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkInterfaces ListVirtualMachineScaleSetIpConfigurations. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VmssNetworkInterfaceIpConfigList.json + */ + /** + * Sample code: List virtual machine scale set network interface ip configurations. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listVirtualMachineScaleSetNetworkInterfaceIpConfigurations( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkInterfaces() + .listVirtualMachineScaleSetIpConfigurations("rg1", "vmss1", "2", "nic1", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssNetworkInterfaceIpConfigList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssNetworkInterfaceIpConfigList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssNetworkInterfaceIpConfigList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssNetworkInterfaceList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssNetworkInterfaceList.java new file mode 100644 index 0000000000..9f10a8f5d2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssNetworkInterfaceList.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkInterfaces ListVirtualMachineScaleSetNetworkInterfaces. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VmssNetworkInterfaceList.json + */ + /** + * Sample code: List virtual machine scale set network interfaces. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listVirtualMachineScaleSetNetworkInterfaces( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkInterfaces() + .listVirtualMachineScaleSetNetworkInterfaces("rg1", "vmss1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssNetworkInterfaceList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssNetworkInterfaceList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssNetworkInterfaceList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssPublicIpGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssPublicIpGet.java new file mode 100644 index 0000000000..4147421b8e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssPublicIpGet.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for PublicIpAddresses GetVirtualMachineScaleSetPublicIpAddress. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VmssPublicIpGet.json + */ + /** + * Sample code: GetVMSSPublicIP. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getVMSSPublicIP(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPublicIpAddresses() + .getVirtualMachineScaleSetPublicIpAddressWithResponse( + "vmss-tester", "vmss1", "1", "nic1", "ip1", "pub1", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssPublicIpGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssPublicIpGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssPublicIpGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssPublicIpListAll.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssPublicIpListAll.java new file mode 100644 index 0000000000..61bf5f00ee --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssPublicIpListAll.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for PublicIpAddresses ListVirtualMachineScaleSetPublicIpAddresses. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VmssPublicIpListAll.json + */ + /** + * Sample code: ListVMSSPublicIP. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listVMSSPublicIP(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPublicIpAddresses() + .listVirtualMachineScaleSetPublicIpAddresses("vmss-tester", "vmss1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssPublicIpListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssPublicIpListAll.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssPublicIpListAll.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssVmNetworkInterfaceList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssVmNetworkInterfaceList.java new file mode 100644 index 0000000000..f3ba9f5992 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssVmNetworkInterfaceList.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for NetworkInterfaces ListVirtualMachineScaleSetVMNetworkInterfaces. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VmssVmNetworkInterfaceList.json + */ + /** + * Sample code: List virtual machine scale set vm network interfaces. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listVirtualMachineScaleSetVmNetworkInterfaces( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getNetworkInterfaces() + .listVirtualMachineScaleSetVMNetworkInterfaces("rg1", "vmss1", "1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssVmNetworkInterfaceList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssVmNetworkInterfaceList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssVmNetworkInterfaceList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssVmPublicIpList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssVmPublicIpList.java new file mode 100644 index 0000000000..0233593096 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssVmPublicIpList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for PublicIpAddresses ListVirtualMachineScaleSetVMPublicIpAddresses. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VmssVmPublicIpList.json + */ + /** + * Sample code: ListVMSSVMPublicIP. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listVMSSVMPublicIP(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getPublicIpAddresses() + .listVirtualMachineScaleSetVMPublicIpAddresses("vmss-tester", "vmss1", "1", "nic1", "ip1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssVmPublicIpList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssVmPublicIpList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VmssVmPublicIpList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionDelete.java new file mode 100644 index 0000000000..91a33e028d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VpnConnections Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnConnectionDelete.json + */ + /** + * Sample code: VpnConnectionDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void vpnConnectionDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVpnConnections() + .delete("rg1", "gateway1", "vpnConnection1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionGet.java new file mode 100644 index 0000000000..53a8b62456 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VpnConnections Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnConnectionGet.json + */ + /** + * Sample code: VpnConnectionGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void vpnConnectionGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVpnConnections() + .getWithResponse("rg1", "gateway1", "vpnConnection1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionList.java new file mode 100644 index 0000000000..727ea40768 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VpnConnections ListByVpnGateway. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnConnectionList.json + */ + /** + * Sample code: VpnConnectionList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void vpnConnectionList(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVpnConnections() + .listByVpnGateway("rg1", "gateway1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionPut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionPut.java new file mode 100644 index 0000000000..7db48c4c09 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionPut.java @@ -0,0 +1,51 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.VpnConnectionInner; +import com.azure.resourcemanager.network.fluent.models.VpnSiteLinkConnectionInner; +import com.azure.resourcemanager.network.models.VirtualNetworkGatewayConnectionProtocol; +import com.azure.resourcemanager.network.models.VpnLinkConnectionMode; +import java.util.Arrays; + +/** Samples for VpnConnections CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnConnectionPut.json + */ + /** + * Sample code: VpnConnectionPut. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void vpnConnectionPut(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVpnConnections() + .createOrUpdate( + "rg1", + "gateway1", + "vpnConnection1", + new VpnConnectionInner() + .withRemoteVpnSite( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1")) + .withTrafficSelectorPolicies(Arrays.asList()) + .withVpnLinkConnections( + Arrays + .asList( + new VpnSiteLinkConnectionInner() + .withName("Connection-Link1") + .withVpnSiteLink( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1")) + .withVpnLinkConnectionMode(VpnLinkConnectionMode.DEFAULT) + .withVpnConnectionProtocolType(VirtualNetworkGatewayConnectionProtocol.IKEV2) + .withConnectionBandwidth(200) + .withSharedKey("key") + .withUsePolicyBasedTrafficSelectors(false))), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionStartPacketCapture.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionStartPacketCapture.java new file mode 100644 index 0000000000..e9b1ce9166 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionStartPacketCapture.java @@ -0,0 +1,30 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.VpnConnectionPacketCaptureStartParameters; +import java.util.Arrays; + +/** Samples for VpnConnections StartPacketCapture. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnConnectionStartPacketCapture.json + */ + /** + * Sample code: Start packet capture on vpn connection without filter. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void startPacketCaptureOnVpnConnectionWithoutFilter( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVpnConnections() + .startPacketCapture( + "rg1", + "gateway1", + "vpnConnection1", + new VpnConnectionPacketCaptureStartParameters() + .withLinkConnectionNames(Arrays.asList("siteLink1", "siteLink2")), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionStartPacketCapture.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionStartPacketCapture.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionStartPacketCapture.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionStartPacketCaptureFilterData.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionStartPacketCaptureFilterData.java new file mode 100644 index 0000000000..f776b24555 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionStartPacketCaptureFilterData.java @@ -0,0 +1,35 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.VpnConnectionPacketCaptureStartParameters; +import java.util.Arrays; + +/** Samples for VpnConnections StartPacketCapture. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnConnectionStartPacketCaptureFilterData.json + */ + /** + * Sample code: Start packet capture on vpn connection with filter. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void startPacketCaptureOnVpnConnectionWithFilter( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVpnConnections() + .startPacketCapture( + "rg1", + "gateway1", + "vpnConnection1", + new VpnConnectionPacketCaptureStartParameters() + .withFilterData( + "{'TracingFlags': 11,'MaxPacketBufferSize': 120,'MaxFileSize': 200,'Filters':" + + " [{'SourceSubnets': ['20.1.1.0/24'],'DestinationSubnets': ['10.1.1.0/24'],'SourcePort':" + + " [500],'DestinationPort': [4500],'Protocol': 6,'TcpFlags':" + + " 16,'CaptureSingleDirectionTrafficOnly': true}]}") + .withLinkConnectionNames(Arrays.asList("siteLink1", "siteLink2")), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionStartPacketCaptureFilterData.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionStartPacketCaptureFilterData.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionStartPacketCaptureFilterData.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionStopPacketCapture.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionStopPacketCapture.java new file mode 100644 index 0000000000..7914a1a924 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionStopPacketCapture.java @@ -0,0 +1,32 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.VpnConnectionPacketCaptureStopParameters; +import java.util.Arrays; + +/** Samples for VpnConnections StopPacketCapture. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnConnectionStopPacketCapture.json + */ + /** + * Sample code: Start packet capture on vpn connection without filter. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void startPacketCaptureOnVpnConnectionWithoutFilter( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVpnConnections() + .stopPacketCapture( + "rg1", + "gateway1", + "vpnConnection1", + new VpnConnectionPacketCaptureStopParameters() + .withSasUrl( + "https://teststorage.blob.core.windows.net/?sv=2018-03-28&ss=bfqt&srt=sco&sp=rwdlacup&se=2019-09-13T07:44:05Z&st=2019-09-06T23:44:05Z&spr=https&sig=V1h9D1riltvZMI69d6ihENnFo%2FrCvTqGgjO2lf%2FVBhE%3D") + .withLinkConnectionNames(Arrays.asList("vpnSiteLink1", "vpnSiteLink2")), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionStopPacketCapture.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionStopPacketCapture.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnConnectionStopPacketCapture.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayDelete.java new file mode 100644 index 0000000000..fd35d8e408 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for VpnGateways Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnGatewayDelete.json + */ + /** + * Sample code: VpnGatewayDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void vpnGatewayDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getVpnGateways().delete("rg1", "gateway1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayGet.java new file mode 100644 index 0000000000..8e5c7f446c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VpnGateways GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnGatewayGet.json + */ + /** + * Sample code: VpnGatewayGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void vpnGatewayGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVpnGateways() + .getByResourceGroupWithResponse("rg1", "gateway1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayList.java new file mode 100644 index 0000000000..c67942aaed --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for VpnGateways List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnGatewayList.json + */ + /** + * Sample code: VpnGatewayListBySubscription. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void vpnGatewayListBySubscription(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getVpnGateways().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayListByResourceGroup.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayListByResourceGroup.java new file mode 100644 index 0000000000..0d30ee476e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayListByResourceGroup.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for VpnGateways ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnGatewayListByResourceGroup.json + */ + /** + * Sample code: VpnGatewayListByResourceGroup. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void vpnGatewayListByResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getVpnGateways().listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayListByResourceGroup.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayListByResourceGroup.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayPut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayPut.java new file mode 100644 index 0000000000..167d7ac5d1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayPut.java @@ -0,0 +1,111 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.VpnConnectionInner; +import com.azure.resourcemanager.network.fluent.models.VpnGatewayInner; +import com.azure.resourcemanager.network.fluent.models.VpnGatewayNatRuleInner; +import com.azure.resourcemanager.network.fluent.models.VpnSiteLinkConnectionInner; +import com.azure.resourcemanager.network.models.BgpSettings; +import com.azure.resourcemanager.network.models.IpConfigurationBgpPeeringAddress; +import com.azure.resourcemanager.network.models.VirtualNetworkGatewayConnectionProtocol; +import com.azure.resourcemanager.network.models.VpnNatRuleMapping; +import com.azure.resourcemanager.network.models.VpnNatRuleMode; +import com.azure.resourcemanager.network.models.VpnNatRuleType; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for VpnGateways CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnGatewayPut.json + */ + /** + * Sample code: VpnGatewayPut. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void vpnGatewayPut(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVpnGateways() + .createOrUpdate( + "rg1", + "gateway1", + new VpnGatewayInner() + .withLocation("westcentralus") + .withTags(mapOf("key1", "value1")) + .withVirtualHub( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1")) + .withConnections( + Arrays + .asList( + new VpnConnectionInner() + .withName("vpnConnection1") + .withRemoteVpnSite( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1")) + .withVpnLinkConnections( + Arrays + .asList( + new VpnSiteLinkConnectionInner() + .withName("Connection-Link1") + .withVpnSiteLink( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1")) + .withVpnConnectionProtocolType( + VirtualNetworkGatewayConnectionProtocol.IKEV2) + .withConnectionBandwidth(200) + .withSharedKey("key") + .withEgressNatRules( + Arrays + .asList( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat03"))))))) + .withBgpSettings( + new BgpSettings() + .withAsn(65515L) + .withPeerWeight(0) + .withBgpPeeringAddresses( + Arrays + .asList( + new IpConfigurationBgpPeeringAddress() + .withIpconfigurationId("Instance0") + .withCustomBgpIpAddresses(Arrays.asList("169.254.21.5")), + new IpConfigurationBgpPeeringAddress() + .withIpconfigurationId("Instance1") + .withCustomBgpIpAddresses(Arrays.asList("169.254.21.10"))))) + .withEnableBgpRouteTranslationForNat(false) + .withIsRoutingPreferenceInternet(false) + .withNatRules( + Arrays + .asList( + new VpnGatewayNatRuleInner() + .withName("nat03") + .withTypePropertiesType(VpnNatRuleType.STATIC) + .withMode(VpnNatRuleMode.EGRESS_SNAT) + .withInternalMappings( + Arrays.asList(new VpnNatRuleMapping().withAddressSpace("0.0.0.0/26"))) + .withExternalMappings( + Arrays.asList(new VpnNatRuleMapping().withAddressSpace("192.168.0.0/26"))) + .withIpConfigurationId(""))), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayReset.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayReset.java new file mode 100644 index 0000000000..75b4e94c5a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayReset.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for VpnGateways Reset. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnGatewayReset.json + */ + /** + * Sample code: ResetVpnGateway. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void resetVpnGateway(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getVpnGateways().reset("rg1", "vpngw", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayReset.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayReset.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayReset.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayStartPacketCapture.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayStartPacketCapture.java new file mode 100644 index 0000000000..8fc96fb587 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayStartPacketCapture.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for VpnGateways StartPacketCapture. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnGatewayStartPacketCapture.json + */ + /** + * Sample code: Start packet capture on vpn gateway without filter. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void startPacketCaptureOnVpnGatewayWithoutFilter( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVpnGateways() + .startPacketCapture("rg1", "vpngw", null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayStartPacketCapture.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayStartPacketCapture.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayStartPacketCapture.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayStartPacketCaptureFilterData.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayStartPacketCaptureFilterData.java new file mode 100644 index 0000000000..8ad9e6af6d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayStartPacketCaptureFilterData.java @@ -0,0 +1,31 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.VpnGatewayPacketCaptureStartParameters; + +/** Samples for VpnGateways StartPacketCapture. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnGatewayStartPacketCaptureFilterData.json + */ + /** + * Sample code: Start packet capture on vpn gateway with filter. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void startPacketCaptureOnVpnGatewayWithFilter(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVpnGateways() + .startPacketCapture( + "rg1", + "vpngw", + new VpnGatewayPacketCaptureStartParameters() + .withFilterData( + "{'TracingFlags': 11,'MaxPacketBufferSize': 120,'MaxFileSize': 200,'Filters':" + + " [{'SourceSubnets': ['20.1.1.0/24'],'DestinationSubnets': ['10.1.1.0/24'],'SourcePort':" + + " [500],'DestinationPort': [4500],'Protocol': 6,'TcpFlags':" + + " 16,'CaptureSingleDirectionTrafficOnly': true}]}"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayStartPacketCaptureFilterData.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayStartPacketCaptureFilterData.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayStartPacketCaptureFilterData.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayStopPacketCapture.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayStopPacketCapture.java new file mode 100644 index 0000000000..28f5c3341d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayStopPacketCapture.java @@ -0,0 +1,28 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.VpnGatewayPacketCaptureStopParameters; + +/** Samples for VpnGateways StopPacketCapture. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnGatewayStopPacketCapture.json + */ + /** + * Sample code: Stop packet capture on vpn gateway. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void stopPacketCaptureOnVpnGateway(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVpnGateways() + .stopPacketCapture( + "rg1", + "vpngw", + new VpnGatewayPacketCaptureStopParameters() + .withSasUrl( + "https://teststorage.blob.core.windows.net/?sv=2018-03-28&ss=bfqt&srt=sco&sp=rwdlacup&se=2019-09-13T07:44:05Z&st=2019-09-06T23:44:05Z&spr=https&sig=V1h9D1riltvZMI69d6ihENnFo%2FrCvTqGgjO2lf%2FVBhE%3D"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayStopPacketCapture.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayStopPacketCapture.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayStopPacketCapture.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayUpdateTags.java new file mode 100644 index 0000000000..1abbfb9b0b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayUpdateTags.java @@ -0,0 +1,36 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for VpnGateways UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnGatewayUpdateTags.json + */ + /** + * Sample code: VpnGatewayUpdate. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void vpnGatewayUpdate(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVpnGateways() + .updateTags( + "rg1", "gateway1", new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnGatewayUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationDelete.java new file mode 100644 index 0000000000..5c1537162e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VpnServerConfigurations Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnServerConfigurationDelete.json + */ + /** + * Sample code: VpnServerConfigurationDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void vpnServerConfigurationDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVpnServerConfigurations() + .delete("rg1", "vpnServerConfiguration1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationGet.java new file mode 100644 index 0000000000..e08a3985c3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VpnServerConfigurations GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnServerConfigurationGet.json + */ + /** + * Sample code: VpnServerConfigurationGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void vpnServerConfigurationGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVpnServerConfigurations() + .getByResourceGroupWithResponse("rg1", "vpnServerConfiguration1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationList.java new file mode 100644 index 0000000000..06d23259fe --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for VpnServerConfigurations List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnServerConfigurationList.json + */ + /** + * Sample code: VpnServerConfigurationList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void vpnServerConfigurationList(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getVpnServerConfigurations().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationListByResourceGroup.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationListByResourceGroup.java new file mode 100644 index 0000000000..df8d4350cc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationListByResourceGroup.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VpnServerConfigurations ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnServerConfigurationListByResourceGroup.json + */ + /** + * Sample code: VpnServerConfigurationListByResourceGroup. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void vpnServerConfigurationListByResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVpnServerConfigurations() + .listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationListByResourceGroup.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationListByResourceGroup.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationPut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationPut.java new file mode 100644 index 0000000000..45f5850e11 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationPut.java @@ -0,0 +1,135 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.VpnServerConfigurationInner; +import com.azure.resourcemanager.network.fluent.models.VpnServerConfigurationPolicyGroupInner; +import com.azure.resourcemanager.network.models.DhGroup; +import com.azure.resourcemanager.network.models.IkeEncryption; +import com.azure.resourcemanager.network.models.IkeIntegrity; +import com.azure.resourcemanager.network.models.IpsecEncryption; +import com.azure.resourcemanager.network.models.IpsecIntegrity; +import com.azure.resourcemanager.network.models.IpsecPolicy; +import com.azure.resourcemanager.network.models.PfsGroup; +import com.azure.resourcemanager.network.models.RadiusServer; +import com.azure.resourcemanager.network.models.VpnGatewayTunnelingProtocol; +import com.azure.resourcemanager.network.models.VpnPolicyMemberAttributeType; +import com.azure.resourcemanager.network.models.VpnServerConfigRadiusClientRootCertificate; +import com.azure.resourcemanager.network.models.VpnServerConfigRadiusServerRootCertificate; +import com.azure.resourcemanager.network.models.VpnServerConfigVpnClientRevokedCertificate; +import com.azure.resourcemanager.network.models.VpnServerConfigVpnClientRootCertificate; +import com.azure.resourcemanager.network.models.VpnServerConfigurationPolicyGroupMember; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for VpnServerConfigurations CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnServerConfigurationPut.json + */ + /** + * Sample code: VpnServerConfigurationCreate. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void vpnServerConfigurationCreate(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVpnServerConfigurations() + .createOrUpdate( + "rg1", + "vpnServerConfiguration1", + new VpnServerConfigurationInner() + .withLocation("West US") + .withTags(mapOf("key1", "value1")) + .withVpnProtocols(Arrays.asList(VpnGatewayTunnelingProtocol.IKE_V2)) + .withVpnClientRootCertificates( + Arrays + .asList( + new VpnServerConfigVpnClientRootCertificate() + .withName("vpnServerConfigVpnClientRootCert1") + .withPublicCertData( + "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN"))) + .withVpnClientRevokedCertificates( + Arrays + .asList( + new VpnServerConfigVpnClientRevokedCertificate() + .withName("vpnServerConfigVpnClientRevokedCert1") + .withThumbprint("83FFBFC8848B5A5836C94D0112367E16148A286F"))) + .withRadiusServerRootCertificates( + Arrays + .asList( + new VpnServerConfigRadiusServerRootCertificate() + .withName("vpnServerConfigRadiusServerRootCer1") + .withPublicCertData( + "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM"))) + .withRadiusClientRootCertificates( + Arrays + .asList( + new VpnServerConfigRadiusClientRootCertificate() + .withName("vpnServerConfigRadiusClientRootCert1") + .withThumbprint("83FFBFC8848B5A5836C94D0112367E16148A286F"))) + .withVpnClientIpsecPolicies( + Arrays + .asList( + new IpsecPolicy() + .withSaLifeTimeSeconds(86472) + .withSaDataSizeKilobytes(429497) + .withIpsecEncryption(IpsecEncryption.AES256) + .withIpsecIntegrity(IpsecIntegrity.SHA256) + .withIkeEncryption(IkeEncryption.AES256) + .withIkeIntegrity(IkeIntegrity.SHA384) + .withDhGroup(DhGroup.DHGROUP14) + .withPfsGroup(PfsGroup.PFS14))) + .withRadiusServers( + Arrays + .asList( + new RadiusServer() + .withRadiusServerAddress("10.0.0.0") + .withRadiusServerScore(25L) + .withRadiusServerSecret("radiusServerSecret"))) + .withConfigurationPolicyGroups( + Arrays + .asList( + new VpnServerConfigurationPolicyGroupInner() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1") + .withName("policyGroup1") + .withIsDefault(true) + .withPriority(0) + .withPolicyMembers( + Arrays + .asList( + new VpnServerConfigurationPolicyGroupMember() + .withName("policy1") + .withAttributeType( + VpnPolicyMemberAttributeType.RADIUS_AZURE_GROUP_ID) + .withAttributeValue("6ad1bd08"))), + new VpnServerConfigurationPolicyGroupInner() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup2") + .withName("policyGroup2") + .withIsDefault(true) + .withPriority(0) + .withPolicyMembers( + Arrays + .asList( + new VpnServerConfigurationPolicyGroupMember() + .withName("policy2") + .withAttributeType( + VpnPolicyMemberAttributeType.CERTIFICATE_GROUP_ID) + .withAttributeValue("red.com"))))), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationUpdateTags.java new file mode 100644 index 0000000000..26cc2487db --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationUpdateTags.java @@ -0,0 +1,39 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for VpnServerConfigurations UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnServerConfigurationUpdateTags.json + */ + /** + * Sample code: VpnServerConfigurationUpdate. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void vpnServerConfigurationUpdate(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVpnServerConfigurations() + .updateTagsWithResponse( + "rg1", + "vpnServerConfiguration1", + new TagsObject().withTags(mapOf("key1", "value1", "key2", "value2")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnServerConfigurationUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteDelete.java new file mode 100644 index 0000000000..031ac5410b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteDelete.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for VpnSites Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnSiteDelete.json + */ + /** + * Sample code: VpnSiteDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void vpnSiteDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getVpnSites().delete("rg1", "vpnSite1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteGet.java new file mode 100644 index 0000000000..8f2f6f39a1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VpnSites GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnSiteGet.json + */ + /** + * Sample code: VpnSiteGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void vpnSiteGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVpnSites() + .getByResourceGroupWithResponse("rg1", "vpnSite1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkConnectionGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkConnectionGet.java new file mode 100644 index 0000000000..0ae444337d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkConnectionGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VpnSiteLinkConnections Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnSiteLinkConnectionGet.json + */ + /** + * Sample code: VpnSiteLinkConnectionGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void vpnSiteLinkConnectionGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVpnSiteLinkConnections() + .getWithResponse("rg1", "gateway1", "vpnConnection1", "Connection-Link1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkConnectionGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkConnectionGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkConnectionGetIkeSas.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkConnectionGetIkeSas.java new file mode 100644 index 0000000000..7251d3b9a1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkConnectionGetIkeSas.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VpnLinkConnections GetIkeSas. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnSiteLinkConnectionGetIkeSas.json + */ + /** + * Sample code: GetVpnLinkConnectionIkeSa. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getVpnLinkConnectionIkeSa(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVpnLinkConnections() + .getIkeSas("rg1", "gateway1", "vpnConnection1", "Connection-Link1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkConnectionGetIkeSas.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkConnectionGetIkeSas.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkConnectionGetIkeSas.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkConnectionList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkConnectionList.java new file mode 100644 index 0000000000..4bc80a99c6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkConnectionList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VpnLinkConnections ListByVpnConnection. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnSiteLinkConnectionList.json + */ + /** + * Sample code: VpnSiteLinkConnectionList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void vpnSiteLinkConnectionList(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVpnLinkConnections() + .listByVpnConnection("rg1", "gateway1", "vpnConnection1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkConnectionList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkConnectionList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkConnectionReset.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkConnectionReset.java new file mode 100644 index 0000000000..0db09d8cf7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkConnectionReset.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VpnLinkConnections ResetConnection. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnSiteLinkConnectionReset.json + */ + /** + * Sample code: ResetVpnLinkConnection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void resetVpnLinkConnection(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVpnLinkConnections() + .resetConnection("rg1", "gateway1", "vpnConnection1", "Connection-Link1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkConnectionReset.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkConnectionReset.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkConnectionReset.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkGet.java new file mode 100644 index 0000000000..da6c7e28b9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VpnSiteLinks Get. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnSiteLinkGet.json + */ + /** + * Sample code: VpnSiteGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void vpnSiteGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVpnSiteLinks() + .getWithResponse("rg1", "vpnSite1", "vpnSiteLink1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkListByVpnSite.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkListByVpnSite.java new file mode 100644 index 0000000000..295c1083bd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkListByVpnSite.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for VpnSiteLinks ListByVpnSite. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnSiteLinkListByVpnSite.json + */ + /** + * Sample code: VpnSiteLinkListByVpnSite. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void vpnSiteLinkListByVpnSite(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getVpnSiteLinks().listByVpnSite("rg1", "vpnSite1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkListByVpnSite.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkListByVpnSite.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteLinkListByVpnSite.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteList.java new file mode 100644 index 0000000000..0096d8bc0a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for VpnSites List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnSiteList.json + */ + /** + * Sample code: VpnSiteList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void vpnSiteList(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getVpnSites().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteListByResourceGroup.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteListByResourceGroup.java new file mode 100644 index 0000000000..a0e38da71a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteListByResourceGroup.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for VpnSites ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnSiteListByResourceGroup.json + */ + /** + * Sample code: VpnSiteListByResourceGroup. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void vpnSiteListByResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getVpnSites().listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteListByResourceGroup.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteListByResourceGroup.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSitePut.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSitePut.java new file mode 100644 index 0000000000..b6a82c7be4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSitePut.java @@ -0,0 +1,75 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.VpnSiteInner; +import com.azure.resourcemanager.network.fluent.models.VpnSiteLinkInner; +import com.azure.resourcemanager.network.models.AddressSpace; +import com.azure.resourcemanager.network.models.O365BreakOutCategoryPolicies; +import com.azure.resourcemanager.network.models.O365PolicyProperties; +import com.azure.resourcemanager.network.models.VpnLinkBgpSettings; +import com.azure.resourcemanager.network.models.VpnLinkProviderProperties; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for VpnSites CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnSitePut.json + */ + /** + * Sample code: VpnSiteCreate. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void vpnSiteCreate(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVpnSites() + .createOrUpdate( + "rg1", + "vpnSite1", + new VpnSiteInner() + .withLocation("West US") + .withTags(mapOf("key1", "value1")) + .withVirtualWan( + new SubResource() + .withId( + "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1")) + .withAddressSpace(new AddressSpace().withAddressPrefixes(Arrays.asList("10.0.0.0/16"))) + .withIsSecuritySite(false) + .withVpnSiteLinks( + Arrays + .asList( + new VpnSiteLinkInner() + .withName("vpnSiteLink1") + .withLinkProperties( + new VpnLinkProviderProperties() + .withLinkProviderName("vendor1") + .withLinkSpeedInMbps(0)) + .withIpAddress("50.50.50.56") + .withFqdn("link1.vpnsite1.contoso.com") + .withBgpProperties( + new VpnLinkBgpSettings().withAsn(1234L).withBgpPeeringAddress("192.168.0.0")))) + .withO365Policy( + new O365PolicyProperties() + .withBreakOutCategories( + new O365BreakOutCategoryPolicies() + .withAllow(true) + .withOptimize(true) + .withDefaultProperty(false))), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSitePut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSitePut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSitePut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteUpdateTags.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteUpdateTags.java new file mode 100644 index 0000000000..6a30f9669c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteUpdateTags.java @@ -0,0 +1,36 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** Samples for VpnSites UpdateTags. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnSiteUpdateTags.json + */ + /** + * Sample code: VpnSiteUpdate. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void vpnSiteUpdate(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVpnSites() + .updateTagsWithResponse( + "rg1", "vpnSite1", new TagsObject().withTags(mapOf("key1", "value1", "key2", "value2")), Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteUpdateTags.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSiteUpdateTags.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSitesConfigurationDownload.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSitesConfigurationDownload.java new file mode 100644 index 0000000000..39340d6365 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSitesConfigurationDownload.java @@ -0,0 +1,32 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.models.GetVpnSitesConfigurationRequest; +import java.util.Arrays; + +/** Samples for VpnSitesConfiguration Download. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VpnSitesConfigurationDownload.json + */ + /** + * Sample code: VpnSitesConfigurationDownload. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void vpnSitesConfigurationDownload(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getVpnSitesConfigurations() + .download( + "rg1", + "wan1", + new GetVpnSitesConfigurationRequest() + .withVpnSites( + Arrays + .asList("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/abc")) + .withOutputBlobSasUrl( + "https://blobcortextesturl.blob.core.windows.net/folderforconfig/vpnFile?sp=rw&se=2018-01-10T03%3A42%3A04Z&sv=2017-04-17&sig=WvXrT5bDmDFfgHs%2Brz%2BjAu123eRCNE9BO0eQYcPDT7pY%3D&sr=b"), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSitesConfigurationDownload.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSitesConfigurationDownload.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/VpnSitesConfigurationDownload.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/WafListAllPolicies.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/WafListAllPolicies.java new file mode 100644 index 0000000000..4feaa31cdf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/WafListAllPolicies.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for WebApplicationFirewallPolicies List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/WafListAllPolicies.json + */ + /** + * Sample code: Lists all WAF policies in a subscription. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listsAllWAFPoliciesInASubscription(com.azure.resourcemanager.AzureResourceManager azure) { + azure.networks().manager().serviceClient().getWebApplicationFirewallPolicies().list(Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/WafListAllPolicies.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/WafListAllPolicies.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/WafListAllPolicies.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/WafListPolicies.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/WafListPolicies.java new file mode 100644 index 0000000000..851e04f218 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/WafListPolicies.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for WebApplicationFirewallPolicies ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/WafListPolicies.json + */ + /** + * Sample code: Lists all WAF policies in a resource group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listsAllWAFPoliciesInAResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getWebApplicationFirewallPolicies() + .listByResourceGroup("rg1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/WafListPolicies.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/WafListPolicies.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/WafListPolicies.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/WafPolicyCreateOrUpdate.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/WafPolicyCreateOrUpdate.java new file mode 100644 index 0000000000..b7e9079852 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/WafPolicyCreateOrUpdate.java @@ -0,0 +1,149 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.WebApplicationFirewallPolicyInner; +import com.azure.resourcemanager.network.models.ExclusionManagedRule; +import com.azure.resourcemanager.network.models.ExclusionManagedRuleGroup; +import com.azure.resourcemanager.network.models.ExclusionManagedRuleSet; +import com.azure.resourcemanager.network.models.ManagedRuleSet; +import com.azure.resourcemanager.network.models.ManagedRulesDefinition; +import com.azure.resourcemanager.network.models.MatchCondition; +import com.azure.resourcemanager.network.models.MatchVariable; +import com.azure.resourcemanager.network.models.OwaspCrsExclusionEntry; +import com.azure.resourcemanager.network.models.OwaspCrsExclusionEntryMatchVariable; +import com.azure.resourcemanager.network.models.OwaspCrsExclusionEntrySelectorMatchOperator; +import com.azure.resourcemanager.network.models.WebApplicationFirewallAction; +import com.azure.resourcemanager.network.models.WebApplicationFirewallCustomRule; +import com.azure.resourcemanager.network.models.WebApplicationFirewallMatchVariable; +import com.azure.resourcemanager.network.models.WebApplicationFirewallOperator; +import com.azure.resourcemanager.network.models.WebApplicationFirewallRuleType; +import java.util.Arrays; + +/** Samples for WebApplicationFirewallPolicies CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/WafPolicyCreateOrUpdate.json + */ + /** + * Sample code: Creates or updates a WAF policy within a resource group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createsOrUpdatesAWAFPolicyWithinAResourceGroup( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getWebApplicationFirewallPolicies() + .createOrUpdateWithResponse( + "rg1", + "Policy1", + new WebApplicationFirewallPolicyInner() + .withLocation("WestUs") + .withCustomRules( + Arrays + .asList( + new WebApplicationFirewallCustomRule() + .withName("Rule1") + .withPriority(1) + .withRuleType(WebApplicationFirewallRuleType.MATCH_RULE) + .withMatchConditions( + Arrays + .asList( + new MatchCondition() + .withMatchVariables( + Arrays + .asList( + new MatchVariable() + .withVariableName( + WebApplicationFirewallMatchVariable + .REMOTE_ADDR))) + .withOperator(WebApplicationFirewallOperator.IPMATCH) + .withMatchValues(Arrays.asList("192.168.1.0/24", "10.0.0.0/24")))) + .withAction(WebApplicationFirewallAction.BLOCK), + new WebApplicationFirewallCustomRule() + .withName("Rule2") + .withPriority(2) + .withRuleType(WebApplicationFirewallRuleType.MATCH_RULE) + .withMatchConditions( + Arrays + .asList( + new MatchCondition() + .withMatchVariables( + Arrays + .asList( + new MatchVariable() + .withVariableName( + WebApplicationFirewallMatchVariable + .REMOTE_ADDR))) + .withOperator(WebApplicationFirewallOperator.IPMATCH) + .withMatchValues(Arrays.asList("192.168.1.0/24")), + new MatchCondition() + .withMatchVariables( + Arrays + .asList( + new MatchVariable() + .withVariableName( + WebApplicationFirewallMatchVariable + .REQUEST_HEADERS) + .withSelector("UserAgent"))) + .withOperator(WebApplicationFirewallOperator.CONTAINS) + .withMatchValues(Arrays.asList("Windows")))) + .withAction(WebApplicationFirewallAction.BLOCK))) + .withManagedRules( + new ManagedRulesDefinition() + .withExclusions( + Arrays + .asList( + new OwaspCrsExclusionEntry() + .withMatchVariable(OwaspCrsExclusionEntryMatchVariable.REQUEST_ARG_NAMES) + .withSelectorMatchOperator( + OwaspCrsExclusionEntrySelectorMatchOperator.STARTS_WITH) + .withSelector("hello") + .withExclusionManagedRuleSets( + Arrays + .asList( + new ExclusionManagedRuleSet() + .withRuleSetType("OWASP") + .withRuleSetVersion("3.2") + .withRuleGroups( + Arrays + .asList( + new ExclusionManagedRuleGroup() + .withRuleGroupName( + "REQUEST-930-APPLICATION-ATTACK-LFI") + .withRules( + Arrays + .asList( + new ExclusionManagedRule() + .withRuleId("930120"))), + new ExclusionManagedRuleGroup() + .withRuleGroupName( + "REQUEST-932-APPLICATION-ATTACK-RCE"))))), + new OwaspCrsExclusionEntry() + .withMatchVariable(OwaspCrsExclusionEntryMatchVariable.REQUEST_ARG_NAMES) + .withSelectorMatchOperator( + OwaspCrsExclusionEntrySelectorMatchOperator.ENDS_WITH) + .withSelector("hello") + .withExclusionManagedRuleSets( + Arrays + .asList( + new ExclusionManagedRuleSet() + .withRuleSetType("OWASP") + .withRuleSetVersion("3.1") + .withRuleGroups(Arrays.asList()))), + new OwaspCrsExclusionEntry() + .withMatchVariable(OwaspCrsExclusionEntryMatchVariable.REQUEST_ARG_NAMES) + .withSelectorMatchOperator( + OwaspCrsExclusionEntrySelectorMatchOperator.STARTS_WITH) + .withSelector("test"), + new OwaspCrsExclusionEntry() + .withMatchVariable(OwaspCrsExclusionEntryMatchVariable.REQUEST_ARG_VALUES) + .withSelectorMatchOperator( + OwaspCrsExclusionEntrySelectorMatchOperator.STARTS_WITH) + .withSelector("test"))) + .withManagedRuleSets( + Arrays + .asList(new ManagedRuleSet().withRuleSetType("OWASP").withRuleSetVersion("3.2")))), + Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/WafPolicyCreateOrUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/WafPolicyCreateOrUpdate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/WafPolicyCreateOrUpdate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/WafPolicyDelete.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/WafPolicyDelete.java new file mode 100644 index 0000000000..fe7ef6c928 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/WafPolicyDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for WebApplicationFirewallPolicies Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/WafPolicyDelete.json + */ + /** + * Sample code: Deletes a WAF policy within a resource group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deletesAWAFPolicyWithinAResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getWebApplicationFirewallPolicies() + .delete("rg1", "Policy1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/WafPolicyDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/WafPolicyDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/WafPolicyDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/WafPolicyGet.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/WafPolicyGet.java new file mode 100644 index 0000000000..aeb495df9d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/WafPolicyGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for WebApplicationFirewallPolicies GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/WafPolicyGet.json + */ + /** + * Sample code: Gets a WAF policy within a resource group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getsAWAFPolicyWithinAResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getWebApplicationFirewallPolicies() + .getByResourceGroupWithResponse("rg1", "Policy1", Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/WafPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/WafPolicyGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/WafPolicyGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/expressRouteProviderPortList.java b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/expressRouteProviderPortList.java new file mode 100644 index 0000000000..325e3734a5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/expressRouteProviderPortList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for ExpressRouteProviderPortsLocation List. */ +public final class Main { + /* + * x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/expressRouteProviderPortList.json + */ + /** + * Sample code: ExpressRouteProviderPortList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void expressRouteProviderPortList(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .networks() + .manager() + .serviceClient() + .getExpressRouteProviderPortsLocations() + .listWithResponse(null, Context.NONE); + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/expressRouteProviderPortList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/expressRouteProviderPortList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples-java/expressRouteProviderPortList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZoneDelete.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZoneDelete.java new file mode 100644 index 0000000000..ffb7cfc0e9 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZoneDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateZones Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/PrivateZoneDelete.json + */ + /** + * Sample code: DELETE Private DNS Zone. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void dELETEPrivateDNSZone(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getPrivateZones() + .delete("resourceGroup1", "privatezone1.com", null, Context.NONE); + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZoneDelete.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZoneDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZoneDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZoneGet.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZoneGet.java new file mode 100644 index 0000000000..fced246639 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZoneGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateZones GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/PrivateZoneGet.json + */ + /** + * Sample code: GET Private DNS Zone. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void gETPrivateDNSZone(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getPrivateZones() + .getByResourceGroupWithResponse("resourceGroup1", "privatezone1.com", Context.NONE); + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZoneGet.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZoneGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZoneGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZoneListInResourceGroup.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZoneListInResourceGroup.java new file mode 100644 index 0000000000..78e0803a3c --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZoneListInResourceGroup.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateZones ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/PrivateZoneListInResourceGroup.json + */ + /** + * Sample code: GET Private DNS Zone by Resource Group. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void gETPrivateDNSZoneByResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getPrivateZones() + .listByResourceGroup("resourceGroup1", null, Context.NONE); + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZoneListInResourceGroup.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZoneListInResourceGroup.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZoneListInResourceGroup.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZoneListInSubscription.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZoneListInSubscription.java new file mode 100644 index 0000000000..14fbb8e24e --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZoneListInSubscription.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateZones List. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/PrivateZoneListInSubscription.json + */ + /** + * Sample code: GET Private DNS Zone by Subscription. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void gETPrivateDNSZoneBySubscription(com.azure.resourcemanager.AzureResourceManager azure) { + azure.privateDnsZones().manager().serviceClient().getPrivateZones().list(null, Context.NONE); + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZoneListInSubscription.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZoneListInSubscription.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZoneListInSubscription.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZonePatch.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZonePatch.java new file mode 100644 index 0000000000..ff78fc6996 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZonePatch.java @@ -0,0 +1,40 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.fluent.models.PrivateZoneInner; +import java.util.HashMap; +import java.util.Map; + +/** Samples for PrivateZones Update. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/PrivateZonePatch.json + */ + /** + * Sample code: PATCH Private DNS Zone. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void pATCHPrivateDNSZone(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getPrivateZones() + .update( + "resourceGroup1", + "privatezone1.com", + new PrivateZoneInner().withTags(mapOf("key2", "value2")), + null, + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZonePatch.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZonePatch.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZonePatch.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZonePut.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZonePut.java new file mode 100644 index 0000000000..d814e5006b --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZonePut.java @@ -0,0 +1,41 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.fluent.models.PrivateZoneInner; +import java.util.HashMap; +import java.util.Map; + +/** Samples for PrivateZones CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/PrivateZonePut.json + */ + /** + * Sample code: PUT Private DNS Zone. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void pUTPrivateDNSZone(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getPrivateZones() + .createOrUpdate( + "resourceGroup1", + "privatezone1.com", + new PrivateZoneInner().withLocation("Global").withTags(mapOf("key1", "value1")), + null, + null, + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZonePut.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZonePut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/PrivateZonePut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAAAADelete.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAAAADelete.java new file mode 100644 index 0000000000..45496f2b0f --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAAAADelete.java @@ -0,0 +1,23 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.models.RecordType; + +/** Samples for RecordSets Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetAAAADelete.json + */ + /** + * Sample code: DELETE Private DNS Zone AAAA Record Set. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void dELETEPrivateDNSZoneAAAARecordSet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .deleteWithResponse( + "resourceGroup1", "privatezone1.com", RecordType.AAAA, "recordAAAA", null, Context.NONE); + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAAAADelete.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAAAADelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAAAADelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAAAAGet.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAAAAGet.java new file mode 100644 index 0000000000..d7a5f84767 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAAAAGet.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.models.RecordType; + +/** Samples for RecordSets Get. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetAAAAGet.json + */ + /** + * Sample code: GET Private DNS Zone AAAA Record Set. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void gETPrivateDNSZoneAAAARecordSet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .getWithResponse("resourceGroup1", "privatezone1.com", RecordType.AAAA, "recordAAAA", Context.NONE); + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAAAAGet.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAAAAGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAAAAGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAAAAList.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAAAAList.java new file mode 100644 index 0000000000..78bdb36982 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAAAAList.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.models.RecordType; + +/** Samples for RecordSets ListByType. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetAAAAList.json + */ + /** + * Sample code: GET Private DNS Zone AAAA Record Sets. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void gETPrivateDNSZoneAAAARecordSets(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .listByType("resourceGroup1", "privatezone1.com", RecordType.AAAA, null, null, Context.NONE); + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAAAAList.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAAAAList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAAAAList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAAAAPatch.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAAAAPatch.java new file mode 100644 index 0000000000..7f654ecda5 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAAAAPatch.java @@ -0,0 +1,43 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.fluent.models.RecordSetInner; +import com.azure.resourcemanager.privatedns.models.RecordType; +import java.util.HashMap; +import java.util.Map; + +/** Samples for RecordSets Update. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetAAAAPatch.json + */ + /** + * Sample code: PATCH Private DNS Zone AAAA Record Set. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void pATCHPrivateDNSZoneAAAARecordSet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .updateWithResponse( + "resourceGroup1", + "privatezone1.com", + RecordType.AAAA, + "recordAAAA", + new RecordSetInner().withMetadata(mapOf("key2", "value2")), + null, + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAAAAPatch.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAAAAPatch.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAAAAPatch.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAAAAPut.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAAAAPut.java new file mode 100644 index 0000000000..cebfe1caec --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAAAAPut.java @@ -0,0 +1,49 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.fluent.models.RecordSetInner; +import com.azure.resourcemanager.privatedns.models.AaaaRecord; +import com.azure.resourcemanager.privatedns.models.RecordType; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for RecordSets CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetAAAAPut.json + */ + /** + * Sample code: PUT Private DNS Zone AAAA Record Set. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void pUTPrivateDNSZoneAAAARecordSet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .createOrUpdateWithResponse( + "resourceGroup1", + "privatezone1.com", + RecordType.AAAA, + "recordAAAA", + new RecordSetInner() + .withMetadata(mapOf("key1", "value1")) + .withTtl(3600L) + .withAaaaRecords(Arrays.asList(new AaaaRecord().withIpv6Address("::1"))), + null, + null, + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAAAAPut.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAAAAPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAAAAPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetADelete.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetADelete.java new file mode 100644 index 0000000000..8ef005bce2 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetADelete.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.models.RecordType; + +/** Samples for RecordSets Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetADelete.json + */ + /** + * Sample code: DELETE Private DNS Zone A Record Set. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void dELETEPrivateDNSZoneARecordSet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .deleteWithResponse("resourceGroup1", "privatezone1.com", RecordType.A, "recordA", null, Context.NONE); + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetADelete.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetADelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetADelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAGet.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAGet.java new file mode 100644 index 0000000000..f82a6b47f4 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAGet.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.models.RecordType; + +/** Samples for RecordSets Get. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetAGet.json + */ + /** + * Sample code: GET Private DNS Zone A Record Set. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void gETPrivateDNSZoneARecordSet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .getWithResponse("resourceGroup1", "privatezone1.com", RecordType.A, "recordA", Context.NONE); + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAGet.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetALLList.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetALLList.java new file mode 100644 index 0000000000..5544a2ea85 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetALLList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for RecordSets List. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetALLList.json + */ + /** + * Sample code: GET Private DNS Zone ALL Record Sets. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void gETPrivateDNSZoneALLRecordSets(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .list("resourceGroup1", "privatezone1.com", null, null, Context.NONE); + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetALLList.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetALLList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetALLList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAList.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAList.java new file mode 100644 index 0000000000..2660cd728a --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAList.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.models.RecordType; + +/** Samples for RecordSets ListByType. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetAList.json + */ + /** + * Sample code: GET Private DNS Zone A Record Sets. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void gETPrivateDNSZoneARecordSets(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .listByType("resourceGroup1", "privatezone1.com", RecordType.A, null, null, Context.NONE); + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAList.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAPatch.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAPatch.java new file mode 100644 index 0000000000..4a66200f56 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAPatch.java @@ -0,0 +1,43 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.fluent.models.RecordSetInner; +import com.azure.resourcemanager.privatedns.models.RecordType; +import java.util.HashMap; +import java.util.Map; + +/** Samples for RecordSets Update. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetAPatch.json + */ + /** + * Sample code: PATCH Private DNS Zone A Record Set. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void pATCHPrivateDNSZoneARecordSet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .updateWithResponse( + "resourceGroup1", + "privatezone1.com", + RecordType.A, + "recordA", + new RecordSetInner().withMetadata(mapOf("key2", "value2")), + null, + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAPatch.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAPatch.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAPatch.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAPut.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAPut.java new file mode 100644 index 0000000000..b01b0879f1 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAPut.java @@ -0,0 +1,49 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.fluent.models.RecordSetInner; +import com.azure.resourcemanager.privatedns.models.ARecord; +import com.azure.resourcemanager.privatedns.models.RecordType; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for RecordSets CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetAPut.json + */ + /** + * Sample code: PUT Private DNS Zone A Record Set. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void pUTPrivateDNSZoneARecordSet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .createOrUpdateWithResponse( + "resourceGroup1", + "privatezone1.com", + RecordType.A, + "recordA", + new RecordSetInner() + .withMetadata(mapOf("key1", "value1")) + .withTtl(3600L) + .withARecords(Arrays.asList(new ARecord().withIpv4Address("1.2.3.4"))), + null, + null, + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAPut.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetAPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetCNAMEDelete.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetCNAMEDelete.java new file mode 100644 index 0000000000..a81abfd1bc --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetCNAMEDelete.java @@ -0,0 +1,23 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.models.RecordType; + +/** Samples for RecordSets Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetCNAMEDelete.json + */ + /** + * Sample code: DELETE Private DNS Zone CNAME Record Set. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void dELETEPrivateDNSZoneCNAMERecordSet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .deleteWithResponse( + "resourceGroup1", "privatezone1.com", RecordType.CNAME, "recordCNAME", null, Context.NONE); + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetCNAMEDelete.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetCNAMEDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetCNAMEDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetCNAMEGet.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetCNAMEGet.java new file mode 100644 index 0000000000..551e4300b1 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetCNAMEGet.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.models.RecordType; + +/** Samples for RecordSets Get. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetCNAMEGet.json + */ + /** + * Sample code: GET Private DNS Zone CNAME Record Set. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void gETPrivateDNSZoneCNAMERecordSet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .getWithResponse("resourceGroup1", "privatezone1.com", RecordType.CNAME, "recordCNAME", Context.NONE); + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetCNAMEGet.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetCNAMEGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetCNAMEGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetCNAMEList.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetCNAMEList.java new file mode 100644 index 0000000000..5fa61e5a0a --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetCNAMEList.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.models.RecordType; + +/** Samples for RecordSets ListByType. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetCNAMEList.json + */ + /** + * Sample code: GET Private DNS Zone CNAME Record Sets. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void gETPrivateDNSZoneCNAMERecordSets(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .listByType("resourceGroup1", "privatezone1.com", RecordType.CNAME, null, null, Context.NONE); + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetCNAMEList.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetCNAMEList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetCNAMEList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetCNAMEPatch.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetCNAMEPatch.java new file mode 100644 index 0000000000..b05d93dc47 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetCNAMEPatch.java @@ -0,0 +1,43 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.fluent.models.RecordSetInner; +import com.azure.resourcemanager.privatedns.models.RecordType; +import java.util.HashMap; +import java.util.Map; + +/** Samples for RecordSets Update. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetCNAMEPatch.json + */ + /** + * Sample code: PATCH Private DNS Zone CNAME Record Set. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void pATCHPrivateDNSZoneCNAMERecordSet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .updateWithResponse( + "resourceGroup1", + "privatezone1.com", + RecordType.CNAME, + "recordCNAME", + new RecordSetInner().withMetadata(mapOf("key2", "value2")), + null, + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetCNAMEPatch.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetCNAMEPatch.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetCNAMEPatch.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetCNAMEPut.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetCNAMEPut.java new file mode 100644 index 0000000000..80ae3f1f0e --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetCNAMEPut.java @@ -0,0 +1,48 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.fluent.models.RecordSetInner; +import com.azure.resourcemanager.privatedns.models.CnameRecord; +import com.azure.resourcemanager.privatedns.models.RecordType; +import java.util.HashMap; +import java.util.Map; + +/** Samples for RecordSets CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetCNAMEPut.json + */ + /** + * Sample code: PUT Private DNS Zone CNAME Record Set. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void pUTPrivateDNSZoneCNAMERecordSet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .createOrUpdateWithResponse( + "resourceGroup1", + "privatezone1.com", + RecordType.CNAME, + "recordCNAME", + new RecordSetInner() + .withMetadata(mapOf("key1", "value1")) + .withTtl(3600L) + .withCnameRecord(new CnameRecord().withCname("contoso.com")), + null, + null, + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetCNAMEPut.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetCNAMEPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetCNAMEPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetMXDelete.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetMXDelete.java new file mode 100644 index 0000000000..4d3a6d9cc2 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetMXDelete.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.models.RecordType; + +/** Samples for RecordSets Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetMXDelete.json + */ + /** + * Sample code: DELETE Private DNS Zone MX Record Set. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void dELETEPrivateDNSZoneMXRecordSet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .deleteWithResponse("resourceGroup1", "privatezone1.com", RecordType.MX, "recordMX", null, Context.NONE); + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetMXDelete.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetMXDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetMXDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetMXGet.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetMXGet.java new file mode 100644 index 0000000000..7d2611825c --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetMXGet.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.models.RecordType; + +/** Samples for RecordSets Get. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetMXGet.json + */ + /** + * Sample code: GET Private DNS Zone MX Record Set. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void gETPrivateDNSZoneMXRecordSet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .getWithResponse("resourceGroup1", "privatezone1.com", RecordType.MX, "recordMX", Context.NONE); + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetMXGet.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetMXGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetMXGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetMXList.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetMXList.java new file mode 100644 index 0000000000..32cc38c2e9 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetMXList.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.models.RecordType; + +/** Samples for RecordSets ListByType. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetMXList.json + */ + /** + * Sample code: GET Private DNS Zone MX Record Sets. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void gETPrivateDNSZoneMXRecordSets(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .listByType("resourceGroup1", "privatezone1.com", RecordType.MX, null, null, Context.NONE); + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetMXList.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetMXList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetMXList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetMXPatch.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetMXPatch.java new file mode 100644 index 0000000000..fc3b6a26e7 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetMXPatch.java @@ -0,0 +1,43 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.fluent.models.RecordSetInner; +import com.azure.resourcemanager.privatedns.models.RecordType; +import java.util.HashMap; +import java.util.Map; + +/** Samples for RecordSets Update. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetMXPatch.json + */ + /** + * Sample code: PATCH Private DNS Zone MX Record Set. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void pATCHPrivateDNSZoneMXRecordSet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .updateWithResponse( + "resourceGroup1", + "privatezone1.com", + RecordType.MX, + "recordMX", + new RecordSetInner().withMetadata(mapOf("key2", "value2")), + null, + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetMXPatch.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetMXPatch.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetMXPatch.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetMXPut.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetMXPut.java new file mode 100644 index 0000000000..2dd2290349 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetMXPut.java @@ -0,0 +1,50 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.fluent.models.RecordSetInner; +import com.azure.resourcemanager.privatedns.models.MxRecord; +import com.azure.resourcemanager.privatedns.models.RecordType; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for RecordSets CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetMXPut.json + */ + /** + * Sample code: PUT Private DNS Zone MX Record Set. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void pUTPrivateDNSZoneMXRecordSet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .createOrUpdateWithResponse( + "resourceGroup1", + "privatezone1.com", + RecordType.MX, + "recordMX", + new RecordSetInner() + .withMetadata(mapOf("key1", "value1")) + .withTtl(3600L) + .withMxRecords( + Arrays.asList(new MxRecord().withPreference(0).withExchange("mail.privatezone1.com"))), + null, + null, + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetMXPut.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetMXPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetMXPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetPTRDelete.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetPTRDelete.java new file mode 100644 index 0000000000..c58870a4e1 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetPTRDelete.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.models.RecordType; + +/** Samples for RecordSets Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetPTRDelete.json + */ + /** + * Sample code: DELETE Private DNS Zone PTR Record Set. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void dELETEPrivateDNSZonePTRRecordSet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .deleteWithResponse("resourceGroup1", "0.0.127.in-addr.arpa", RecordType.PTR, "1", null, Context.NONE); + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetPTRDelete.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetPTRDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetPTRDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetPTRGet.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetPTRGet.java new file mode 100644 index 0000000000..4cae3f1464 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetPTRGet.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.models.RecordType; + +/** Samples for RecordSets Get. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetPTRGet.json + */ + /** + * Sample code: GET Private DNS Zone PTR Record Set. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void gETPrivateDNSZonePTRRecordSet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .getWithResponse("resourceGroup1", "0.0.127.in-addr.arpa", RecordType.PTR, "1", Context.NONE); + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetPTRGet.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetPTRGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetPTRGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetPTRList.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetPTRList.java new file mode 100644 index 0000000000..bc56ed16e9 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetPTRList.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.models.RecordType; + +/** Samples for RecordSets ListByType. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetPTRList.json + */ + /** + * Sample code: GET Private DNS Zone PTR Record Sets. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void gETPrivateDNSZonePTRRecordSets(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .listByType("resourceGroup1", "0.0.127.in-addr.arpa", RecordType.PTR, null, null, Context.NONE); + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetPTRList.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetPTRList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetPTRList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetPTRPatch.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetPTRPatch.java new file mode 100644 index 0000000000..15afa25c3c --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetPTRPatch.java @@ -0,0 +1,43 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.fluent.models.RecordSetInner; +import com.azure.resourcemanager.privatedns.models.RecordType; +import java.util.HashMap; +import java.util.Map; + +/** Samples for RecordSets Update. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetPTRPatch.json + */ + /** + * Sample code: PATCH Private DNS Zone PTR Record Set. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void pATCHPrivateDNSZonePTRRecordSet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .updateWithResponse( + "resourceGroup1", + "0.0.127.in-addr.arpa", + RecordType.PTR, + "1", + new RecordSetInner().withMetadata(mapOf("key2", "value2")), + null, + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetPTRPatch.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetPTRPatch.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetPTRPatch.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetPTRPut.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetPTRPut.java new file mode 100644 index 0000000000..95bda453f6 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetPTRPut.java @@ -0,0 +1,49 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.fluent.models.RecordSetInner; +import com.azure.resourcemanager.privatedns.models.PtrRecord; +import com.azure.resourcemanager.privatedns.models.RecordType; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for RecordSets CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetPTRPut.json + */ + /** + * Sample code: PUT Private DNS Zone PTR Record Set. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void pUTPrivateDNSZonePTRRecordSet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .createOrUpdateWithResponse( + "resourceGroup1", + "0.0.127.in-addr.arpa", + RecordType.PTR, + "1", + new RecordSetInner() + .withMetadata(mapOf("key1", "value1")) + .withTtl(3600L) + .withPtrRecords(Arrays.asList(new PtrRecord().withPtrdname("localhost"))), + null, + null, + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetPTRPut.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetPTRPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetPTRPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSOAGet.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSOAGet.java new file mode 100644 index 0000000000..e1ef2f5037 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSOAGet.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.models.RecordType; + +/** Samples for RecordSets Get. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetSOAGet.json + */ + /** + * Sample code: GET Private DNS Zone SOA Record Set. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void gETPrivateDNSZoneSOARecordSet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .getWithResponse("resourceGroup1", "privatezone1.com", RecordType.SOA, "@", Context.NONE); + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSOAGet.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSOAGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSOAGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSOAList.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSOAList.java new file mode 100644 index 0000000000..4c7c574ac6 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSOAList.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.models.RecordType; + +/** Samples for RecordSets ListByType. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetSOAList.json + */ + /** + * Sample code: GET Private DNS Zone SOA Record Sets. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void gETPrivateDNSZoneSOARecordSets(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .listByType("resourceGroup1", "privatezone1.com", RecordType.SOA, null, null, Context.NONE); + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSOAList.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSOAList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSOAList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSOAPatch.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSOAPatch.java new file mode 100644 index 0000000000..9789aa88a6 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSOAPatch.java @@ -0,0 +1,43 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.fluent.models.RecordSetInner; +import com.azure.resourcemanager.privatedns.models.RecordType; +import java.util.HashMap; +import java.util.Map; + +/** Samples for RecordSets Update. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetSOAPatch.json + */ + /** + * Sample code: PATCH Private DNS Zone SOA Record Set. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void pATCHPrivateDNSZoneSOARecordSet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .updateWithResponse( + "resourceGroup1", + "privatezone1.com", + RecordType.SOA, + "@", + new RecordSetInner().withMetadata(mapOf("key2", "value2")), + null, + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSOAPatch.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSOAPatch.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSOAPatch.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSOAPut.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSOAPut.java new file mode 100644 index 0000000000..d0759611cc --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSOAPut.java @@ -0,0 +1,55 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.fluent.models.RecordSetInner; +import com.azure.resourcemanager.privatedns.models.RecordType; +import com.azure.resourcemanager.privatedns.models.SoaRecord; +import java.util.HashMap; +import java.util.Map; + +/** Samples for RecordSets CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetSOAPut.json + */ + /** + * Sample code: PUT Private DNS Zone SOA Record Set. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void pUTPrivateDNSZoneSOARecordSet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .createOrUpdateWithResponse( + "resourceGroup1", + "privatezone1.com", + RecordType.SOA, + "@", + new RecordSetInner() + .withMetadata(mapOf("key1", "value1")) + .withTtl(3600L) + .withSoaRecord( + new SoaRecord() + .withHost("azureprivatedns.net") + .withEmail("azureprivatedns-hostmaster.microsoft.com") + .withSerialNumber(1L) + .withRefreshTime(3600L) + .withRetryTime(300L) + .withExpireTime(2419200L)), + null, + null, + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSOAPut.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSOAPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSOAPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSRVDelete.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSRVDelete.java new file mode 100644 index 0000000000..12dd1fe967 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSRVDelete.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.models.RecordType; + +/** Samples for RecordSets Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetSRVDelete.json + */ + /** + * Sample code: DELETE Private DNS Zone SRV Record Set. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void dELETEPrivateDNSZoneSRVRecordSet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .deleteWithResponse("resourceGroup1", "privatezone1.com", RecordType.SRV, "recordSRV", null, Context.NONE); + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSRVDelete.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSRVDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSRVDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSRVGet.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSRVGet.java new file mode 100644 index 0000000000..24c730932e --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSRVGet.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.models.RecordType; + +/** Samples for RecordSets Get. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetSRVGet.json + */ + /** + * Sample code: GET Private DNS Zone SRV Record Set. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void gETPrivateDNSZoneSRVRecordSet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .getWithResponse("resourceGroup1", "privatezone1.com", RecordType.SRV, "recordSRV", Context.NONE); + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSRVGet.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSRVGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSRVGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSRVList.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSRVList.java new file mode 100644 index 0000000000..212727da30 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSRVList.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.models.RecordType; + +/** Samples for RecordSets ListByType. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetSRVList.json + */ + /** + * Sample code: GET Private DNS Zone SRV Record Sets. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void gETPrivateDNSZoneSRVRecordSets(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .listByType("resourceGroup1", "privatezone1.com", RecordType.SRV, null, null, Context.NONE); + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSRVList.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSRVList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSRVList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSRVPatch.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSRVPatch.java new file mode 100644 index 0000000000..af12d75a2f --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSRVPatch.java @@ -0,0 +1,43 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.fluent.models.RecordSetInner; +import com.azure.resourcemanager.privatedns.models.RecordType; +import java.util.HashMap; +import java.util.Map; + +/** Samples for RecordSets Update. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetSRVPatch.json + */ + /** + * Sample code: PATCH Private DNS Zone SRV Record Set. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void pATCHPrivateDNSZoneSRVRecordSet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .updateWithResponse( + "resourceGroup1", + "privatezone1.com", + RecordType.SRV, + "recordSRV", + new RecordSetInner().withMetadata(mapOf("key2", "value2")), + null, + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSRVPatch.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSRVPatch.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSRVPatch.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSRVPut.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSRVPut.java new file mode 100644 index 0000000000..8f7234b2d9 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSRVPut.java @@ -0,0 +1,52 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.fluent.models.RecordSetInner; +import com.azure.resourcemanager.privatedns.models.RecordType; +import com.azure.resourcemanager.privatedns.models.SrvRecord; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for RecordSets CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetSRVPut.json + */ + /** + * Sample code: PUT Private DNS Zone SRV Record Set. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void pUTPrivateDNSZoneSRVRecordSet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .createOrUpdateWithResponse( + "resourceGroup1", + "privatezone1.com", + RecordType.SRV, + "recordSRV", + new RecordSetInner() + .withMetadata(mapOf("key1", "value1")) + .withTtl(3600L) + .withSrvRecords( + Arrays + .asList( + new SrvRecord().withPriority(0).withWeight(10).withPort(80).withTarget("contoso.com"))), + null, + null, + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSRVPut.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSRVPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetSRVPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetTXTDelete.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetTXTDelete.java new file mode 100644 index 0000000000..1d96c9f880 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetTXTDelete.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.models.RecordType; + +/** Samples for RecordSets Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetTXTDelete.json + */ + /** + * Sample code: DELETE Private DNS Zone TXT Record Set. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void dELETEPrivateDNSZoneTXTRecordSet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .deleteWithResponse("resourceGroup1", "privatezone1.com", RecordType.TXT, "recordTXT", null, Context.NONE); + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetTXTDelete.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetTXTDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetTXTDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetTXTGet.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetTXTGet.java new file mode 100644 index 0000000000..9ac5640192 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetTXTGet.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.models.RecordType; + +/** Samples for RecordSets Get. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetTXTGet.json + */ + /** + * Sample code: GET Private DNS Zone TXT Record Set. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void gETPrivateDNSZoneTXTRecordSet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .getWithResponse("resourceGroup1", "privatezone1.com", RecordType.TXT, "recordTXT", Context.NONE); + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetTXTGet.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetTXTGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetTXTGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetTXTList.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetTXTList.java new file mode 100644 index 0000000000..c715763686 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetTXTList.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.models.RecordType; + +/** Samples for RecordSets ListByType. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetTXTList.json + */ + /** + * Sample code: GET Private DNS Zone TXT Record Sets. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void gETPrivateDNSZoneTXTRecordSets(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .listByType("resourceGroup1", "privatezone1.com", RecordType.TXT, null, null, Context.NONE); + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetTXTList.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetTXTList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetTXTList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetTXTPatch.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetTXTPatch.java new file mode 100644 index 0000000000..66683ac1a4 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetTXTPatch.java @@ -0,0 +1,43 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.fluent.models.RecordSetInner; +import com.azure.resourcemanager.privatedns.models.RecordType; +import java.util.HashMap; +import java.util.Map; + +/** Samples for RecordSets Update. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetTXTPatch.json + */ + /** + * Sample code: PATCH Private DNS Zone TXT Record Set. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void pATCHPrivateDNSZoneTXTRecordSet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .updateWithResponse( + "resourceGroup1", + "privatezone1.com", + RecordType.TXT, + "recordTXT", + new RecordSetInner().withMetadata(mapOf("key2", "value2")), + null, + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetTXTPatch.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetTXTPatch.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetTXTPatch.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetTXTPut.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetTXTPut.java new file mode 100644 index 0000000000..e8805879a7 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetTXTPut.java @@ -0,0 +1,49 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.fluent.models.RecordSetInner; +import com.azure.resourcemanager.privatedns.models.RecordType; +import com.azure.resourcemanager.privatedns.models.TxtRecord; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for RecordSets CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/RecordSetTXTPut.json + */ + /** + * Sample code: PUT Private DNS Zone TXT Record Set. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void pUTPrivateDNSZoneTXTRecordSet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getRecordSets() + .createOrUpdateWithResponse( + "resourceGroup1", + "privatezone1.com", + RecordType.TXT, + "recordTXT", + new RecordSetInner() + .withMetadata(mapOf("key1", "value1")) + .withTtl(3600L) + .withTxtRecords(Arrays.asList(new TxtRecord().withValue(Arrays.asList("string1", "string2")))), + null, + null, + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetTXTPut.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetTXTPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/RecordSetTXTPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/VirtualNetworkLinkDelete.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/VirtualNetworkLinkDelete.java new file mode 100644 index 0000000000..3e9ae8041a --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/VirtualNetworkLinkDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkLinks Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/VirtualNetworkLinkDelete.json + */ + /** + * Sample code: DELETE Private DNS Zone Virtual Network Link. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void dELETEPrivateDNSZoneVirtualNetworkLink(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getVirtualNetworkLinks() + .delete("resourceGroup1", "privatezone1.com", "virtualNetworkLink1", null, Context.NONE); + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/VirtualNetworkLinkDelete.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/VirtualNetworkLinkDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/VirtualNetworkLinkDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/VirtualNetworkLinkGet.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/VirtualNetworkLinkGet.java new file mode 100644 index 0000000000..dcf4e62d08 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/VirtualNetworkLinkGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkLinks Get. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/VirtualNetworkLinkGet.json + */ + /** + * Sample code: GET Private DNS Zone Virtual Network Link. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void gETPrivateDNSZoneVirtualNetworkLink(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getVirtualNetworkLinks() + .getWithResponse("resourceGroup1", "privatezone1.com", "virtualNetworkLink1", Context.NONE); + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/VirtualNetworkLinkGet.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/VirtualNetworkLinkGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/VirtualNetworkLinkGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/VirtualNetworkLinkList.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/VirtualNetworkLinkList.java new file mode 100644 index 0000000000..2722957042 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/VirtualNetworkLinkList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for VirtualNetworkLinks List. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/VirtualNetworkLinkList.json + */ + /** + * Sample code: Get Private DNS Zone Virtual Network Links. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getPrivateDNSZoneVirtualNetworkLinks(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getVirtualNetworkLinks() + .list("resourceGroup1", "privatezone1.com", null, Context.NONE); + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/VirtualNetworkLinkList.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/VirtualNetworkLinkList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/VirtualNetworkLinkList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/VirtualNetworkLinkPatch.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/VirtualNetworkLinkPatch.java new file mode 100644 index 0000000000..d00fbde1b2 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/VirtualNetworkLinkPatch.java @@ -0,0 +1,41 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.fluent.models.VirtualNetworkLinkInner; +import java.util.HashMap; +import java.util.Map; + +/** Samples for VirtualNetworkLinks Update. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/VirtualNetworkLinkPatch.json + */ + /** + * Sample code: PATCH Private DNS Zone Virtual Network Link. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void pATCHPrivateDNSZoneVirtualNetworkLink(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getVirtualNetworkLinks() + .update( + "resourceGroup1", + "privatezone1.com", + "virtualNetworkLink1", + new VirtualNetworkLinkInner().withTags(mapOf("key2", "value2")).withRegistrationEnabled(true), + null, + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/VirtualNetworkLinkPatch.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/VirtualNetworkLinkPatch.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/VirtualNetworkLinkPatch.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/VirtualNetworkLinkPut.java b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/VirtualNetworkLinkPut.java new file mode 100644 index 0000000000..9d8b5a406d --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/VirtualNetworkLinkPut.java @@ -0,0 +1,50 @@ +import com.azure.core.management.SubResource; +import com.azure.core.util.Context; +import com.azure.resourcemanager.privatedns.fluent.models.VirtualNetworkLinkInner; +import java.util.HashMap; +import java.util.Map; + +/** Samples for VirtualNetworkLinks CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples/VirtualNetworkLinkPut.json + */ + /** + * Sample code: PUT Private DNS Zone Virtual Network Link. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void pUTPrivateDNSZoneVirtualNetworkLink(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .privateDnsZones() + .manager() + .serviceClient() + .getVirtualNetworkLinks() + .createOrUpdate( + "resourceGroup1", + "privatezone1.com", + "virtualNetworkLink1", + new VirtualNetworkLinkInner() + .withLocation("Global") + .withTags(mapOf("key1", "value1")) + .withVirtualNetwork( + new SubResource() + .withId( + "/subscriptions/virtualNetworkSubscriptionId/resourceGroups/virtualNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/virtualNetworkName")) + .withRegistrationEnabled(false), + null, + null, + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/VirtualNetworkLinkPut.json b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/VirtualNetworkLinkPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/privatedns/resource-manager/Microsoft.Network/stable/2020-06-01/examples-java/VirtualNetworkLinkPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheAsyncOperationStatus.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheAsyncOperationStatus.json index 04d1f96f67..1c2f329976 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheAsyncOperationStatus.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheAsyncOperationStatus.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheCheckNameAvailability.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheCheckNameAvailability.json index 04d1f96f67..1c2f329976 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheCheckNameAvailability.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheCheckNameAvailability.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheCreate.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheCreate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheCreate.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheCreate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheDelete.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheDelete.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheDeletePrivateEndpointConnection.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheDeletePrivateEndpointConnection.json index 04d1f96f67..1c2f329976 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheDeletePrivateEndpointConnection.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheDeletePrivateEndpointConnection.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheExport.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheExport.json index 04d1f96f67..1c2f329976 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheExport.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheExport.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheFirewallRuleCreate.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheFirewallRuleCreate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheFirewallRuleCreate.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheFirewallRuleCreate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheFirewallRuleDelete.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheFirewallRuleDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheFirewallRuleDelete.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheFirewallRuleDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheFirewallRuleGet.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheFirewallRuleGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheFirewallRuleGet.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheFirewallRuleGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheFirewallRulesList.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheFirewallRulesList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheFirewallRulesList.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheFirewallRulesList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheForceReboot.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheForceReboot.json index 04d1f96f67..1c2f329976 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheForceReboot.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheForceReboot.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheGet.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheGet.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheGetPrivateEndpointConnection.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheGetPrivateEndpointConnection.json index 04d1f96f67..1c2f329976 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheGetPrivateEndpointConnection.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheGetPrivateEndpointConnection.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheImport.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheImport.json index 04d1f96f67..1c2f329976 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheImport.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheImport.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheLinkedServer_Create.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheLinkedServer_Create.json index 04d1f96f67..1c2f329976 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheLinkedServer_Create.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheLinkedServer_Create.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheLinkedServer_Delete.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheLinkedServer_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheLinkedServer_Delete.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheLinkedServer_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheLinkedServer_Get.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheLinkedServer_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheLinkedServer_Get.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheLinkedServer_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheLinkedServer_List.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheLinkedServer_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheLinkedServer_List.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheLinkedServer_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheList.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheList.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheListByResourceGroup.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheListByResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheListByResourceGroup.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheListByResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheListKeys.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheListKeys.json index 04d1f96f67..1c2f329976 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheListKeys.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheListKeys.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheListPrivateEndpointConnections.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheListPrivateEndpointConnections.json index 04d1f96f67..1c2f329976 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheListPrivateEndpointConnections.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheListPrivateEndpointConnections.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheListPrivateLinkResources.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheListPrivateLinkResources.json index 04d1f96f67..1c2f329976 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheListPrivateLinkResources.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheListPrivateLinkResources.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheListUpgradeNotifications.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheListUpgradeNotifications.json index 04d1f96f67..1c2f329976 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheListUpgradeNotifications.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheListUpgradeNotifications.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCachePatchSchedulesCreateOrUpdate.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCachePatchSchedulesCreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCachePatchSchedulesCreateOrUpdate.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCachePatchSchedulesCreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCachePatchSchedulesDelete.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCachePatchSchedulesDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCachePatchSchedulesDelete.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCachePatchSchedulesDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCachePatchSchedulesGet.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCachePatchSchedulesGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCachePatchSchedulesGet.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCachePatchSchedulesGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCachePatchSchedulesList.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCachePatchSchedulesList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCachePatchSchedulesList.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCachePatchSchedulesList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCachePutPrivateEndpointConnection.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCachePutPrivateEndpointConnection.json index 04d1f96f67..1c2f329976 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCachePutPrivateEndpointConnection.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCachePutPrivateEndpointConnection.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheRegenerateKey.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheRegenerateKey.json index 04d1f96f67..1c2f329976 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheRegenerateKey.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheRegenerateKey.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheUpdate.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheUpdate.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples-java/RedisCacheUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples-java/createOrUpdatePolicyExemption.json b/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples-java/createOrUpdatePolicyExemption.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples-java/createOrUpdatePolicyExemption.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples-java/createOrUpdatePolicyExemption.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples-java/deletePolicyExemption.json b/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples-java/deletePolicyExemption.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples-java/deletePolicyExemption.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples-java/deletePolicyExemption.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples-java/getPolicyExemption.json b/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples-java/getPolicyExemption.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples-java/getPolicyExemption.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples-java/getPolicyExemption.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples-java/listPolicyExemptionsForManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples-java/listPolicyExemptionsForManagementGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples-java/listPolicyExemptionsForManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples-java/listPolicyExemptionsForManagementGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples-java/listPolicyExemptionsForResource.json b/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples-java/listPolicyExemptionsForResource.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples-java/listPolicyExemptionsForResource.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples-java/listPolicyExemptionsForResource.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples-java/listPolicyExemptionsForResourceGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples-java/listPolicyExemptionsForResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples-java/listPolicyExemptionsForResourceGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples-java/listPolicyExemptionsForResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples-java/listPolicyExemptionsForSubscription.json b/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples-java/listPolicyExemptionsForSubscription.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples-java/listPolicyExemptionsForSubscription.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples-java/listPolicyExemptionsForSubscription.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ListProviderOperations.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ListProviderOperations.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ListProviderOperations.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ListProviderOperations.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_CreateOrUpdateAtResourceGroupLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_CreateOrUpdateAtResourceGroupLevel.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_CreateOrUpdateAtResourceGroupLevel.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_CreateOrUpdateAtResourceGroupLevel.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_CreateOrUpdateAtResourceLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_CreateOrUpdateAtResourceLevel.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_CreateOrUpdateAtResourceLevel.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_CreateOrUpdateAtResourceLevel.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_CreateOrUpdateAtScope.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_CreateOrUpdateAtScope.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_CreateOrUpdateAtScope.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_CreateOrUpdateAtScope.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_CreateOrUpdateAtSubscriptionLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_CreateOrUpdateAtSubscriptionLevel.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_CreateOrUpdateAtSubscriptionLevel.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_CreateOrUpdateAtSubscriptionLevel.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_DeleteAtResourceGroupLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_DeleteAtResourceGroupLevel.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_DeleteAtResourceGroupLevel.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_DeleteAtResourceGroupLevel.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_DeleteAtResourceLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_DeleteAtResourceLevel.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_DeleteAtResourceLevel.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_DeleteAtResourceLevel.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_DeleteAtScope.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_DeleteAtScope.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_DeleteAtScope.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_DeleteAtScope.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_DeleteAtSubscriptionLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_DeleteAtSubscriptionLevel.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_DeleteAtSubscriptionLevel.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_DeleteAtSubscriptionLevel.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_GetAtResourceGroupLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_GetAtResourceGroupLevel.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_GetAtResourceGroupLevel.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_GetAtResourceGroupLevel.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_GetAtResourceLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_GetAtResourceLevel.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_GetAtResourceLevel.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_GetAtResourceLevel.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_GetAtScope.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_GetAtScope.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_GetAtScope.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_GetAtScope.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_GetAtSubscriptionLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_GetAtSubscriptionLevel.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_GetAtSubscriptionLevel.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_GetAtSubscriptionLevel.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_ListAtResourceGroupLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_ListAtResourceGroupLevel.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_ListAtResourceGroupLevel.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_ListAtResourceGroupLevel.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_ListAtResourceLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_ListAtResourceLevel.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_ListAtResourceLevel.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_ListAtResourceLevel.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_ListAtScope.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_ListAtScope.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_ListAtScope.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_ListAtScope.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_ListAtSubscriptionLevel.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_ListAtSubscriptionLevel.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_ListAtSubscriptionLevel.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2017-04-01/examples-java/ManagementLocks_ListAtSubscriptionLevel.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples-java/getDataPolicyManifest.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples-java/getDataPolicyManifest.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples-java/getDataPolicyManifest.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples-java/getDataPolicyManifest.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples-java/listDataPolicyManifests.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples-java/listDataPolicyManifests.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples-java/listDataPolicyManifests.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples-java/listDataPolicyManifests.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples-java/listDataPolicyManifestsNamespaceFilter.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples-java/listDataPolicyManifestsNamespaceFilter.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples-java/listDataPolicyManifestsNamespaceFilter.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples-java/listDataPolicyManifestsNamespaceFilter.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createOrUpdatePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createOrUpdatePolicyDefinition.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createOrUpdatePolicyDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createOrUpdatePolicyDefinition.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createOrUpdatePolicyDefinitionAdvancedParams.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createOrUpdatePolicyDefinitionAdvancedParams.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createOrUpdatePolicyDefinitionAdvancedParams.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createOrUpdatePolicyDefinitionAdvancedParams.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createOrUpdatePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createOrUpdatePolicyDefinitionAtManagementGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createOrUpdatePolicyDefinitionAtManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createOrUpdatePolicyDefinitionAtManagementGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createOrUpdatePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createOrUpdatePolicySetDefinition.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createOrUpdatePolicySetDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createOrUpdatePolicySetDefinition.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createOrUpdatePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createOrUpdatePolicySetDefinitionAtManagementGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createOrUpdatePolicySetDefinitionAtManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createOrUpdatePolicySetDefinitionAtManagementGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createOrUpdatePolicySetDefinitionWithGroups.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createOrUpdatePolicySetDefinitionWithGroups.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createOrUpdatePolicySetDefinitionWithGroups.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createOrUpdatePolicySetDefinitionWithGroups.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createPolicyAssignment.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createPolicyAssignment.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createPolicyAssignment.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createPolicyAssignmentById.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createPolicyAssignmentById.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createPolicyAssignmentById.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createPolicyAssignmentNonComplianceMessages.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createPolicyAssignmentNonComplianceMessages.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createPolicyAssignmentNonComplianceMessages.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createPolicyAssignmentNonComplianceMessages.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createPolicyAssignmentWithIdentity.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createPolicyAssignmentWithIdentity.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createPolicyAssignmentWithIdentity.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createPolicyAssignmentWithIdentityById.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createPolicyAssignmentWithIdentityById.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createPolicyAssignmentWithIdentityById.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createPolicyAssignmentWithUserAssignedIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createPolicyAssignmentWithUserAssignedIdentity.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createPolicyAssignmentWithUserAssignedIdentity.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createPolicyAssignmentWithUserAssignedIdentity.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createPolicyAssignmentWithoutEnforcement.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createPolicyAssignmentWithoutEnforcement.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createPolicyAssignmentWithoutEnforcement.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/createPolicyAssignmentWithoutEnforcement.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/deletePolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/deletePolicyAssignment.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/deletePolicyAssignment.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/deletePolicyAssignment.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/deletePolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/deletePolicyAssignmentById.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/deletePolicyAssignmentById.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/deletePolicyAssignmentById.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/deletePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/deletePolicyDefinition.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/deletePolicyDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/deletePolicyDefinition.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/deletePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/deletePolicyDefinitionAtManagementGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/deletePolicyDefinitionAtManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/deletePolicyDefinitionAtManagementGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/deletePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/deletePolicySetDefinition.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/deletePolicySetDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/deletePolicySetDefinition.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/deletePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/deletePolicySetDefinitionAtManagementGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/deletePolicySetDefinitionAtManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/deletePolicySetDefinitionAtManagementGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getBuiltInPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getBuiltInPolicySetDefinition.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getBuiltInPolicySetDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getBuiltInPolicySetDefinition.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getBuiltinPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getBuiltinPolicyDefinition.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getBuiltinPolicyDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getBuiltinPolicyDefinition.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicyAssignment.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicyAssignment.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicyAssignment.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicyAssignmentById.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicyAssignmentById.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicyAssignmentById.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicyAssignmentWithIdentity.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicyAssignmentWithIdentity.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicyAssignmentWithIdentity.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicyAssignmentWithIdentityById.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicyAssignmentWithIdentityById.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicyAssignmentWithIdentityById.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicyAssignmentWithUserAssignedIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicyAssignmentWithUserAssignedIdentity.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicyAssignmentWithUserAssignedIdentity.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicyAssignmentWithUserAssignedIdentity.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicyDefinition.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicyDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicyDefinition.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicyDefinitionAtManagementGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicyDefinitionAtManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicyDefinitionAtManagementGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicySetDefinition.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicySetDefinition.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicySetDefinition.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicySetDefinitionAtManagementGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicySetDefinitionAtManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/getPolicySetDefinitionAtManagementGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listBuiltInPolicyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listBuiltInPolicyDefinitions.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listBuiltInPolicyDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listBuiltInPolicyDefinitions.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listBuiltInPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listBuiltInPolicySetDefinitions.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listBuiltInPolicySetDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listBuiltInPolicySetDefinitions.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listPolicyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listPolicyAssignments.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listPolicyAssignments.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listPolicyAssignments.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listPolicyAssignmentsForManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listPolicyAssignmentsForManagementGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listPolicyAssignmentsForManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listPolicyAssignmentsForManagementGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listPolicyAssignmentsForResource.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listPolicyAssignmentsForResource.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listPolicyAssignmentsForResource.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listPolicyAssignmentsForResource.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listPolicyAssignmentsForResourceGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listPolicyAssignmentsForResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listPolicyAssignmentsForResourceGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listPolicyAssignmentsForResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listPolicyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listPolicyDefinitions.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listPolicyDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listPolicyDefinitions.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listPolicyDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listPolicyDefinitionsByManagementGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listPolicyDefinitionsByManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listPolicyDefinitionsByManagementGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listPolicySetDefinitions.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listPolicySetDefinitions.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listPolicySetDefinitions.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listPolicySetDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listPolicySetDefinitionsByManagementGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listPolicySetDefinitionsByManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/listPolicySetDefinitionsByManagementGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/updatePolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/updatePolicyAssignmentWithIdentity.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/updatePolicyAssignmentWithIdentity.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/updatePolicyAssignmentWithIdentity.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/updatePolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/updatePolicyAssignmentWithIdentityById.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/updatePolicyAssignmentWithIdentityById.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/updatePolicyAssignmentWithIdentityById.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/updatePolicyAssignmentWithUserAssignedIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/updatePolicyAssignmentWithUserAssignedIdentity.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/updatePolicyAssignmentWithUserAssignedIdentity.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples-java/updatePolicyAssignmentWithUserAssignedIdentity.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/FeatureRegistration/SubscriptionFeatureRegistrationDELETE.json b/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/FeatureRegistration/SubscriptionFeatureRegistrationDELETE.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/FeatureRegistration/SubscriptionFeatureRegistrationDELETE.json +++ b/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/FeatureRegistration/SubscriptionFeatureRegistrationDELETE.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/FeatureRegistration/SubscriptionFeatureRegistrationGET.json b/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/FeatureRegistration/SubscriptionFeatureRegistrationGET.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/FeatureRegistration/SubscriptionFeatureRegistrationGET.json +++ b/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/FeatureRegistration/SubscriptionFeatureRegistrationGET.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/FeatureRegistration/SubscriptionFeatureRegistrationLIST.json b/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/FeatureRegistration/SubscriptionFeatureRegistrationLIST.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/FeatureRegistration/SubscriptionFeatureRegistrationLIST.json +++ b/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/FeatureRegistration/SubscriptionFeatureRegistrationLIST.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/FeatureRegistration/SubscriptionFeatureRegistrationLISTALL.json b/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/FeatureRegistration/SubscriptionFeatureRegistrationLISTALL.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/FeatureRegistration/SubscriptionFeatureRegistrationLISTALL.json +++ b/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/FeatureRegistration/SubscriptionFeatureRegistrationLISTALL.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/FeatureRegistration/SubscriptionFeatureRegistrationPUT.json b/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/FeatureRegistration/SubscriptionFeatureRegistrationPUT.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/FeatureRegistration/SubscriptionFeatureRegistrationPUT.json +++ b/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/FeatureRegistration/SubscriptionFeatureRegistrationPUT.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/getFeature.json b/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/getFeature.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/getFeature.json +++ b/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/getFeature.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/listProviderFeatures.json b/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/listProviderFeatures.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/listProviderFeatures.json +++ b/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/listProviderFeatures.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/listSubscriptionFeatures.json b/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/listSubscriptionFeatures.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/listSubscriptionFeatures.json +++ b/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/listSubscriptionFeatures.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/registerFeature.json b/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/registerFeature.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/registerFeature.json +++ b/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/registerFeature.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/unregisterFeature.json b/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/unregisterFeature.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/unregisterFeature.json +++ b/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples-java/unregisterFeature.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/CalculateTemplateHash.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/CalculateTemplateHash.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/CalculateTemplateHash.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/CalculateTemplateHash.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/CheckResourceName.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/CheckResourceName.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/CheckResourceName.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/CheckResourceName.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/CreateResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/CreateResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/CreateResourceGroup.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/CreateResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/ExportResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/ExportResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/ExportResourceGroup.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/ExportResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/ExportResourceGroupWithFiltering.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/ExportResourceGroupWithFiltering.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/ExportResourceGroupWithFiltering.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/ExportResourceGroupWithFiltering.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/ForceDeleteVMsAndVMSSInResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/ForceDeleteVMsAndVMSSInResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/ForceDeleteVMsAndVMSSInResourceGroup.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/ForceDeleteVMsAndVMSSInResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/ForceDeleteVMsInResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/ForceDeleteVMsInResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/ForceDeleteVMsInResourceGroup.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/ForceDeleteVMsInResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetLocations.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetLocations.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetLocations.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetLocations.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetLocationsWithExtendedLocations.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetLocationsWithExtendedLocations.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetLocationsWithExtendedLocations.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetLocationsWithExtendedLocations.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetNamedProviderAtTenant.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetNamedProviderAtTenant.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetNamedProviderAtTenant.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetNamedProviderAtTenant.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetProvider.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetProvider.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetProvider.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetProvider.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetProviderResourceTypes.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetProviderResourceTypes.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetProviderResourceTypes.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetProviderResourceTypes.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetProviders.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetProviders.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetProviders.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetProviders.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetSubscription.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetSubscription.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetSubscription.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetSubscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetSubscriptions.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetSubscriptions.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetSubscriptions.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetTagsResource.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetTagsResource.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetTagsResource.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetTagsSubscription.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetTagsSubscription.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetTagsSubscription.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetTenants.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetTenants.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetTenants.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/GetTenants.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PostCheckZonePeers.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PostCheckZonePeers.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PostCheckZonePeers.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PostCheckZonePeers.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PostDeploymentWhatIfOnManagementGroup.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PostDeploymentWhatIfOnManagementGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PostDeploymentWhatIfOnManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PostDeploymentWhatIfOnManagementGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PostDeploymentWhatIfOnResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PostDeploymentWhatIfOnResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PostDeploymentWhatIfOnResourceGroup.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PostDeploymentWhatIfOnResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PostDeploymentWhatIfOnSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PostDeploymentWhatIfOnSubscription.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PostDeploymentWhatIfOnSubscription.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PostDeploymentWhatIfOnSubscription.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PostDeploymentWhatIfOnTenant.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PostDeploymentWhatIfOnTenant.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PostDeploymentWhatIfOnTenant.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PostDeploymentWhatIfOnTenant.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutDeploymentAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutDeploymentAtManagementGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutDeploymentAtManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutDeploymentAtManagementGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutDeploymentAtScope.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutDeploymentAtScope.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutDeploymentAtScope.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutDeploymentAtScope.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutDeploymentAtTenant.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutDeploymentAtTenant.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutDeploymentAtTenant.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutDeploymentAtTenant.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutDeploymentResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutDeploymentResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutDeploymentResourceGroup.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutDeploymentResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutDeploymentResourceGroupTemplateSpecsWithId.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutDeploymentResourceGroupTemplateSpecsWithId.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutDeploymentResourceGroupTemplateSpecsWithId.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutDeploymentResourceGroupTemplateSpecsWithId.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutDeploymentSubscriptionTemplateSpecsWithId.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutDeploymentSubscriptionTemplateSpecsWithId.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutDeploymentSubscriptionTemplateSpecsWithId.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutDeploymentSubscriptionTemplateSpecsWithId.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutDeploymentWithOnErrorDeploymentLastSuccessful.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutDeploymentWithOnErrorDeploymentLastSuccessful.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutDeploymentWithOnErrorDeploymentLastSuccessful.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutDeploymentWithOnErrorDeploymentLastSuccessful.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutDeploymentWithOnErrorDeploymentSpecificDeployment.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutDeploymentWithOnErrorDeploymentSpecificDeployment.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutDeploymentWithOnErrorDeploymentSpecificDeployment.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutDeploymentWithOnErrorDeploymentSpecificDeployment.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutTagsResource.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutTagsResource.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutTagsResource.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutTagsResource.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutTagsSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutTagsSubscription.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutTagsSubscription.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/examples-java/PutTagsSubscription.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2022-05-01/examples-java/GetChange.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2022-05-01/examples-java/GetChange.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2022-05-01/examples-java/GetChange.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2022-05-01/examples-java/GetChange.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2022-05-01/examples-java/ListChanges.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2022-05-01/examples-java/ListChanges.json index 04d1f96f67..1c2f329976 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2022-05-01/examples-java/ListChanges.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2022-05-01/examples-java/ListChanges.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/CreateOrUpdateSharedPrivateLinkResource.json b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/CreateOrUpdateSharedPrivateLinkResource.json index 04d1f96f67..1c2f329976 100644 --- a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/CreateOrUpdateSharedPrivateLinkResource.json +++ b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/CreateOrUpdateSharedPrivateLinkResource.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/DeletePrivateEndpointConnection.json b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/DeletePrivateEndpointConnection.json index 04d1f96f67..1c2f329976 100644 --- a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/DeletePrivateEndpointConnection.json +++ b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/DeletePrivateEndpointConnection.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/DeleteSharedPrivateLinkResource.json b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/DeleteSharedPrivateLinkResource.json index 04d1f96f67..1c2f329976 100644 --- a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/DeleteSharedPrivateLinkResource.json +++ b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/DeleteSharedPrivateLinkResource.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/GetPrivateEndpointConnection.json b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/GetPrivateEndpointConnection.json index 04d1f96f67..1c2f329976 100644 --- a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/GetPrivateEndpointConnection.json +++ b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/GetPrivateEndpointConnection.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/GetSharedPrivateLinkResource.json b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/GetSharedPrivateLinkResource.json index 04d1f96f67..1c2f329976 100644 --- a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/GetSharedPrivateLinkResource.json +++ b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/GetSharedPrivateLinkResource.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/ListPrivateEndpointConnectionsByService.json b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/ListPrivateEndpointConnectionsByService.json index 04d1f96f67..1c2f329976 100644 --- a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/ListPrivateEndpointConnectionsByService.json +++ b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/ListPrivateEndpointConnectionsByService.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/ListSharedPrivateLinkResourcesByService.json b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/ListSharedPrivateLinkResourcesByService.json index 04d1f96f67..1c2f329976 100644 --- a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/ListSharedPrivateLinkResourcesByService.json +++ b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/ListSharedPrivateLinkResourcesByService.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/ListSupportedPrivateLinkResources.json b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/ListSupportedPrivateLinkResources.json index 04d1f96f67..1c2f329976 100644 --- a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/ListSupportedPrivateLinkResources.json +++ b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/ListSupportedPrivateLinkResources.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchCheckNameAvailability.json b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchCheckNameAvailability.json index 04d1f96f67..1c2f329976 100644 --- a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchCheckNameAvailability.json +++ b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchCheckNameAvailability.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchCreateOrUpdateService.json b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchCreateOrUpdateService.json index 04d1f96f67..1c2f329976 100644 --- a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchCreateOrUpdateService.json +++ b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchCreateOrUpdateService.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchCreateOrUpdateServiceToAllowAccessFromPrivateEndpoints.json b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchCreateOrUpdateServiceToAllowAccessFromPrivateEndpoints.json index 04d1f96f67..1c2f329976 100644 --- a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchCreateOrUpdateServiceToAllowAccessFromPrivateEndpoints.json +++ b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchCreateOrUpdateServiceToAllowAccessFromPrivateEndpoints.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchCreateOrUpdateServiceToAllowAccessFromPublicCustomIPs.json b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchCreateOrUpdateServiceToAllowAccessFromPublicCustomIPs.json index 04d1f96f67..1c2f329976 100644 --- a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchCreateOrUpdateServiceToAllowAccessFromPublicCustomIPs.json +++ b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchCreateOrUpdateServiceToAllowAccessFromPublicCustomIPs.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchCreateOrUpdateServiceWithIdentity.json b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchCreateOrUpdateServiceWithIdentity.json index 04d1f96f67..1c2f329976 100644 --- a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchCreateOrUpdateServiceWithIdentity.json +++ b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchCreateOrUpdateServiceWithIdentity.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchCreateQueryKey.json b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchCreateQueryKey.json index 04d1f96f67..1c2f329976 100644 --- a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchCreateQueryKey.json +++ b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchCreateQueryKey.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchDeleteQueryKey.json b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchDeleteQueryKey.json index 04d1f96f67..1c2f329976 100644 --- a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchDeleteQueryKey.json +++ b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchDeleteQueryKey.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchDeleteService.json b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchDeleteService.json index 04d1f96f67..1c2f329976 100644 --- a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchDeleteService.json +++ b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchDeleteService.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchGetAdminKeys.json b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchGetAdminKeys.json index 04d1f96f67..1c2f329976 100644 --- a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchGetAdminKeys.json +++ b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchGetAdminKeys.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchGetService.json b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchGetService.json index 04d1f96f67..1c2f329976 100644 --- a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchGetService.json +++ b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchGetService.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchListQueryKeysBySearchService.json b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchListQueryKeysBySearchService.json index 04d1f96f67..1c2f329976 100644 --- a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchListQueryKeysBySearchService.json +++ b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchListQueryKeysBySearchService.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchListServicesByResourceGroup.json b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchListServicesByResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchListServicesByResourceGroup.json +++ b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchListServicesByResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchListServicesBySubscription.json b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchListServicesBySubscription.json index 04d1f96f67..1c2f329976 100644 --- a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchListServicesBySubscription.json +++ b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchListServicesBySubscription.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchRegenerateAdminKey.json b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchRegenerateAdminKey.json index 04d1f96f67..1c2f329976 100644 --- a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchRegenerateAdminKey.json +++ b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchRegenerateAdminKey.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchUpdateService.json b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchUpdateService.json index 04d1f96f67..1c2f329976 100644 --- a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchUpdateService.json +++ b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchUpdateService.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchUpdateServiceToAllowAccessFromPrivateEndpoints.json b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchUpdateServiceToAllowAccessFromPrivateEndpoints.json index 04d1f96f67..1c2f329976 100644 --- a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchUpdateServiceToAllowAccessFromPrivateEndpoints.json +++ b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchUpdateServiceToAllowAccessFromPrivateEndpoints.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchUpdateServiceToAllowAccessFromPublicCustomIPs.json b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchUpdateServiceToAllowAccessFromPublicCustomIPs.json index 04d1f96f67..1c2f329976 100644 --- a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchUpdateServiceToAllowAccessFromPublicCustomIPs.json +++ b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchUpdateServiceToAllowAccessFromPublicCustomIPs.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchUpdateServiceToRemoveIdentity.json b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchUpdateServiceToRemoveIdentity.json index 04d1f96f67..1c2f329976 100644 --- a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchUpdateServiceToRemoveIdentity.json +++ b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/SearchUpdateServiceToRemoveIdentity.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/UpdatePrivateEndpointConnection.json b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/UpdatePrivateEndpointConnection.json index 04d1f96f67..1c2f329976 100644 --- a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/UpdatePrivateEndpointConnection.json +++ b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/examples-java/UpdatePrivateEndpointConnection.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationCompleteMigration.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationCompleteMigration.java new file mode 100644 index 0000000000..eb30f4fcd8 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationCompleteMigration.java @@ -0,0 +1,23 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.servicebus.models.MigrationConfigurationName; + +/** Samples for MigrationConfigs CompleteMigration. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Migrationconfigurations/SBMigrationconfigurationCompleteMigration.json + */ + /** + * Sample code: MigrationConfigurationsCompleteMigration. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void migrationConfigurationsCompleteMigration(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getMigrationConfigs() + .completeMigrationWithResponse( + "ResourceGroup", "sdk-Namespace-41", MigrationConfigurationName.DEFAULT, Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationCompleteMigration.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationCompleteMigration.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationCompleteMigration.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationCreateAndStartMigration.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationCreateAndStartMigration.java new file mode 100644 index 0000000000..d3c97d5dd8 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationCreateAndStartMigration.java @@ -0,0 +1,31 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.servicebus.fluent.models.MigrationConfigPropertiesInner; +import com.azure.resourcemanager.servicebus.models.MigrationConfigurationName; + +/** Samples for MigrationConfigs CreateAndStartMigration. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Migrationconfigurations/SBMigrationconfigurationCreateAndStartMigration.json + */ + /** + * Sample code: MigrationConfigurationsStartMigration. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void migrationConfigurationsStartMigration(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getMigrationConfigs() + .createAndStartMigration( + "ResourceGroup", + "sdk-Namespace-41", + MigrationConfigurationName.DEFAULT, + new MigrationConfigPropertiesInner() + .withTargetNamespace( + "/subscriptions/SubscriptionId/resourceGroups/ResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-4028") + .withPostMigrationName("sdk-PostMigration-5919"), + Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationCreateAndStartMigration.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationCreateAndStartMigration.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationCreateAndStartMigration.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationDelete.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationDelete.java new file mode 100644 index 0000000000..83e3412fd9 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationDelete.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.servicebus.models.MigrationConfigurationName; + +/** Samples for MigrationConfigs Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Migrationconfigurations/SBMigrationconfigurationDelete.json + */ + /** + * Sample code: MigrationConfigurationsDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void migrationConfigurationsDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getMigrationConfigs() + .deleteWithResponse("ResourceGroup", "sdk-Namespace-41", MigrationConfigurationName.DEFAULT, Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationGet.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationGet.java new file mode 100644 index 0000000000..f3a5f55a24 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationGet.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.servicebus.models.MigrationConfigurationName; + +/** Samples for MigrationConfigs Get. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Migrationconfigurations/SBMigrationconfigurationGet.json + */ + /** + * Sample code: MigrationConfigurationsGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void migrationConfigurationsGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getMigrationConfigs() + .getWithResponse("ResourceGroup", "sdk-Namespace-41", MigrationConfigurationName.DEFAULT, Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationList.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationList.java new file mode 100644 index 0000000000..dfbbaed49d --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for MigrationConfigs List. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Migrationconfigurations/SBMigrationconfigurationList.json + */ + /** + * Sample code: MigrationConfigurationsList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void migrationConfigurationsList(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getMigrationConfigs() + .list("ResourceGroup", "sdk-Namespace-9259", Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationList.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationRevert.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationRevert.java new file mode 100644 index 0000000000..fa104ed386 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationRevert.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.servicebus.models.MigrationConfigurationName; + +/** Samples for MigrationConfigs Revert. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Migrationconfigurations/SBMigrationconfigurationRevert.json + */ + /** + * Sample code: MigrationConfigurationsRevert. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void migrationConfigurationsRevert(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getMigrationConfigs() + .revertWithResponse("ResourceGroup", "sdk-Namespace-41", MigrationConfigurationName.DEFAULT, Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationRevert.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationRevert.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Migrationconfigurations/SBMigrationconfigurationRevert.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionCreate.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionCreate.java new file mode 100644 index 0000000000..de1dd5b3a6 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionCreate.java @@ -0,0 +1,40 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.servicebus.fluent.models.PrivateEndpointConnectionInner; +import com.azure.resourcemanager.servicebus.models.ConnectionState; +import com.azure.resourcemanager.servicebus.models.EndPointProvisioningState; +import com.azure.resourcemanager.servicebus.models.PrivateEndpoint; +import com.azure.resourcemanager.servicebus.models.PrivateLinkConnectionStatus; + +/** Samples for PrivateEndpointConnections CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/NameSpaces/PrivateEndPointConnectionCreate.json + */ + /** + * Sample code: NameSpacePrivateEndPointConnectionCreate. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void nameSpacePrivateEndPointConnectionCreate(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getPrivateEndpointConnections() + .createOrUpdateWithResponse( + "ArunMonocle", + "sdk-Namespace-2924", + "privateEndpointConnectionName", + new PrivateEndpointConnectionInner() + .withPrivateEndpoint( + new PrivateEndpoint() + .withId( + "/subscriptions/dbedb4e0-40e6-4145-81f3-f1314c150774/resourceGroups/SDK-ServiceBus-8396/providers/Microsoft.Network/privateEndpoints/sdk-Namespace-2847")) + .withPrivateLinkServiceConnectionState( + new ConnectionState() + .withStatus(PrivateLinkConnectionStatus.REJECTED) + .withDescription("testing")) + .withProvisioningState(EndPointProvisioningState.SUCCEEDED), + Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionDelete.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionDelete.java new file mode 100644 index 0000000000..c4c313179a --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateEndpointConnections Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/NameSpaces/PrivateEndPointConnectionDelete.json + */ + /** + * Sample code: NameSpacePrivateEndPointConnectionDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void nameSpacePrivateEndPointConnectionDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getPrivateEndpointConnections() + .delete("ArunMonocle", "sdk-Namespace-3285", "928c44d5-b7c6-423b-b6fa-811e0c27b3e0", Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionGet.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionGet.java new file mode 100644 index 0000000000..4b81e16e58 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionGet.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateEndpointConnections Get. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/NameSpaces/PrivateEndPointConnectionGet.json + */ + /** + * Sample code: NameSpacePrivateEndPointConnectionGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void nameSpacePrivateEndPointConnectionGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getPrivateEndpointConnections() + .getWithResponse( + "SDK-ServiceBus-4794", "sdk-Namespace-5828", "privateEndpointConnectionName", Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionList.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionList.java new file mode 100644 index 0000000000..c5753db81c --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateEndpointConnections List. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/NameSpaces/PrivateEndPointConnectionList.json + */ + /** + * Sample code: NameSpaceCreate. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void nameSpaceCreate(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getPrivateEndpointConnections() + .list("SDK-ServiceBus-4794", "sdk-Namespace-5828", Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionList.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/PrivateEndPointConnectionList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/PrivateLinkResourcesGet.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/PrivateLinkResourcesGet.java new file mode 100644 index 0000000000..1dc0d24457 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/PrivateLinkResourcesGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateLinkResources Get. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/NameSpaces/PrivateLinkResourcesGet.json + */ + /** + * Sample code: NameSpacePrivateLinkResourcesGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void nameSpacePrivateLinkResourcesGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getPrivateLinkResources() + .getWithResponse("ArunMonocle", "sdk-Namespace-2924", Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/PrivateLinkResourcesGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/PrivateLinkResourcesGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/PrivateLinkResourcesGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleCreate.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleCreate.java new file mode 100644 index 0000000000..da4b4d88fb --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleCreate.java @@ -0,0 +1,29 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.servicebus.fluent.models.SBAuthorizationRuleInner; +import com.azure.resourcemanager.servicebus.models.AccessRights; +import java.util.Arrays; + +/** Samples for Namespaces CreateOrUpdateAuthorizationRule. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleCreate.json + */ + /** + * Sample code: NameSpaceAuthorizationRuleCreate. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void nameSpaceAuthorizationRuleCreate(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getNamespaces() + .createOrUpdateAuthorizationRuleWithResponse( + "ArunMonocle", + "sdk-Namespace-6914", + "sdk-AuthRules-1788", + new SBAuthorizationRuleInner().withRights(Arrays.asList(AccessRights.LISTEN, AccessRights.SEND)), + Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleDelete.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleDelete.java new file mode 100644 index 0000000000..61a29d353d --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleDelete.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for Namespaces DeleteAuthorizationRule. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleDelete.json + */ + /** + * Sample code: NameSpaceAuthorizationRuleDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void nameSpaceAuthorizationRuleDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getNamespaces() + .deleteAuthorizationRuleWithResponse( + "ArunMonocle", "sdk-namespace-6914", "sdk-AuthRules-1788", Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleGet.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleGet.java new file mode 100644 index 0000000000..693209d7c5 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for Namespaces GetAuthorizationRule. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleGet.json + */ + /** + * Sample code: NameSpaceAuthorizationRuleGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void nameSpaceAuthorizationRuleGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getNamespaces() + .getAuthorizationRuleWithResponse("ArunMonocle", "sdk-Namespace-6914", "sdk-AuthRules-1788", Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleListAll.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleListAll.java new file mode 100644 index 0000000000..bd50dd27e9 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleListAll.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for Namespaces ListAuthorizationRules. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleListAll.json + */ + /** + * Sample code: NameSpaceAuthorizationRuleListAll. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void nameSpaceAuthorizationRuleListAll(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getNamespaces() + .listAuthorizationRules("ArunMonocle", "sdk-Namespace-6914", Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleListAll.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleListAll.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleListAll.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleListKey.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleListKey.java new file mode 100644 index 0000000000..e99ad99a82 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleListKey.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for Namespaces ListKeys. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleListKey.json + */ + /** + * Sample code: NameSpaceAuthorizationRuleListKey. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void nameSpaceAuthorizationRuleListKey(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getNamespaces() + .listKeysWithResponse("ArunMonocle", "sdk-namespace-6914", "sdk-AuthRules-1788", Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleListKey.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleListKey.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleListKey.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleRegenerateKey.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleRegenerateKey.java new file mode 100644 index 0000000000..fb73474816 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleRegenerateKey.java @@ -0,0 +1,28 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.servicebus.models.KeyType; +import com.azure.resourcemanager.servicebus.models.RegenerateAccessKeyParameters; + +/** Samples for Namespaces RegenerateKeys. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleRegenerateKey.json + */ + /** + * Sample code: NameSpaceAuthorizationRuleRegenerateKey. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void nameSpaceAuthorizationRuleRegenerateKey(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getNamespaces() + .regenerateKeysWithResponse( + "ArunMonocle", + "sdk-namespace-6914", + "sdk-AuthRules-1788", + new RegenerateAccessKeyParameters().withKeyType(KeyType.PRIMARY_KEY), + Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleRegenerateKey.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleRegenerateKey.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceAuthorizationRuleRegenerateKey.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceCheckNameAvailability.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceCheckNameAvailability.java new file mode 100644 index 0000000000..fb08cc679b --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceCheckNameAvailability.java @@ -0,0 +1,23 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.servicebus.models.CheckNameAvailability; + +/** Samples for Namespaces CheckNameAvailability. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/NameSpaces/SBNameSpaceCheckNameAvailability.json + */ + /** + * Sample code: NameSpaceCheckNameAvailability. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void nameSpaceCheckNameAvailability(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getNamespaces() + .checkNameAvailabilityWithResponse( + new CheckNameAvailability().withName("sdk-Namespace-2924"), Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceCheckNameAvailability.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceCheckNameAvailability.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceCheckNameAvailability.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceCreate.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceCreate.java new file mode 100644 index 0000000000..a2b1de5b0c --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceCreate.java @@ -0,0 +1,45 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.servicebus.fluent.models.SBNamespaceInner; +import com.azure.resourcemanager.servicebus.models.SBSku; +import com.azure.resourcemanager.servicebus.models.SkuName; +import com.azure.resourcemanager.servicebus.models.SkuTier; +import java.util.HashMap; +import java.util.Map; + +/** Samples for Namespaces CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/NameSpaces/SBNameSpaceCreate.json + */ + /** + * Sample code: NameSpaceCreate. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void nameSpaceCreate(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getNamespaces() + .createOrUpdate( + "ArunMonocle", + "sdk-Namespace2924", + new SBNamespaceInner() + .withLocation("South Central US") + .withTags(mapOf("tag1", "value1", "tag2", "value2")) + .withSku(new SBSku().withName(SkuName.STANDARD).withTier(SkuTier.STANDARD)), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceDelete.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceDelete.java new file mode 100644 index 0000000000..ba7aebcc13 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for Namespaces Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/NameSpaces/SBNameSpaceDelete.json + */ + /** + * Sample code: NameSpaceDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void nameSpaceDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getNamespaces() + .delete("ArunMonocle", "sdk-Namespace-3285", Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceGet.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceGet.java new file mode 100644 index 0000000000..cefa33af27 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for Namespaces GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/NameSpaces/SBNameSpaceGet.json + */ + /** + * Sample code: NameSpaceGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void nameSpaceGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getNamespaces() + .getByResourceGroupWithResponse("ArunMonocle", "sdk-Namespace-2924", Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceList.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceList.java new file mode 100644 index 0000000000..b11f627c55 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for Namespaces List. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/NameSpaces/SBNameSpaceList.json + */ + /** + * Sample code: NameSpaceList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void nameSpaceList(com.azure.resourcemanager.AzureResourceManager azure) { + azure.serviceBusNamespaces().manager().serviceClient().getNamespaces().list(Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceList.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceListByResourceGroup.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceListByResourceGroup.java new file mode 100644 index 0000000000..098d9d4c72 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceListByResourceGroup.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for Namespaces ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/NameSpaces/SBNameSpaceListByResourceGroup.json + */ + /** + * Sample code: NameSpaceListByResourceGroup. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void nameSpaceListByResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getNamespaces() + .listByResourceGroup("ArunMonocle", Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceListByResourceGroup.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceListByResourceGroup.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceListByResourceGroup.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceUpdate.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceUpdate.java new file mode 100644 index 0000000000..a3387aeda5 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceUpdate.java @@ -0,0 +1,41 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.servicebus.models.SBNamespaceUpdateParameters; +import java.util.HashMap; +import java.util.Map; + +/** Samples for Namespaces Update. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/NameSpaces/SBNameSpaceUpdate.json + */ + /** + * Sample code: NameSpaceUpdate. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void nameSpaceUpdate(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getNamespaces() + .updateWithResponse( + "ArunMonocle", + "sdk-Namespace-3285", + new SBNamespaceUpdateParameters() + .withLocation("South Central US") + .withTags(mapOf("tag3", "value3", "tag4", "value4")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceUpdate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/SBNameSpaceUpdate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetCreate.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetCreate.java new file mode 100644 index 0000000000..dfe65c5118 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetCreate.java @@ -0,0 +1,62 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.servicebus.fluent.models.NetworkRuleSetInner; +import com.azure.resourcemanager.servicebus.models.DefaultAction; +import com.azure.resourcemanager.servicebus.models.NWRuleSetIpRules; +import com.azure.resourcemanager.servicebus.models.NWRuleSetVirtualNetworkRules; +import com.azure.resourcemanager.servicebus.models.NetworkRuleIpAction; +import com.azure.resourcemanager.servicebus.models.Subnet; +import java.util.Arrays; + +/** Samples for Namespaces CreateOrUpdateNetworkRuleSet. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetCreate.json + */ + /** + * Sample code: NameSpaceNetworkRuleSetCreate. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void nameSpaceNetworkRuleSetCreate(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getNamespaces() + .createOrUpdateNetworkRuleSetWithResponse( + "ResourceGroup", + "sdk-Namespace-6019", + new NetworkRuleSetInner() + .withDefaultAction(DefaultAction.DENY) + .withVirtualNetworkRules( + Arrays + .asList( + new NWRuleSetVirtualNetworkRules() + .withSubnet( + new Subnet() + .withId( + "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/alitest/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2")) + .withIgnoreMissingVnetServiceEndpoint(true), + new NWRuleSetVirtualNetworkRules() + .withSubnet( + new Subnet() + .withId( + "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/alitest/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3")) + .withIgnoreMissingVnetServiceEndpoint(false), + new NWRuleSetVirtualNetworkRules() + .withSubnet( + new Subnet() + .withId( + "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/alitest/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6")) + .withIgnoreMissingVnetServiceEndpoint(false))) + .withIpRules( + Arrays + .asList( + new NWRuleSetIpRules().withIpMask("1.1.1.1").withAction(NetworkRuleIpAction.ALLOW), + new NWRuleSetIpRules().withIpMask("1.1.1.2").withAction(NetworkRuleIpAction.ALLOW), + new NWRuleSetIpRules().withIpMask("1.1.1.3").withAction(NetworkRuleIpAction.ALLOW), + new NWRuleSetIpRules().withIpMask("1.1.1.4").withAction(NetworkRuleIpAction.ALLOW), + new NWRuleSetIpRules().withIpMask("1.1.1.5").withAction(NetworkRuleIpAction.ALLOW))), + Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetGet.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetGet.java new file mode 100644 index 0000000000..d7f6bbcd9a --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for Namespaces GetNetworkRuleSet. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetGet.json + */ + /** + * Sample code: NameSpaceNetworkRuleSetGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void nameSpaceNetworkRuleSetGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getNamespaces() + .getNetworkRuleSetWithResponse("ResourceGroup", "sdk-Namespace-6019", Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetList.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetList.java new file mode 100644 index 0000000000..954e234aba --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for Namespaces ListNetworkRuleSets. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetList.json + */ + /** + * Sample code: NameSpaceNetworkRuleSetList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void nameSpaceNetworkRuleSetList(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getNamespaces() + .listNetworkRuleSets("ResourceGroup", "sdk-Namespace-6019", Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetList.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleCreate.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleCreate.java new file mode 100644 index 0000000000..270c4a4b4e --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleCreate.java @@ -0,0 +1,30 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.servicebus.fluent.models.SBAuthorizationRuleInner; +import com.azure.resourcemanager.servicebus.models.AccessRights; +import java.util.Arrays; + +/** Samples for Queues CreateOrUpdateAuthorizationRule. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Queues/SBQueueAuthorizationRuleCreate.json + */ + /** + * Sample code: QueueAuthorizationRuleCreate. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void queueAuthorizationRuleCreate(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getQueues() + .createOrUpdateAuthorizationRuleWithResponse( + "ArunMonocle", + "sdk-Namespace-7982", + "sdk-Queues-2317", + "sdk-AuthRules-5800", + new SBAuthorizationRuleInner().withRights(Arrays.asList(AccessRights.LISTEN, AccessRights.SEND)), + Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleDelete.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleDelete.java new file mode 100644 index 0000000000..394a952386 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleDelete.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for Queues DeleteAuthorizationRule. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Queues/SBQueueAuthorizationRuleDelete.json + */ + /** + * Sample code: QueueAuthorizationRuleDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void queueAuthorizationRuleDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getQueues() + .deleteAuthorizationRuleWithResponse( + "ArunMonocle", "sdk-namespace-7982", "sdk-Queues-2317", "sdk-AuthRules-5800", Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleGet.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleGet.java new file mode 100644 index 0000000000..2643b53d29 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleGet.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for Queues GetAuthorizationRule. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Queues/SBQueueAuthorizationRuleGet.json + */ + /** + * Sample code: QueueAuthorizationRuleGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void queueAuthorizationRuleGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getQueues() + .getAuthorizationRuleWithResponse( + "ArunMonocle", "sdk-Namespace-7982", "sdk-Queues-2317", "sdk-AuthRules-5800", Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleListAll.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleListAll.java new file mode 100644 index 0000000000..56e383aa86 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleListAll.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for Queues ListAuthorizationRules. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Queues/SBQueueAuthorizationRuleListAll.json + */ + /** + * Sample code: QueueAuthorizationRuleListAll. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void queueAuthorizationRuleListAll(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getQueues() + .listAuthorizationRules("ArunMonocle", "sdk-Namespace-7982", "sdk-Queues-2317", Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleListAll.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleListAll.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleListAll.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleListKey.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleListKey.java new file mode 100644 index 0000000000..47db0ad7c6 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleListKey.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for Queues ListKeys. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Queues/SBQueueAuthorizationRuleListKey.json + */ + /** + * Sample code: QueueAuthorizationRuleListKey. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void queueAuthorizationRuleListKey(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getQueues() + .listKeysWithResponse( + "ArunMonocle", "sdk-namespace-7982", "sdk-Queues-2317", "sdk-AuthRules-5800", Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleListKey.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleListKey.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleListKey.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleRegenerateKey.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleRegenerateKey.java new file mode 100644 index 0000000000..d5f5981488 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleRegenerateKey.java @@ -0,0 +1,29 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.servicebus.models.KeyType; +import com.azure.resourcemanager.servicebus.models.RegenerateAccessKeyParameters; + +/** Samples for Queues RegenerateKeys. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Queues/SBQueueAuthorizationRuleRegenerateKey.json + */ + /** + * Sample code: QueueAuthorizationRuleRegenerateKey. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void queueAuthorizationRuleRegenerateKey(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getQueues() + .regenerateKeysWithResponse( + "ArunMonocle", + "sdk-namespace-7982", + "sdk-Queues-2317", + "sdk-AuthRules-5800", + new RegenerateAccessKeyParameters().withKeyType(KeyType.PRIMARY_KEY), + Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleRegenerateKey.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleRegenerateKey.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueAuthorizationRuleRegenerateKey.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueCreate.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueCreate.java new file mode 100644 index 0000000000..daddfed8bc --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueCreate.java @@ -0,0 +1,27 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.servicebus.fluent.models.SBQueueInner; + +/** Samples for Queues CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Queues/SBQueueCreate.json + */ + /** + * Sample code: QueueCreate. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void queueCreate(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getQueues() + .createOrUpdateWithResponse( + "ArunMonocle", + "sdk-Namespace-3174", + "sdk-Queues-5647", + new SBQueueInner().withEnablePartitioning(true), + Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueDelete.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueDelete.java new file mode 100644 index 0000000000..7be090edbe --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for Queues Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Queues/SBQueueDelete.json + */ + /** + * Sample code: QueueDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void queueDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getQueues() + .deleteWithResponse("ArunMonocle", "sdk-Namespace-183", "sdk-Queues-8708", Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueGet.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueGet.java new file mode 100644 index 0000000000..471f0a63ba --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for Queues Get. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Queues/SBQueueGet.json + */ + /** + * Sample code: QueueGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void queueGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getQueues() + .getWithResponse("ArunMonocle", "sdk-Namespace-3174", "sdk-Queues-5647", Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueListByNameSpace.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueListByNameSpace.java new file mode 100644 index 0000000000..49c0a8e1c8 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueListByNameSpace.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for Queues ListByNamespace. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Queues/SBQueueListByNameSpace.json + */ + /** + * Sample code: QueueListByNameSpace. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void queueListByNameSpace(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getQueues() + .listByNamespace("ArunMonocle", "sdk-Namespace-3174", null, null, Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueListByNameSpace.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueListByNameSpace.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Queues/SBQueueListByNameSpace.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleCreate.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleCreate.java new file mode 100644 index 0000000000..60487834fc --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleCreate.java @@ -0,0 +1,42 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.servicebus.fluent.models.RuleInner; +import java.util.HashMap; +import java.util.Map; + +/** Samples for Rules CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Rules/RuleCreate.json + */ + /** + * Sample code: RulesCreateOrUpdate. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void rulesCreateOrUpdate(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getRules() + .createOrUpdateWithResponse( + "resourceGroupName", + "sdk-Namespace-1319", + "sdk-Topics-2081", + "sdk-Subscriptions-8691", + "sdk-Rules-6571", + new RuleInner(), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleCreate_CorrelationFilter.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleCreate_CorrelationFilter.java new file mode 100644 index 0000000000..61b38e5671 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleCreate_CorrelationFilter.java @@ -0,0 +1,46 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.servicebus.fluent.models.RuleInner; +import com.azure.resourcemanager.servicebus.models.CorrelationFilter; +import com.azure.resourcemanager.servicebus.models.FilterType; +import java.util.HashMap; +import java.util.Map; + +/** Samples for Rules CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Rules/RuleCreate_CorrelationFilter.json + */ + /** + * Sample code: RulesCreateCorrelationFilter. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void rulesCreateCorrelationFilter(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getRules() + .createOrUpdateWithResponse( + "resourceGroupName", + "sdk-Namespace-1319", + "sdk-Topics-2081", + "sdk-Subscriptions-8691", + "sdk-Rules-6571", + new RuleInner() + .withFilterType(FilterType.CORRELATION_FILTER) + .withCorrelationFilter(new CorrelationFilter().withProperties(mapOf("topicHint", "Crop"))), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleCreate_CorrelationFilter.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleCreate_CorrelationFilter.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleCreate_CorrelationFilter.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleCreate_SqlFilter.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleCreate_SqlFilter.java new file mode 100644 index 0000000000..dcfa647ec8 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleCreate_SqlFilter.java @@ -0,0 +1,46 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.servicebus.fluent.models.RuleInner; +import com.azure.resourcemanager.servicebus.models.FilterType; +import com.azure.resourcemanager.servicebus.models.SqlFilter; +import java.util.HashMap; +import java.util.Map; + +/** Samples for Rules CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Rules/RuleCreate_SqlFilter.json + */ + /** + * Sample code: RulesCreateSqlFilter. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void rulesCreateSqlFilter(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getRules() + .createOrUpdateWithResponse( + "resourceGroupName", + "sdk-Namespace-1319", + "sdk-Topics-2081", + "sdk-Subscriptions-8691", + "sdk-Rules-6571", + new RuleInner() + .withFilterType(FilterType.SQL_FILTER) + .withSqlFilter(new SqlFilter().withSqlExpression("myproperty=test")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleCreate_SqlFilter.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleCreate_SqlFilter.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleCreate_SqlFilter.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleDelete.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleDelete.java new file mode 100644 index 0000000000..8b7c2471b2 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleDelete.java @@ -0,0 +1,27 @@ +import com.azure.core.util.Context; + +/** Samples for Rules Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Rules/RuleDelete.json + */ + /** + * Sample code: RulesDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void rulesDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getRules() + .deleteWithResponse( + "ArunMonocle", + "sdk-Namespace-1319", + "sdk-Topics-2081", + "sdk-Subscriptions-8691", + "sdk-Rules-6571", + Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleGet.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleGet.java new file mode 100644 index 0000000000..1d905386bc --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleGet.java @@ -0,0 +1,27 @@ +import com.azure.core.util.Context; + +/** Samples for Rules Get. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Rules/RuleGet.json + */ + /** + * Sample code: RulesGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void rulesGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getRules() + .getWithResponse( + "ArunMonocle", + "sdk-Namespace-1319", + "sdk-Topics-2081", + "sdk-Subscriptions-8691", + "sdk-Rules-6571", + Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleListBySubscription.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleListBySubscription.java new file mode 100644 index 0000000000..a92c0cf2b6 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleListBySubscription.java @@ -0,0 +1,28 @@ +import com.azure.core.util.Context; + +/** Samples for Rules ListBySubscriptions. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Rules/RuleListBySubscription.json + */ + /** + * Sample code: RulesListBySubscriptions. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void rulesListBySubscriptions(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getRules() + .listBySubscriptions( + "ArunMonocle", + "sdk-Namespace-1319", + "sdk-Topics-2081", + "sdk-Subscriptions-8691", + null, + null, + Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleListBySubscription.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleListBySubscription.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Rules/RuleListBySubscription.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/SBOperations_List.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/SBOperations_List.java new file mode 100644 index 0000000000..23da21de91 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/SBOperations_List.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for Operations List. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/SBOperations_List.json + */ + /** + * Sample code: OperationsList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void operationsList(com.azure.resourcemanager.AzureResourceManager azure) { + azure.serviceBusNamespaces().manager().serviceClient().getOperations().list(Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/SBOperations_List.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/SBOperations_List.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/SBOperations_List.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Subscriptions/SBSubscriptionCreate.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Subscriptions/SBSubscriptionCreate.java new file mode 100644 index 0000000000..4041b9b29f --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Subscriptions/SBSubscriptionCreate.java @@ -0,0 +1,28 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.servicebus.fluent.models.SBSubscriptionInner; + +/** Samples for Subscriptions CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Subscriptions/SBSubscriptionCreate.json + */ + /** + * Sample code: SubscriptionCreate. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void subscriptionCreate(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getSubscriptions() + .createOrUpdateWithResponse( + "ResourceGroup", + "sdk-Namespace-1349", + "sdk-Topics-8740", + "sdk-Subscriptions-2178", + new SBSubscriptionInner().withEnableBatchedOperations(true), + Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Subscriptions/SBSubscriptionCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Subscriptions/SBSubscriptionCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Subscriptions/SBSubscriptionCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Subscriptions/SBSubscriptionDelete.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Subscriptions/SBSubscriptionDelete.java new file mode 100644 index 0000000000..8b4bb60c6e --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Subscriptions/SBSubscriptionDelete.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for Subscriptions Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Subscriptions/SBSubscriptionDelete.json + */ + /** + * Sample code: SubscriptionDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void subscriptionDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getSubscriptions() + .deleteWithResponse( + "ResourceGroup", "sdk-Namespace-5882", "sdk-Topics-1804", "sdk-Subscriptions-3670", Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Subscriptions/SBSubscriptionDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Subscriptions/SBSubscriptionDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Subscriptions/SBSubscriptionDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Subscriptions/SBSubscriptionGet.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Subscriptions/SBSubscriptionGet.java new file mode 100644 index 0000000000..e973483ec0 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Subscriptions/SBSubscriptionGet.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for Subscriptions Get. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Subscriptions/SBSubscriptionGet.json + */ + /** + * Sample code: SubscriptionGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void subscriptionGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getSubscriptions() + .getWithResponse( + "ResourceGroup", "sdk-Namespace-1349", "sdk-Topics-8740", "sdk-Subscriptions-2178", Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Subscriptions/SBSubscriptionGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Subscriptions/SBSubscriptionGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Subscriptions/SBSubscriptionGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Subscriptions/SBSubscriptionListByTopic.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Subscriptions/SBSubscriptionListByTopic.java new file mode 100644 index 0000000000..c10891c3c5 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Subscriptions/SBSubscriptionListByTopic.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for Subscriptions ListByTopic. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Subscriptions/SBSubscriptionListByTopic.json + */ + /** + * Sample code: SubscriptionListByTopic. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void subscriptionListByTopic(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getSubscriptions() + .listByTopic("ResourceGroup", "sdk-Namespace-1349", "sdk-Topics-8740", null, null, Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Subscriptions/SBSubscriptionListByTopic.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Subscriptions/SBSubscriptionListByTopic.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Subscriptions/SBSubscriptionListByTopic.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleCreate.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleCreate.java new file mode 100644 index 0000000000..705196a110 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleCreate.java @@ -0,0 +1,30 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.servicebus.fluent.models.SBAuthorizationRuleInner; +import com.azure.resourcemanager.servicebus.models.AccessRights; +import java.util.Arrays; + +/** Samples for Topics CreateOrUpdateAuthorizationRule. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Topics/SBTopicAuthorizationRuleCreate.json + */ + /** + * Sample code: TopicAuthorizationRuleCreate. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void topicAuthorizationRuleCreate(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getTopics() + .createOrUpdateAuthorizationRuleWithResponse( + "ArunMonocle", + "sdk-Namespace-6261", + "sdk-Topics-1984", + "sdk-AuthRules-4310", + new SBAuthorizationRuleInner().withRights(Arrays.asList(AccessRights.LISTEN, AccessRights.SEND)), + Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleDelete.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleDelete.java new file mode 100644 index 0000000000..a4236e887d --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleDelete.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for Topics DeleteAuthorizationRule. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Topics/SBTopicAuthorizationRuleDelete.json + */ + /** + * Sample code: TopicAuthorizationRuleDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void topicAuthorizationRuleDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getTopics() + .deleteAuthorizationRuleWithResponse( + "ArunMonocle", "sdk-Namespace-6261", "sdk-Topics-1984", "sdk-AuthRules-4310", Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleGet.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleGet.java new file mode 100644 index 0000000000..e605f8fa18 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleGet.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for Topics GetAuthorizationRule. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Topics/SBTopicAuthorizationRuleGet.json + */ + /** + * Sample code: TopicAuthorizationRuleGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void topicAuthorizationRuleGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getTopics() + .getAuthorizationRuleWithResponse( + "ArunMonocle", "sdk-Namespace-6261", "sdk-Topics-1984", "sdk-AuthRules-4310", Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleListAll.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleListAll.java new file mode 100644 index 0000000000..b5f5b1de20 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleListAll.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for Topics ListAuthorizationRules. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Topics/SBTopicAuthorizationRuleListAll.json + */ + /** + * Sample code: TopicAuthorizationRuleListAll. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void topicAuthorizationRuleListAll(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getTopics() + .listAuthorizationRules("ArunMonocle", "sdk-Namespace-6261", "sdk-Topics-1984", Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleListAll.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleListAll.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleListAll.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleListKey.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleListKey.java new file mode 100644 index 0000000000..b531ff4277 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleListKey.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for Topics ListKeys. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Topics/SBTopicAuthorizationRuleListKey.json + */ + /** + * Sample code: TopicAuthorizationRuleListKey. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void topicAuthorizationRuleListKey(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getTopics() + .listKeysWithResponse( + "Default-ServiceBus-WestUS", "sdk-Namespace8408", "sdk-Topics2075", "sdk-Authrules5067", Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleListKey.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleListKey.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleListKey.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleRegenerateKey.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleRegenerateKey.java new file mode 100644 index 0000000000..abb940f1a8 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleRegenerateKey.java @@ -0,0 +1,29 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.servicebus.models.KeyType; +import com.azure.resourcemanager.servicebus.models.RegenerateAccessKeyParameters; + +/** Samples for Topics RegenerateKeys. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Topics/SBTopicAuthorizationRuleRegenerateKey.json + */ + /** + * Sample code: TopicAuthorizationRuleRegenerateKey. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void topicAuthorizationRuleRegenerateKey(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getTopics() + .regenerateKeysWithResponse( + "Default-ServiceBus-WestUS", + "sdk-Namespace8408", + "sdk-Topics2075", + "sdk-Authrules5067", + new RegenerateAccessKeyParameters().withKeyType(KeyType.PRIMARY_KEY), + Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleRegenerateKey.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleRegenerateKey.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicAuthorizationRuleRegenerateKey.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicCreate.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicCreate.java new file mode 100644 index 0000000000..a9695cb7b7 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicCreate.java @@ -0,0 +1,27 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.servicebus.fluent.models.SBTopicInner; + +/** Samples for Topics CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Topics/SBTopicCreate.json + */ + /** + * Sample code: TopicCreate. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void topicCreate(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getTopics() + .createOrUpdateWithResponse( + "ArunMonocle", + "sdk-Namespace-1617", + "sdk-Topics-5488", + new SBTopicInner().withEnableExpress(true), + Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicDelete.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicDelete.java new file mode 100644 index 0000000000..ab711b5e03 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for Topics Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Topics/SBTopicDelete.json + */ + /** + * Sample code: TopicDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void topicDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getTopics() + .deleteWithResponse("ArunMonocle", "sdk-Namespace-1617", "sdk-Topics-5488", Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicGet.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicGet.java new file mode 100644 index 0000000000..56cb513c48 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for Topics Get. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Topics/SBTopicGet.json + */ + /** + * Sample code: TopicGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void topicGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getTopics() + .getWithResponse("ArunMonocle", "sdk-Namespace-1617", "sdk-Topics-5488", Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicListByNameSpace.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicListByNameSpace.java new file mode 100644 index 0000000000..fe7a406a9b --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicListByNameSpace.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for Topics ListByNamespace. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/Topics/SBTopicListByNameSpace.json + */ + /** + * Sample code: TopicGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void topicGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getTopics() + .listByNamespace("Default-ServiceBus-WestUS", "sdk-Namespace-1617", null, null, Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicListByNameSpace.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicListByNameSpace.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/Topics/SBTopicListByNameSpace.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasAuthorizationRuleGet.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasAuthorizationRuleGet.java new file mode 100644 index 0000000000..e46674d803 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasAuthorizationRuleGet.java @@ -0,0 +1,27 @@ +import com.azure.core.util.Context; + +/** Samples for DisasterRecoveryConfigs GetAuthorizationRule. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/disasterRecoveryConfigs/SBAliasAuthorizationRuleGet.json + */ + /** + * Sample code: DisasterRecoveryConfigsAuthorizationRuleGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void disasterRecoveryConfigsAuthorizationRuleGet( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getDisasterRecoveryConfigs() + .getAuthorizationRuleWithResponse( + "exampleResourceGroup", + "sdk-Namespace-9080", + "sdk-DisasterRecovery-4879", + "sdk-Authrules-4879", + Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasAuthorizationRuleGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasAuthorizationRuleGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasAuthorizationRuleGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasAuthorizationRuleListAll.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasAuthorizationRuleListAll.java new file mode 100644 index 0000000000..f895db7b11 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasAuthorizationRuleListAll.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for DisasterRecoveryConfigs ListAuthorizationRules. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/disasterRecoveryConfigs/SBAliasAuthorizationRuleListAll.json + */ + /** + * Sample code: NameSpaceAuthorizationRuleListAll. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void nameSpaceAuthorizationRuleListAll(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getDisasterRecoveryConfigs() + .listAuthorizationRules( + "exampleResourceGroup", "sdk-Namespace-9080", "sdk-DisasterRecovery-4047", Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasAuthorizationRuleListAll.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasAuthorizationRuleListAll.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasAuthorizationRuleListAll.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasAuthorizationRuleListKey.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasAuthorizationRuleListKey.java new file mode 100644 index 0000000000..1f0e61a6fc --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasAuthorizationRuleListKey.java @@ -0,0 +1,27 @@ +import com.azure.core.util.Context; + +/** Samples for DisasterRecoveryConfigs ListKeys. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/disasterRecoveryConfigs/SBAliasAuthorizationRuleListKey.json + */ + /** + * Sample code: DisasterRecoveryConfigsAuthorizationRuleListKey. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void disasterRecoveryConfigsAuthorizationRuleListKey( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getDisasterRecoveryConfigs() + .listKeysWithResponse( + "exampleResourceGroup", + "sdk-Namespace-2702", + "sdk-DisasterRecovery-4047", + "sdk-Authrules-1746", + Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasAuthorizationRuleListKey.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasAuthorizationRuleListKey.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasAuthorizationRuleListKey.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasCheckNameAvailability.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasCheckNameAvailability.java new file mode 100644 index 0000000000..5c70ff2aba --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasCheckNameAvailability.java @@ -0,0 +1,26 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.servicebus.models.CheckNameAvailability; + +/** Samples for DisasterRecoveryConfigs CheckNameAvailability. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/disasterRecoveryConfigs/SBAliasCheckNameAvailability.json + */ + /** + * Sample code: AliasNameAvailability. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void aliasNameAvailability(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getDisasterRecoveryConfigs() + .checkNameAvailabilityWithResponse( + "exampleResourceGroup", + "sdk-Namespace-9080", + new CheckNameAvailability().withName("sdk-DisasterRecovery-9474"), + Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasCheckNameAvailability.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasCheckNameAvailability.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasCheckNameAvailability.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasCreate.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasCreate.java new file mode 100644 index 0000000000..6e6ff6455f --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasCreate.java @@ -0,0 +1,29 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.servicebus.fluent.models.ArmDisasterRecoveryInner; + +/** Samples for DisasterRecoveryConfigs CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/disasterRecoveryConfigs/SBAliasCreate.json + */ + /** + * Sample code: SBAliasCreate. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void sBAliasCreate(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getDisasterRecoveryConfigs() + .createOrUpdateWithResponse( + "ardsouzatestRG", + "sdk-Namespace-8860", + "sdk-Namespace-8860", + new ArmDisasterRecoveryInner() + .withPartnerNamespace("sdk-Namespace-37") + .withAlternateName("alternameforAlias-Namespace-8860"), + Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasDelete.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasDelete.java new file mode 100644 index 0000000000..dd9fa0acb0 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for DisasterRecoveryConfigs Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/disasterRecoveryConfigs/SBAliasDelete.json + */ + /** + * Sample code: SBAliasDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void sBAliasDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getDisasterRecoveryConfigs() + .deleteWithResponse("SouthCentralUS", "sdk-Namespace-8860", "sdk-DisasterRecovery-3814", Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasFailOver.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasFailOver.java new file mode 100644 index 0000000000..3e218ec6d0 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasFailOver.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for DisasterRecoveryConfigs FailOver. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/disasterRecoveryConfigs/SBAliasFailOver.json + */ + /** + * Sample code: SBAliasFailOver. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void sBAliasFailOver(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getDisasterRecoveryConfigs() + .failOverWithResponse( + "ardsouzatestRG", "sdk-Namespace-8860", "sdk-DisasterRecovery-3814", null, Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasFailOver.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasFailOver.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasFailOver.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasGet.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasGet.java new file mode 100644 index 0000000000..e8d897019f --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for DisasterRecoveryConfigs Get. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/disasterRecoveryConfigs/SBAliasGet.json + */ + /** + * Sample code: SBAliasGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void sBAliasGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getDisasterRecoveryConfigs() + .getWithResponse("ardsouzatestRG", "sdk-Namespace-8860", "sdk-DisasterRecovery-3814", Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasList.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasList.java new file mode 100644 index 0000000000..36238d7913 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for DisasterRecoveryConfigs List. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/disasterRecoveryConfigs/SBAliasList.json + */ + /** + * Sample code: SBAliasList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void sBAliasList(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getDisasterRecoveryConfigs() + .list("ardsouzatestRG", "sdk-Namespace-8860", Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasList.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBAliasList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBEHAliasBreakPairing.java b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBEHAliasBreakPairing.java new file mode 100644 index 0000000000..b0cac1df4a --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBEHAliasBreakPairing.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for DisasterRecoveryConfigs BreakPairing. */ +public final class Main { + /* + * x-ms-original-file: specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/disasterRecoveryConfigs/SBEHAliasBreakPairing.json + */ + /** + * Sample code: SBEHAliasBreakPairing. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void sBEHAliasBreakPairing(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .serviceBusNamespaces() + .manager() + .serviceClient() + .getDisasterRecoveryConfigs() + .breakPairingWithResponse( + "ardsouzatestRG", "sdk-Namespace-8860", "sdk-DisasterRecovery-3814", Context.NONE); + } +} diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBEHAliasBreakPairing.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBEHAliasBreakPairing.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples-java/disasterRecoveryConfigs/SBEHAliasBreakPairing.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/DatabaseAutomaticTuningGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/DatabaseAutomaticTuningGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/DatabaseAutomaticTuningGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/DatabaseAutomaticTuningGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/DatabaseAutomaticTuningUpdateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/DatabaseAutomaticTuningUpdateMax.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/DatabaseAutomaticTuningUpdateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/DatabaseAutomaticTuningUpdateMax.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/DatabaseAutomaticTuningUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/DatabaseAutomaticTuningUpdateMin.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/DatabaseAutomaticTuningUpdateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/DatabaseAutomaticTuningUpdateMin.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/EncryptionProtectorCreateOrUpdateKeyVault.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/EncryptionProtectorCreateOrUpdateKeyVault.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/EncryptionProtectorCreateOrUpdateKeyVault.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/EncryptionProtectorCreateOrUpdateKeyVault.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/EncryptionProtectorCreateOrUpdateServiceManaged.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/EncryptionProtectorCreateOrUpdateServiceManaged.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/EncryptionProtectorCreateOrUpdateServiceManaged.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/EncryptionProtectorCreateOrUpdateServiceManaged.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/EncryptionProtectorGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/EncryptionProtectorGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/EncryptionProtectorGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/EncryptionProtectorGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/EncryptionProtectorList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/EncryptionProtectorList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/EncryptionProtectorList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/EncryptionProtectorList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/EncryptionProtectorRevalidate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/EncryptionProtectorRevalidate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/EncryptionProtectorRevalidate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/EncryptionProtectorRevalidate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/FailoverGroupCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/FailoverGroupCreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/FailoverGroupCreateOrUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/FailoverGroupCreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/FailoverGroupDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/FailoverGroupDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/FailoverGroupDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/FailoverGroupDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/FailoverGroupFailover.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/FailoverGroupFailover.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/FailoverGroupFailover.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/FailoverGroupFailover.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/FailoverGroupForceFailoverAllowDataLoss.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/FailoverGroupForceFailoverAllowDataLoss.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/FailoverGroupForceFailoverAllowDataLoss.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/FailoverGroupForceFailoverAllowDataLoss.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/FailoverGroupGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/FailoverGroupGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/FailoverGroupGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/FailoverGroupGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/FailoverGroupList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/FailoverGroupList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/FailoverGroupList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/FailoverGroupList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/FailoverGroupUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/FailoverGroupUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/FailoverGroupUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/FailoverGroupUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/ServerKeyCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/ServerKeyCreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/ServerKeyCreateOrUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/ServerKeyCreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/ServerKeyDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/ServerKeyDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/ServerKeyDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/ServerKeyDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/ServerKeyGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/ServerKeyGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/ServerKeyGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/ServerKeyGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/ServerKeyList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/ServerKeyList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/ServerKeyList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/ServerKeyList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SubscriptionUsageGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SubscriptionUsageGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SubscriptionUsageGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SubscriptionUsageGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SubscriptionUsageListByLocation.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SubscriptionUsageListByLocation.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SubscriptionUsageListByLocation.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SubscriptionUsageListByLocation.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncAgentCreate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncAgentCreate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncAgentCreate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncAgentCreate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncAgentDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncAgentDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncAgentDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncAgentDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncAgentGenerateKey.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncAgentGenerateKey.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncAgentGenerateKey.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncAgentGenerateKey.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncAgentGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncAgentGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncAgentGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncAgentGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncAgentGetLinkedDatabases.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncAgentGetLinkedDatabases.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncAgentGetLinkedDatabases.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncAgentGetLinkedDatabases.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncAgentListByServer.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncAgentListByServer.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncAgentListByServer.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncAgentListByServer.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncAgentUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncAgentUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncAgentUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncAgentUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupCancelSync.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupCancelSync.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupCancelSync.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupCancelSync.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupCreate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupCreate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupCreate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupCreate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupGetHubSchema.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupGetHubSchema.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupGetHubSchema.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupGetHubSchema.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupGetLog.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupGetLog.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupGetLog.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupGetLog.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupGetSyncDatabaseId.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupGetSyncDatabaseId.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupGetSyncDatabaseId.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupGetSyncDatabaseId.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupListByDatabase.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupListByDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupListByDatabase.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupPatch.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupPatch.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupPatch.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupPatch.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupRefreshHubSchema.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupRefreshHubSchema.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupRefreshHubSchema.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupRefreshHubSchema.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupTriggerSync.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupTriggerSync.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupTriggerSync.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupTriggerSync.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncGroupUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncMemberCreate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncMemberCreate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncMemberCreate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncMemberCreate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncMemberDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncMemberDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncMemberDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncMemberDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncMemberGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncMemberGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncMemberGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncMemberGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncMemberGetSchema.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncMemberGetSchema.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncMemberGetSchema.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncMemberGetSchema.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncMemberListBySyncGroup.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncMemberListBySyncGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncMemberListBySyncGroup.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncMemberListBySyncGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncMemberPatch.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncMemberPatch.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncMemberPatch.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncMemberPatch.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncMemberRefreshSchema.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncMemberRefreshSchema.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncMemberRefreshSchema.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncMemberRefreshSchema.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncMemberUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncMemberUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncMemberUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/SyncMemberUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualClusterDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualClusterDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualClusterDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualClusterDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualClusterGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualClusterGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualClusterGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualClusterGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualClusterList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualClusterList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualClusterList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualClusterList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualClusterListByResourceGroup.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualClusterListByResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualClusterListByResourceGroup.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualClusterListByResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualClusterUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualClusterUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualClusterUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualClusterUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualNetworkRulesCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualNetworkRulesCreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualNetworkRulesCreateOrUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualNetworkRulesCreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualNetworkRulesDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualNetworkRulesDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualNetworkRulesDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualNetworkRulesDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualNetworkRulesGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualNetworkRulesGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualNetworkRulesGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualNetworkRulesGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualNetworkRulesList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualNetworkRulesList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualNetworkRulesList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples-java/VirtualNetworkRulesList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CancelJobExecution.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CancelJobExecution.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CancelJobExecution.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CancelJobExecution.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ColumnSensitivityLabelCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ColumnSensitivityLabelCreateMax.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ColumnSensitivityLabelCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ColumnSensitivityLabelCreateMax.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ColumnSensitivityLabelDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ColumnSensitivityLabelDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ColumnSensitivityLabelDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ColumnSensitivityLabelDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ColumnSensitivityLabelGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ColumnSensitivityLabelGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ColumnSensitivityLabelGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ColumnSensitivityLabelGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateJobExecution.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateJobExecution.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateJobExecution.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateJobExecution.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobAgentMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobAgentMax.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobAgentMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobAgentMax.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobAgentMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobAgentMin.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobAgentMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobAgentMin.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobCredential.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobCredential.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobCredential.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobCredential.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobExecution.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobExecution.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobExecution.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobExecution.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobMax.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobMax.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobMin.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobMin.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobStepMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobStepMax.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobStepMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobStepMax.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobStepMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobStepMin.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobStepMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobStepMin.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobTargetGroupMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobTargetGroupMax.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobTargetGroupMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobTargetGroupMax.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobTargetGroupMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobTargetGroupMin.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobTargetGroupMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/CreateOrUpdateJobTargetGroupMin.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DataWarehouseRestorePointsGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DataWarehouseRestorePointsGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DataWarehouseRestorePointsGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DataWarehouseRestorePointsGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DataWarehouseRestorePointsListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DataWarehouseRestorePointsListByDatabase.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DataWarehouseRestorePointsListByDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DataWarehouseRestorePointsListByDatabase.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseAuditingSettingsList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseAuditingSettingsList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseAuditingSettingsList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseAuditingSettingsList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseAzureMonitorAuditingCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseAzureMonitorAuditingCreateMin.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseAzureMonitorAuditingCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseAzureMonitorAuditingCreateMin.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseBlobAuditingCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseBlobAuditingCreateMax.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseBlobAuditingCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseBlobAuditingCreateMax.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseBlobAuditingCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseBlobAuditingCreateMin.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseBlobAuditingCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseBlobAuditingCreateMin.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseBlobAuditingGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseBlobAuditingGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseBlobAuditingGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseBlobAuditingGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseExtendedAuditingSettingsList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseExtendedAuditingSettingsList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseExtendedAuditingSettingsList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseExtendedAuditingSettingsList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseRestorePointsDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseRestorePointsDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseRestorePointsDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseRestorePointsDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseRestorePointsGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseRestorePointsGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseRestorePointsGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseRestorePointsGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseRestorePointsListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseRestorePointsListByDatabase.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseRestorePointsListByDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseRestorePointsListByDatabase.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseRestorePointsPost.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseRestorePointsPost.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseRestorePointsPost.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseRestorePointsPost.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseVulnerabilityAssessmentDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseVulnerabilityAssessmentDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseVulnerabilityAssessmentDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseVulnerabilityAssessmentDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseVulnerabilityAssessmentGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseVulnerabilityAssessmentGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseVulnerabilityAssessmentGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseVulnerabilityAssessmentGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseVulnerabilityAssessmentListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseVulnerabilityAssessmentListByDatabase.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseVulnerabilityAssessmentListByDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseVulnerabilityAssessmentListByDatabase.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseVulnerabilityAssessmentRuleBaselineCreate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseVulnerabilityAssessmentRuleBaselineCreate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseVulnerabilityAssessmentRuleBaselineCreate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseVulnerabilityAssessmentRuleBaselineCreate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseVulnerabilityAssessmentRuleBaselineDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseVulnerabilityAssessmentRuleBaselineDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseVulnerabilityAssessmentRuleBaselineDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseVulnerabilityAssessmentRuleBaselineDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseVulnerabilityAssessmentRuleBaselineGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseVulnerabilityAssessmentRuleBaselineGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseVulnerabilityAssessmentRuleBaselineGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DatabaseVulnerabilityAssessmentRuleBaselineGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DeleteJob.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DeleteJob.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DeleteJob.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DeleteJob.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DeleteJobAgent.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DeleteJobAgent.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DeleteJobAgent.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DeleteJobAgent.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DeleteJobCredential.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DeleteJobCredential.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DeleteJobCredential.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DeleteJobCredential.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DeleteJobStep.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DeleteJobStep.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DeleteJobStep.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DeleteJobStep.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DeleteJobTargetGroup.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DeleteJobTargetGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DeleteJobTargetGroup.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/DeleteJobTargetGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ExtendedDatabaseAzureMonitorAuditingCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ExtendedDatabaseAzureMonitorAuditingCreateMin.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ExtendedDatabaseAzureMonitorAuditingCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ExtendedDatabaseAzureMonitorAuditingCreateMin.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ExtendedDatabaseBlobAuditingCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ExtendedDatabaseBlobAuditingCreateMax.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ExtendedDatabaseBlobAuditingCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ExtendedDatabaseBlobAuditingCreateMax.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ExtendedDatabaseBlobAuditingCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ExtendedDatabaseBlobAuditingCreateMin.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ExtendedDatabaseBlobAuditingCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ExtendedDatabaseBlobAuditingCreateMin.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ExtendedDatabaseBlobAuditingGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ExtendedDatabaseBlobAuditingGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ExtendedDatabaseBlobAuditingGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ExtendedDatabaseBlobAuditingGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ExtendedServerBlobAuditingCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ExtendedServerBlobAuditingCreateMax.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ExtendedServerBlobAuditingCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ExtendedServerBlobAuditingCreateMax.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ExtendedServerBlobAuditingCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ExtendedServerBlobAuditingCreateMin.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ExtendedServerBlobAuditingCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ExtendedServerBlobAuditingCreateMin.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ExtendedServerBlobAuditingGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ExtendedServerBlobAuditingGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ExtendedServerBlobAuditingGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ExtendedServerBlobAuditingGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJob.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJob.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJob.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJob.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobAgent.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobAgent.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobAgent.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobAgent.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobCredential.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobCredential.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobCredential.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobCredential.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobExecution.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobExecution.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobExecution.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobExecution.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobExecutionStep.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobExecutionStep.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobExecutionStep.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobExecutionStep.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobExecutionTarget.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobExecutionTarget.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobExecutionTarget.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobExecutionTarget.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobStepByJob.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobStepByJob.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobStepByJob.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobStepByJob.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobStepByVersion.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobStepByVersion.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobStepByVersion.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobStepByVersion.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobTargetGroup.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobTargetGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobTargetGroup.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobTargetGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobVersion.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobVersion.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobVersion.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetJobVersion.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetListManagedShortTermRetentionPolicy.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetListManagedShortTermRetentionPolicy.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetListManagedShortTermRetentionPolicy.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetListManagedShortTermRetentionPolicy.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetListManagedShortTermRetentionPolicyRestorableDropped.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetListManagedShortTermRetentionPolicyRestorableDropped.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetListManagedShortTermRetentionPolicyRestorableDropped.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetListManagedShortTermRetentionPolicyRestorableDropped.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetManagedShortTermRetentionPolicy.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetManagedShortTermRetentionPolicy.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetManagedShortTermRetentionPolicy.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetManagedShortTermRetentionPolicy.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetManagedShortTermRetentionPolicyRestorableDropped.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetManagedShortTermRetentionPolicyRestorableDropped.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetManagedShortTermRetentionPolicyRestorableDropped.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetManagedShortTermRetentionPolicyRestorableDropped.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetRestorableDroppedManagedDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetRestorableDroppedManagedDatabase.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetRestorableDroppedManagedDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/GetRestorableDroppedManagedDatabase.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobAgentsByServer.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobAgentsByServer.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobAgentsByServer.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobAgentsByServer.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobCredentialsByAgent.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobCredentialsByAgent.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobCredentialsByAgent.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobCredentialsByAgent.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobExecutionSteps.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobExecutionSteps.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobExecutionSteps.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobExecutionSteps.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobExecutionTargetsByExecution.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobExecutionTargetsByExecution.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobExecutionTargetsByExecution.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobExecutionTargetsByExecution.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobExecutionTargetsByStep.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobExecutionTargetsByStep.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobExecutionTargetsByStep.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobExecutionTargetsByStep.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobExecutionsByAgent.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobExecutionsByAgent.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobExecutionsByAgent.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobExecutionsByAgent.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobExecutionsByAgentWithFilter.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobExecutionsByAgentWithFilter.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobExecutionsByAgentWithFilter.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobExecutionsByAgentWithFilter.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobExecutionsByJob.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobExecutionsByJob.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobExecutionsByJob.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobExecutionsByJob.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobStepsByJob.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobStepsByJob.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobStepsByJob.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobStepsByJob.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobStepsByVersion.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobStepsByVersion.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobStepsByVersion.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobStepsByVersion.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobTargetGroups.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobTargetGroups.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobTargetGroups.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobTargetGroups.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobVersions.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobVersions.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobVersions.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobVersions.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobsByAgent.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobsByAgent.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobsByAgent.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ListJobsByAgent.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/LongTermRetentionBackupDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/LongTermRetentionBackupDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/LongTermRetentionBackupDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/LongTermRetentionBackupDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/LongTermRetentionBackupGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/LongTermRetentionBackupGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/LongTermRetentionBackupGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/LongTermRetentionBackupGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/LongTermRetentionBackupListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/LongTermRetentionBackupListByDatabase.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/LongTermRetentionBackupListByDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/LongTermRetentionBackupListByDatabase.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/LongTermRetentionBackupListByLocation.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/LongTermRetentionBackupListByLocation.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/LongTermRetentionBackupListByLocation.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/LongTermRetentionBackupListByLocation.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/LongTermRetentionBackupListByServer.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/LongTermRetentionBackupListByServer.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/LongTermRetentionBackupListByServer.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/LongTermRetentionBackupListByServer.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/LongTermRetentionPolicyCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/LongTermRetentionPolicyCreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/LongTermRetentionPolicyCreateOrUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/LongTermRetentionPolicyCreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/LongTermRetentionPolicyGet.java b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/LongTermRetentionPolicyGet.java index 58d76196dd..f31b5dc361 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/LongTermRetentionPolicyGet.java +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/LongTermRetentionPolicyGet.java @@ -1,6 +1,7 @@ import com.azure.core.util.Context; +import com.azure.resourcemanager.sql.models.LongTermRetentionPolicyName; -/** Samples for BackupLongTermRetentionPolicies ListByDatabase. */ +/** Samples for BackupLongTermRetentionPolicies Get. */ public final class Main { /* * x-ms-original-file: specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/LongTermRetentionPolicyGet.json @@ -17,6 +18,7 @@ public final class Main { .manager() .serviceClient() .getBackupLongTermRetentionPolicies() - .listByDatabaseWithResponse("resourceGroup", "testserver", "testDatabase", Context.NONE); + .getWithResponse( + "resourceGroup", "testserver", "testDatabase", LongTermRetentionPolicyName.DEFAULT, Context.NONE); } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/LongTermRetentionPolicyGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/LongTermRetentionPolicyGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/LongTermRetentionPolicyGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/LongTermRetentionPolicyGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedDatabaseSecurityAlertCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedDatabaseSecurityAlertCreateMax.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedDatabaseSecurityAlertCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedDatabaseSecurityAlertCreateMax.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedDatabaseSecurityAlertCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedDatabaseSecurityAlertCreateMin.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedDatabaseSecurityAlertCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedDatabaseSecurityAlertCreateMin.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedDatabaseSecurityAlertGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedDatabaseSecurityAlertGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedDatabaseSecurityAlertGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedDatabaseSecurityAlertGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedDatabaseSecurityAlertListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedDatabaseSecurityAlertListByDatabase.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedDatabaseSecurityAlertListByDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedDatabaseSecurityAlertListByDatabase.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedInstanceAdministratorCreate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedInstanceAdministratorCreate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedInstanceAdministratorCreate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedInstanceAdministratorCreate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedInstanceAdministratorDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedInstanceAdministratorDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedInstanceAdministratorDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedInstanceAdministratorDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedInstanceAdministratorGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedInstanceAdministratorGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedInstanceAdministratorGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedInstanceAdministratorGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedInstanceAdministratorListByInstance.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedInstanceAdministratorListByInstance.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedInstanceAdministratorListByInstance.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedInstanceAdministratorListByInstance.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedInstanceAdministratorUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedInstanceAdministratorUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedInstanceAdministratorUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedInstanceAdministratorUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedServerSecurityAlertCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedServerSecurityAlertCreateMax.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedServerSecurityAlertCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedServerSecurityAlertCreateMax.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedServerSecurityAlertCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedServerSecurityAlertCreateMin.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedServerSecurityAlertCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedServerSecurityAlertCreateMin.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedServerSecurityAlertGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedServerSecurityAlertGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedServerSecurityAlertGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedServerSecurityAlertGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedServerSecurityAlertListByInstance.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedServerSecurityAlertListByInstance.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedServerSecurityAlertListByInstance.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ManagedServerSecurityAlertListByInstance.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/RecommendedColumnSensitivityLabelDisable.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/RecommendedColumnSensitivityLabelDisable.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/RecommendedColumnSensitivityLabelDisable.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/RecommendedColumnSensitivityLabelDisable.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/RecommendedColumnSensitivityLabelEnable.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/RecommendedColumnSensitivityLabelEnable.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/RecommendedColumnSensitivityLabelEnable.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/RecommendedColumnSensitivityLabelEnable.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ResourceGroupBasedLongTermRetentionBackupDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ResourceGroupBasedLongTermRetentionBackupDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ResourceGroupBasedLongTermRetentionBackupDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ResourceGroupBasedLongTermRetentionBackupDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ResourceGroupBasedLongTermRetentionBackupGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ResourceGroupBasedLongTermRetentionBackupGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ResourceGroupBasedLongTermRetentionBackupGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ResourceGroupBasedLongTermRetentionBackupGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ResourceGroupBasedLongTermRetentionBackupListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ResourceGroupBasedLongTermRetentionBackupListByDatabase.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ResourceGroupBasedLongTermRetentionBackupListByDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ResourceGroupBasedLongTermRetentionBackupListByDatabase.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ResourceGroupBasedLongTermRetentionBackupListByLocation.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ResourceGroupBasedLongTermRetentionBackupListByLocation.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ResourceGroupBasedLongTermRetentionBackupListByLocation.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ResourceGroupBasedLongTermRetentionBackupListByLocation.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ResourceGroupBasedLongTermRetentionBackupListByServer.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ResourceGroupBasedLongTermRetentionBackupListByServer.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ResourceGroupBasedLongTermRetentionBackupListByServer.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ResourceGroupBasedLongTermRetentionBackupListByServer.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/RestorableDroppedManagedDatabaseListByManagedInstance.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/RestorableDroppedManagedDatabaseListByManagedInstance.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/RestorableDroppedManagedDatabaseListByManagedInstance.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/RestorableDroppedManagedDatabaseListByManagedInstance.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/SensitivityLabelsListByDatabaseWithSourceCurrent.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/SensitivityLabelsListByDatabaseWithSourceCurrent.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/SensitivityLabelsListByDatabaseWithSourceCurrent.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/SensitivityLabelsListByDatabaseWithSourceCurrent.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/SensitivityLabelsListByDatabaseWithSourceRecommended.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/SensitivityLabelsListByDatabaseWithSourceRecommended.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/SensitivityLabelsListByDatabaseWithSourceRecommended.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/SensitivityLabelsListByDatabaseWithSourceRecommended.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerAuditingSettingsList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerAuditingSettingsList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerAuditingSettingsList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerAuditingSettingsList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerAutomaticTuningGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerAutomaticTuningGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerAutomaticTuningGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerAutomaticTuningGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerAutomaticTuningUpdateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerAutomaticTuningUpdateMax.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerAutomaticTuningUpdateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerAutomaticTuningUpdateMax.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerAutomaticTuningUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerAutomaticTuningUpdateMin.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerAutomaticTuningUpdateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerAutomaticTuningUpdateMin.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerBlobAuditingCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerBlobAuditingCreateMax.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerBlobAuditingCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerBlobAuditingCreateMax.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerBlobAuditingCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerBlobAuditingCreateMin.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerBlobAuditingCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerBlobAuditingCreateMin.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerBlobAuditingGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerBlobAuditingGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerBlobAuditingGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerBlobAuditingGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerDnsAliasAcquire.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerDnsAliasAcquire.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerDnsAliasAcquire.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerDnsAliasAcquire.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerDnsAliasCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerDnsAliasCreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerDnsAliasCreateOrUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerDnsAliasCreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerDnsAliasDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerDnsAliasDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerDnsAliasDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerDnsAliasDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerDnsAliasGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerDnsAliasGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerDnsAliasGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerDnsAliasGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerDnsAliasList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerDnsAliasList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerDnsAliasList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerDnsAliasList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerExtendedAuditingSettingsList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerExtendedAuditingSettingsList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerExtendedAuditingSettingsList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerExtendedAuditingSettingsList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerSecurityAlertsCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerSecurityAlertsCreateMax.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerSecurityAlertsCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerSecurityAlertsCreateMax.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerSecurityAlertsCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerSecurityAlertsCreateMin.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerSecurityAlertsCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerSecurityAlertsCreateMin.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerSecurityAlertsGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerSecurityAlertsGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerSecurityAlertsGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerSecurityAlertsGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerSecurityAlertsListByServer.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerSecurityAlertsListByServer.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerSecurityAlertsListByServer.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/ServerSecurityAlertsListByServer.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/UpdateJobAgent.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/UpdateJobAgent.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/UpdateJobAgent.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/UpdateJobAgent.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/UpdateManagedShortTermRetentionPolicy.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/UpdateManagedShortTermRetentionPolicy.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/UpdateManagedShortTermRetentionPolicy.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/UpdateManagedShortTermRetentionPolicy.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/UpdateManagedShortTermRetentionPolicyRestorableDropped.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/UpdateManagedShortTermRetentionPolicyRestorableDropped.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/UpdateManagedShortTermRetentionPolicyRestorableDropped.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples-java/UpdateManagedShortTermRetentionPolicyRestorableDropped.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CancelDatabaseOperation.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CancelDatabaseOperation.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CancelDatabaseOperation.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CancelDatabaseOperation.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CancelElasticPoolOperation.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CancelElasticPoolOperation.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CancelElasticPoolOperation.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CancelElasticPoolOperation.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDatabaseCopyMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDatabaseCopyMode.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDatabaseCopyMode.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDatabaseCopyMode.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDatabaseDefaultMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDatabaseDefaultMode.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDatabaseDefaultMode.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDatabaseDefaultMode.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDatabaseMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDatabaseMin.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDatabaseMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDatabaseMin.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDatabasePITRMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDatabasePITRMode.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDatabasePITRMode.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDatabasePITRMode.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDatabaseRecoveryMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDatabaseRecoveryMode.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDatabaseRecoveryMode.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDatabaseRecoveryMode.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDatabaseRestoreMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDatabaseRestoreMode.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDatabaseRestoreMode.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDatabaseRestoreMode.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDatabaseRestoreMode2.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDatabaseRestoreMode2.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDatabaseRestoreMode2.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDatabaseRestoreMode2.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDatabaseSecondaryMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDatabaseSecondaryMode.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDatabaseSecondaryMode.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDatabaseSecondaryMode.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDwDatabaseByServiceObjective.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDwDatabaseByServiceObjective.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDwDatabaseByServiceObjective.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateDwDatabaseByServiceObjective.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateHyperscaleDatabaseWithReadReplicas.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateHyperscaleDatabaseWithReadReplicas.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateHyperscaleDatabaseWithReadReplicas.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateHyperscaleDatabaseWithReadReplicas.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateVCoreDatabaseByServiceObjective.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateVCoreDatabaseByServiceObjective.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateVCoreDatabaseByServiceObjective.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateVCoreDatabaseByServiceObjective.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateVCoreDatabaseBySkuNameCapacity.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateVCoreDatabaseBySkuNameCapacity.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateVCoreDatabaseBySkuNameCapacity.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateVCoreDatabaseBySkuNameCapacity.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateVCoreDatabaseBySkuTierFamilyCapacity.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateVCoreDatabaseBySkuTierFamilyCapacity.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateVCoreDatabaseBySkuTierFamilyCapacity.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/CreateVCoreDatabaseBySkuTierFamilyCapacity.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/DatabaseVulnerabilityAssessmentScanExport.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/DatabaseVulnerabilityAssessmentScanExport.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/DatabaseVulnerabilityAssessmentScanExport.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/DatabaseVulnerabilityAssessmentScanExport.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/DatabaseVulnerabilityAssessmentScanRecordsGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/DatabaseVulnerabilityAssessmentScanRecordsGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/DatabaseVulnerabilityAssessmentScanRecordsGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/DatabaseVulnerabilityAssessmentScanRecordsGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/DatabaseVulnerabilityAssessmentScanRecordsListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/DatabaseVulnerabilityAssessmentScanRecordsListByDatabase.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/DatabaseVulnerabilityAssessmentScanRecordsListByDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/DatabaseVulnerabilityAssessmentScanRecordsListByDatabase.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/DatabaseVulnerabilityAssessmentScansExecute.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/DatabaseVulnerabilityAssessmentScansExecute.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/DatabaseVulnerabilityAssessmentScansExecute.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/DatabaseVulnerabilityAssessmentScansExecute.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/DeleteDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/DeleteDatabase.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/DeleteDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/DeleteDatabase.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ElasticPoolCreateOrUpdateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ElasticPoolCreateOrUpdateMax.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ElasticPoolCreateOrUpdateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ElasticPoolCreateOrUpdateMax.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ElasticPoolCreateOrUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ElasticPoolCreateOrUpdateMin.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ElasticPoolCreateOrUpdateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ElasticPoolCreateOrUpdateMin.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ElasticPoolDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ElasticPoolDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ElasticPoolDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ElasticPoolDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ElasticPoolGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ElasticPoolGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ElasticPoolGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ElasticPoolGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ElasticPoolListByServer.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ElasticPoolListByServer.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ElasticPoolListByServer.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ElasticPoolListByServer.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ElasticPoolUpdateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ElasticPoolUpdateMax.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ElasticPoolUpdateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ElasticPoolUpdateMax.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ElasticPoolUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ElasticPoolUpdateMin.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ElasticPoolUpdateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ElasticPoolUpdateMin.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/GetRecoverableManagedDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/GetRecoverableManagedDatabase.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/GetRecoverableManagedDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/GetRecoverableManagedDatabase.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/GetShortTermRetentionPolicy.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/GetShortTermRetentionPolicy.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/GetShortTermRetentionPolicy.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/GetShortTermRetentionPolicy.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/GetVCoreDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/GetVCoreDatabase.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/GetVCoreDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/GetVCoreDatabase.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/InstanceFailoverGroupCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/InstanceFailoverGroupCreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/InstanceFailoverGroupCreateOrUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/InstanceFailoverGroupCreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/InstanceFailoverGroupDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/InstanceFailoverGroupDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/InstanceFailoverGroupDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/InstanceFailoverGroupDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/InstanceFailoverGroupFailover.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/InstanceFailoverGroupFailover.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/InstanceFailoverGroupFailover.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/InstanceFailoverGroupFailover.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/InstanceFailoverGroupForceFailoverAllowDataLoss.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/InstanceFailoverGroupForceFailoverAllowDataLoss.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/InstanceFailoverGroupForceFailoverAllowDataLoss.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/InstanceFailoverGroupForceFailoverAllowDataLoss.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/InstanceFailoverGroupGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/InstanceFailoverGroupGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/InstanceFailoverGroupGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/InstanceFailoverGroupGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/InstanceFailoverGroupList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/InstanceFailoverGroupList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/InstanceFailoverGroupList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/InstanceFailoverGroupList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ListDatabaseOperations.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ListDatabaseOperations.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ListDatabaseOperations.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ListDatabaseOperations.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ListDatabasesByElasticPool.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ListDatabasesByElasticPool.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ListDatabasesByElasticPool.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ListDatabasesByElasticPool.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ListElasticPoolOperations.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ListElasticPoolOperations.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ListElasticPoolOperations.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ListElasticPoolOperations.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ListRecoverableManagedDatabasesByServer.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ListRecoverableManagedDatabasesByServer.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ListRecoverableManagedDatabasesByServer.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ListRecoverableManagedDatabasesByServer.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ListShortTermRetentionPoliciesByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ListShortTermRetentionPoliciesByDatabase.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ListShortTermRetentionPoliciesByDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ListShortTermRetentionPoliciesByDatabase.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ListVCoreDatabasesByServer.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ListVCoreDatabasesByServer.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ListVCoreDatabasesByServer.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ListVCoreDatabasesByServer.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentCreateMax.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentCreateMax.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentCreateMin.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentCreateMin.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentListByDatabase.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentListByDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentListByDatabase.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentRuleBaselineCreate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentRuleBaselineCreate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentRuleBaselineCreate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentRuleBaselineCreate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentRuleBaselineDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentRuleBaselineDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentRuleBaselineDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentRuleBaselineDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentRuleBaselineGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentRuleBaselineGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentRuleBaselineGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentRuleBaselineGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentScanExport.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentScanExport.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentScanExport.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentScanExport.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentScanRecordsGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentScanRecordsGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentScanRecordsGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentScanRecordsGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentScanRecordsListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentScanRecordsListByDatabase.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentScanRecordsListByDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentScanRecordsListByDatabase.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentScansExecute.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentScansExecute.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentScansExecute.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedDatabaseVulnerabilityAssessmentScansExecute.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceEncryptionProtectorCreateOrUpdateKeyVault.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceEncryptionProtectorCreateOrUpdateKeyVault.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceEncryptionProtectorCreateOrUpdateKeyVault.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceEncryptionProtectorCreateOrUpdateKeyVault.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceEncryptionProtectorCreateOrUpdateServiceManaged.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceEncryptionProtectorCreateOrUpdateServiceManaged.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceEncryptionProtectorCreateOrUpdateServiceManaged.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceEncryptionProtectorCreateOrUpdateServiceManaged.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceEncryptionProtectorGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceEncryptionProtectorGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceEncryptionProtectorGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceEncryptionProtectorGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceEncryptionProtectorList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceEncryptionProtectorList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceEncryptionProtectorList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceEncryptionProtectorList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceEncryptionProtectorRevalidate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceEncryptionProtectorRevalidate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceEncryptionProtectorRevalidate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceEncryptionProtectorRevalidate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceKeyCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceKeyCreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceKeyCreateOrUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceKeyCreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceKeyDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceKeyDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceKeyDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceKeyDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceKeyGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceKeyGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceKeyGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceKeyGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceKeyList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceKeyList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceKeyList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceKeyList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceTdeCertificate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceTdeCertificate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceTdeCertificate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ManagedInstanceTdeCertificate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/PatchDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/PatchDatabase.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/PatchDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/PatchDatabase.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/PauseDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/PauseDatabase.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/PauseDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/PauseDatabase.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/RenameDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/RenameDatabase.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/RenameDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/RenameDatabase.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ResumeDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ResumeDatabase.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ResumeDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/ResumeDatabase.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/SqlTdeCertificateCreate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/SqlTdeCertificateCreate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/SqlTdeCertificateCreate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/SqlTdeCertificateCreate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/UpdateShortTermRetentionPolicy.java b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/UpdateShortTermRetentionPolicy.java index ab94be9f06..e075b36a5a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/UpdateShortTermRetentionPolicy.java +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/UpdateShortTermRetentionPolicy.java @@ -2,7 +2,7 @@ import com.azure.core.util.Context; import com.azure.resourcemanager.sql.fluent.models.BackupShortTermRetentionPolicyInner; import com.azure.resourcemanager.sql.models.ShortTermRetentionPolicyName; -/** Samples for BackupShortTermRetentionPolicies Update. */ +/** Samples for BackupShortTermRetentionPolicies CreateOrUpdate. */ public final class Main { /* * x-ms-original-file: specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/UpdateShortTermRetentionPolicy.json @@ -19,7 +19,7 @@ public final class Main { .manager() .serviceClient() .getBackupShortTermRetentionPolicies() - .update( + .createOrUpdate( "resourceGroup", "testsvr", "testdb", diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/UpdateShortTermRetentionPolicy.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/UpdateShortTermRetentionPolicy.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/UpdateShortTermRetentionPolicy.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/UpdateShortTermRetentionPolicy.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/UpgradeDataWarehouse.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/UpgradeDataWarehouse.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/UpgradeDataWarehouse.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples-java/UpgradeDataWarehouse.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/CreateOrUpdateInstancePoolMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/CreateOrUpdateInstancePoolMax.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/CreateOrUpdateInstancePoolMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/CreateOrUpdateInstancePoolMax.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/CreateOrUpdateInstancePoolMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/CreateOrUpdateInstancePoolMin.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/CreateOrUpdateInstancePoolMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/CreateOrUpdateInstancePoolMin.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/DeleteInstancePool.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/DeleteInstancePool.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/DeleteInstancePool.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/DeleteInstancePool.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/FailoverDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/FailoverDatabase.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/FailoverDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/FailoverDatabase.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/FailoverElasticPool.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/FailoverElasticPool.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/FailoverElasticPool.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/FailoverElasticPool.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/GetInstancePool.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/GetInstancePool.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/GetInstancePool.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/GetInstancePool.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ListInstancePoolUsage.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ListInstancePoolUsage.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ListInstancePoolUsage.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ListInstancePoolUsage.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ListInstancePoolUsageExpanded.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ListInstancePoolUsageExpanded.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ListInstancePoolUsageExpanded.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ListInstancePoolUsageExpanded.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ListInstancePoolsByResourceGroup.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ListInstancePoolsByResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ListInstancePoolsByResourceGroup.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ListInstancePoolsByResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ListInstancePoolsBySubscriptionId.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ListInstancePoolsBySubscriptionId.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ListInstancePoolsBySubscriptionId.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ListInstancePoolsBySubscriptionId.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/LocationCapabilityListByLocation.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/LocationCapabilityListByLocation.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/LocationCapabilityListByLocation.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/LocationCapabilityListByLocation.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedDatabaseColumnSensitivityLabelCreate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedDatabaseColumnSensitivityLabelCreate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedDatabaseColumnSensitivityLabelCreate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedDatabaseColumnSensitivityLabelCreate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedDatabaseColumnSensitivityLabelDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedDatabaseColumnSensitivityLabelDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedDatabaseColumnSensitivityLabelDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedDatabaseColumnSensitivityLabelDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedDatabaseColumnSensitivityLabelGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedDatabaseColumnSensitivityLabelGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedDatabaseColumnSensitivityLabelGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedDatabaseColumnSensitivityLabelGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedDatabaseRecommendedColumnSensitivityLabelDisable.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedDatabaseRecommendedColumnSensitivityLabelDisable.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedDatabaseRecommendedColumnSensitivityLabelDisable.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedDatabaseRecommendedColumnSensitivityLabelDisable.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedDatabaseRecommendedColumnSensitivityLabelEnable.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedDatabaseRecommendedColumnSensitivityLabelEnable.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedDatabaseRecommendedColumnSensitivityLabelEnable.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedDatabaseRecommendedColumnSensitivityLabelEnable.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedDatabaseSensitivityLabelsListByDatabaseCurrent.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedDatabaseSensitivityLabelsListByDatabaseCurrent.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedDatabaseSensitivityLabelsListByDatabaseCurrent.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedDatabaseSensitivityLabelsListByDatabaseCurrent.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedDatabaseSensitivityLabelsListByDatabaseRecommended.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedDatabaseSensitivityLabelsListByDatabaseRecommended.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedDatabaseSensitivityLabelsListByDatabaseRecommended.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedDatabaseSensitivityLabelsListByDatabaseRecommended.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceCreateMax.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceCreateMax.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceCreateMin.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceCreateMin.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceListByInstancePool.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceListByInstancePool.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceListByInstancePool.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceListByInstancePool.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceListByResourceGroup.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceListByResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceListByResourceGroup.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceListByResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceLongTermRetentionBackupDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceLongTermRetentionBackupDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceLongTermRetentionBackupDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceLongTermRetentionBackupDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceLongTermRetentionBackupGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceLongTermRetentionBackupGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceLongTermRetentionBackupGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceLongTermRetentionBackupGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceLongTermRetentionBackupListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceLongTermRetentionBackupListByDatabase.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceLongTermRetentionBackupListByDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceLongTermRetentionBackupListByDatabase.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceLongTermRetentionBackupListByInstance.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceLongTermRetentionBackupListByInstance.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceLongTermRetentionBackupListByInstance.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceLongTermRetentionBackupListByInstance.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceLongTermRetentionBackupListByLocation.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceLongTermRetentionBackupListByLocation.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceLongTermRetentionBackupListByLocation.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceLongTermRetentionBackupListByLocation.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceLongTermRetentionPolicyCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceLongTermRetentionPolicyCreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceLongTermRetentionPolicyCreateOrUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceLongTermRetentionPolicyCreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceLongTermRetentionPolicyGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceLongTermRetentionPolicyGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceLongTermRetentionPolicyGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceLongTermRetentionPolicyGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceLongTermRetentionPolicyListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceLongTermRetentionPolicyListByDatabase.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceLongTermRetentionPolicyListByDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceLongTermRetentionPolicyListByDatabase.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceUpdateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceUpdateMax.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceUpdateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceUpdateMax.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceUpdateMin.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceUpdateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceUpdateMin.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceVulnerabilityAssessmentDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceVulnerabilityAssessmentDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceVulnerabilityAssessmentDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceVulnerabilityAssessmentDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceVulnerabilityAssessmentGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceVulnerabilityAssessmentGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceVulnerabilityAssessmentGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceVulnerabilityAssessmentGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceVulnerabilityAssessmentListByInstance.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceVulnerabilityAssessmentListByInstance.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceVulnerabilityAssessmentListByInstance.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ManagedInstanceVulnerabilityAssessmentListByInstance.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/PatchInstancePool.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/PatchInstancePool.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/PatchInstancePool.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/PatchInstancePool.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/PrivateEndpointConnectionDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/PrivateEndpointConnectionDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/PrivateEndpointConnectionDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/PrivateEndpointConnectionDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/PrivateEndpointConnectionGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/PrivateEndpointConnectionGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/PrivateEndpointConnectionGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/PrivateEndpointConnectionGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/PrivateEndpointConnectionList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/PrivateEndpointConnectionList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/PrivateEndpointConnectionList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/PrivateEndpointConnectionList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/PrivateEndpointConnectionUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/PrivateEndpointConnectionUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/PrivateEndpointConnectionUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/PrivateEndpointConnectionUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/PrivateLinkResourcesGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/PrivateLinkResourcesGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/PrivateLinkResourcesGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/PrivateLinkResourcesGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/PrivateLinkResourcesList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/PrivateLinkResourcesList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/PrivateLinkResourcesList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/PrivateLinkResourcesList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ResourceGroupBasedManagedInstanceLongTermRetentionBackupDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ResourceGroupBasedManagedInstanceLongTermRetentionBackupDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ResourceGroupBasedManagedInstanceLongTermRetentionBackupDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ResourceGroupBasedManagedInstanceLongTermRetentionBackupDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ResourceGroupBasedManagedInstanceLongTermRetentionBackupGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ResourceGroupBasedManagedInstanceLongTermRetentionBackupGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ResourceGroupBasedManagedInstanceLongTermRetentionBackupGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ResourceGroupBasedManagedInstanceLongTermRetentionBackupGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ResourceGroupBasedManagedInstanceLongTermRetentionBackupListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ResourceGroupBasedManagedInstanceLongTermRetentionBackupListByDatabase.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ResourceGroupBasedManagedInstanceLongTermRetentionBackupListByDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ResourceGroupBasedManagedInstanceLongTermRetentionBackupListByDatabase.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ResourceGroupBasedManagedInstanceLongTermRetentionBackupListByInstance.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ResourceGroupBasedManagedInstanceLongTermRetentionBackupListByInstance.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ResourceGroupBasedManagedInstanceLongTermRetentionBackupListByInstance.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ResourceGroupBasedManagedInstanceLongTermRetentionBackupListByInstance.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ResourceGroupBasedManagedInstanceLongTermRetentionBackupListByLocation.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ResourceGroupBasedManagedInstanceLongTermRetentionBackupListByLocation.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ResourceGroupBasedManagedInstanceLongTermRetentionBackupListByLocation.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ResourceGroupBasedManagedInstanceLongTermRetentionBackupListByLocation.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ServerVulnerabilityAssessmentCreateContainerSasKeyMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ServerVulnerabilityAssessmentCreateContainerSasKeyMin.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ServerVulnerabilityAssessmentCreateContainerSasKeyMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ServerVulnerabilityAssessmentCreateContainerSasKeyMin.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ServerVulnerabilityAssessmentCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ServerVulnerabilityAssessmentCreateMax.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ServerVulnerabilityAssessmentCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ServerVulnerabilityAssessmentCreateMax.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ServerVulnerabilityAssessmentCreateStorageAccessKeyMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ServerVulnerabilityAssessmentCreateStorageAccessKeyMin.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ServerVulnerabilityAssessmentCreateStorageAccessKeyMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ServerVulnerabilityAssessmentCreateStorageAccessKeyMin.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ServerVulnerabilityAssessmentDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ServerVulnerabilityAssessmentDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ServerVulnerabilityAssessmentDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ServerVulnerabilityAssessmentDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ServerVulnerabilityAssessmentGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ServerVulnerabilityAssessmentGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ServerVulnerabilityAssessmentGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ServerVulnerabilityAssessmentGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ServerVulnerabilityAssessmentListByServer.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ServerVulnerabilityAssessmentListByServer.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ServerVulnerabilityAssessmentListByServer.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples-java/ServerVulnerabilityAssessmentListByServer.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/AdministratorCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/AdministratorCreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/AdministratorCreateOrUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/AdministratorCreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/AdministratorDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/AdministratorDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/AdministratorDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/AdministratorDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/AdministratorGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/AdministratorGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/AdministratorGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/AdministratorGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/AdministratorList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/AdministratorList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/AdministratorList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/AdministratorList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/CancelManagedInstanceOperation.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/CancelManagedInstanceOperation.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/CancelManagedInstanceOperation.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/CancelManagedInstanceOperation.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/CheckNameAvailabilityServerAlreadyExists.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/CheckNameAvailabilityServerAlreadyExists.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/CheckNameAvailabilityServerAlreadyExists.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/CheckNameAvailabilityServerAlreadyExists.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/CheckNameAvailabilityServerAvailable.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/CheckNameAvailabilityServerAvailable.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/CheckNameAvailabilityServerAvailable.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/CheckNameAvailabilityServerAvailable.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/CheckNameAvailabilityServerInvalid.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/CheckNameAvailabilityServerInvalid.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/CheckNameAvailabilityServerInvalid.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/CheckNameAvailabilityServerInvalid.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/CreateOrUpdateWorkloadClassifierMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/CreateOrUpdateWorkloadClassifierMax.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/CreateOrUpdateWorkloadClassifierMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/CreateOrUpdateWorkloadClassifierMax.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/CreateOrUpdateWorkloadClassifierMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/CreateOrUpdateWorkloadClassifierMin.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/CreateOrUpdateWorkloadClassifierMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/CreateOrUpdateWorkloadClassifierMin.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/CreateOrUpdateWorkloadGroupMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/CreateOrUpdateWorkloadGroupMax.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/CreateOrUpdateWorkloadGroupMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/CreateOrUpdateWorkloadGroupMax.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/CreateOrUpdateWorkloadGroupMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/CreateOrUpdateWorkloadGroupMin.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/CreateOrUpdateWorkloadGroupMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/CreateOrUpdateWorkloadGroupMin.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/DeleteWorkloadClassifier.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/DeleteWorkloadClassifier.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/DeleteWorkloadClassifier.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/DeleteWorkloadClassifier.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/DeleteWorkloadGroup.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/DeleteWorkloadGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/DeleteWorkloadGroup.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/DeleteWorkloadGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/DisableAzureADOnlyAuthUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/DisableAzureADOnlyAuthUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/DisableAzureADOnlyAuthUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/DisableAzureADOnlyAuthUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/GetManagedInstanceOperation.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/GetManagedInstanceOperation.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/GetManagedInstanceOperation.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/GetManagedInstanceOperation.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/GetWorkloadClassifier.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/GetWorkloadClassifier.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/GetWorkloadClassifier.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/GetWorkloadClassifier.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/GetWorkloadClassifierList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/GetWorkloadClassifierList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/GetWorkloadClassifierList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/GetWorkloadClassifierList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/GetWorkloadGroup.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/GetWorkloadGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/GetWorkloadGroup.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/GetWorkloadGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/GetWorkloadGroupList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/GetWorkloadGroupList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/GetWorkloadGroupList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/GetWorkloadGroupList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/InaccessibleManagedDatabaseListByManagedInstance.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/InaccessibleManagedDatabaseListByManagedInstance.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/InaccessibleManagedDatabaseListByManagedInstance.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/InaccessibleManagedDatabaseListByManagedInstance.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ListManagedInstanceOperations.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ListManagedInstanceOperations.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ListManagedInstanceOperations.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ListManagedInstanceOperations.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseCompleteExternalRestore.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseCompleteExternalRestore.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseCompleteExternalRestore.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseCompleteExternalRestore.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseCreateMax.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseCreateMax.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseCreateMin.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseCreateMin.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseCreatePointInTimeRestore.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseCreatePointInTimeRestore.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseCreatePointInTimeRestore.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseCreatePointInTimeRestore.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseCreateRecovery.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseCreateRecovery.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseCreateRecovery.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseCreateRecovery.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseCreateRestoreExternalBackup.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseCreateRestoreExternalBackup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseCreateRestoreExternalBackup.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseCreateRestoreExternalBackup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseCreateRestoreLtrBackup.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseCreateRestoreLtrBackup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseCreateRestoreLtrBackup.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseCreateRestoreLtrBackup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseListByManagedInstance.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseListByManagedInstance.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseListByManagedInstance.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseListByManagedInstance.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseRestoreDetails.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseRestoreDetails.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseRestoreDetails.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseRestoreDetails.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseUpdateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseUpdateMax.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseUpdateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseUpdateMax.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseUpdateMin.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseUpdateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ManagedDatabaseUpdateMin.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ServerCreate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ServerCreate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ServerCreate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ServerCreate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ServerDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ServerDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ServerDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ServerDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ServerGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ServerGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ServerGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ServerGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ServerList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ServerList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ServerList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ServerList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ServerListByResourceGroup.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ServerListByResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ServerListByResourceGroup.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ServerListByResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ServerUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ServerUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ServerUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples-java/ServerUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DataMaskingPolicyCreateOrUpdateMax.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DataMaskingPolicyCreateOrUpdateMax.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DataMaskingPolicyCreateOrUpdateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DataMaskingPolicyCreateOrUpdateMax.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DataMaskingPolicyCreateOrUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DataMaskingPolicyCreateOrUpdateMin.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DataMaskingPolicyCreateOrUpdateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DataMaskingPolicyCreateOrUpdateMin.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DataMaskingPolicyGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DataMaskingPolicyGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DataMaskingPolicyGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DataMaskingPolicyGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DataMaskingRuleCreateOrUpdateDefaultMax.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DataMaskingRuleCreateOrUpdateDefaultMax.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DataMaskingRuleCreateOrUpdateDefaultMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DataMaskingRuleCreateOrUpdateDefaultMax.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DataMaskingRuleCreateOrUpdateDefaultMin.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DataMaskingRuleCreateOrUpdateDefaultMin.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DataMaskingRuleCreateOrUpdateDefaultMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DataMaskingRuleCreateOrUpdateDefaultMin.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DataMaskingRuleCreateOrUpdateNumber.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DataMaskingRuleCreateOrUpdateNumber.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DataMaskingRuleCreateOrUpdateNumber.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DataMaskingRuleCreateOrUpdateNumber.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DataMaskingRuleCreateOrUpdateText.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DataMaskingRuleCreateOrUpdateText.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DataMaskingRuleCreateOrUpdateText.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DataMaskingRuleCreateOrUpdateText.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DataMaskingRuleList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DataMaskingRuleList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DataMaskingRuleList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DataMaskingRuleList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseCreateImportMaxSasKey.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseCreateImportMaxSasKey.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseCreateImportMaxSasKey.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseCreateImportMaxSasKey.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseCreateImportMaxStorageKey.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseCreateImportMaxStorageKey.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseCreateImportMaxStorageKey.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseCreateImportMaxStorageKey.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseCreateImportMinSasKey.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseCreateImportMinSasKey.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseCreateImportMinSasKey.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseCreateImportMinSasKey.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseCreateImportMinStorageKey.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseCreateImportMinStorageKey.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseCreateImportMinStorageKey.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseCreateImportMinStorageKey.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseExportSasKey.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseExportSasKey.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseExportSasKey.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseExportSasKey.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseExportStorageKey.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseExportStorageKey.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseExportStorageKey.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseExportStorageKey.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseMetricsDefinitionsList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseMetricsDefinitionsList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseMetricsDefinitionsList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseMetricsDefinitionsList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseMetricsListWithFilter.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseMetricsListWithFilter.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseMetricsListWithFilter.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseMetricsListWithFilter.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseSecurityAlertCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseSecurityAlertCreateMax.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseSecurityAlertCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseSecurityAlertCreateMax.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseSecurityAlertCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseSecurityAlertCreateMin.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseSecurityAlertCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseSecurityAlertCreateMin.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseSecurityAlertGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseSecurityAlertGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseSecurityAlertGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseSecurityAlertGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseTransparentDataEncryptionActivityList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseTransparentDataEncryptionActivityList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseTransparentDataEncryptionActivityList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseTransparentDataEncryptionActivityList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseTransparentDataEncryptionCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseTransparentDataEncryptionCreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseTransparentDataEncryptionCreateOrUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseTransparentDataEncryptionCreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseTransparentDataEncryptionGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseTransparentDataEncryptionGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseTransparentDataEncryptionGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseTransparentDataEncryptionGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseUpdateImportMaxSasKey.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseUpdateImportMaxSasKey.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseUpdateImportMaxSasKey.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseUpdateImportMaxSasKey.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseUpdateImportMaxStorageKey.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseUpdateImportMaxStorageKey.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseUpdateImportMaxStorageKey.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseUpdateImportMaxStorageKey.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseUpdateImportMinSasKey.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseUpdateImportMinSasKey.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseUpdateImportMinSasKey.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseUpdateImportMinSasKey.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseUpdateImportMinStorageKey.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseUpdateImportMinStorageKey.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseUpdateImportMinStorageKey.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseUpdateImportMinStorageKey.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseUsageMetricsList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseUsageMetricsList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseUsageMetricsList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/DatabaseUsageMetricsList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ElasticPoolActivityList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ElasticPoolActivityList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ElasticPoolActivityList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ElasticPoolActivityList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ElasticPoolDatabaseActivityList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ElasticPoolDatabaseActivityList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ElasticPoolDatabaseActivityList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ElasticPoolDatabaseActivityList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ElasticPoolMetricsDefinitionsList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ElasticPoolMetricsDefinitionsList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ElasticPoolMetricsDefinitionsList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ElasticPoolMetricsDefinitionsList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ElasticPoolMetricsListWithFilter.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ElasticPoolMetricsListWithFilter.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ElasticPoolMetricsListWithFilter.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ElasticPoolMetricsListWithFilter.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/FirewallRuleCreate.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/FirewallRuleCreate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/FirewallRuleCreate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/FirewallRuleCreate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/FirewallRuleDelete.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/FirewallRuleDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/FirewallRuleDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/FirewallRuleDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/FirewallRuleGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/FirewallRuleGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/FirewallRuleGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/FirewallRuleGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/FirewallRuleList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/FirewallRuleList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/FirewallRuleList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/FirewallRuleList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/FirewallRuleUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/FirewallRuleUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/FirewallRuleUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/FirewallRuleUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/GeoBackupPoliciesCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/GeoBackupPoliciesCreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/GeoBackupPoliciesCreateOrUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/GeoBackupPoliciesCreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/GeoBackupPoliciesGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/GeoBackupPoliciesGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/GeoBackupPoliciesGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/GeoBackupPoliciesGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/GeoBackupPoliciesList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/GeoBackupPoliciesList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/GeoBackupPoliciesList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/GeoBackupPoliciesList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/RecommendedElasticPoolGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/RecommendedElasticPoolGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/RecommendedElasticPoolGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/RecommendedElasticPoolGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/RecommendedElasticPoolListDecoupled.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/RecommendedElasticPoolListDecoupled.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/RecommendedElasticPoolListDecoupled.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/RecommendedElasticPoolListDecoupled.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/RecommendedElasticPoolListMetrics.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/RecommendedElasticPoolListMetrics.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/RecommendedElasticPoolListMetrics.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/RecommendedElasticPoolListMetrics.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/RecoverableDatabaseGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/RecoverableDatabaseGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/RecoverableDatabaseGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/RecoverableDatabaseGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/RecoverableDatabaseList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/RecoverableDatabaseList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/RecoverableDatabaseList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/RecoverableDatabaseList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ReplicationLinkDelete.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ReplicationLinkDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ReplicationLinkDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ReplicationLinkDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ReplicationLinkFailover.java b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ReplicationLinkFailover.java index 7161e2be3f..64a2285e98 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ReplicationLinkFailover.java +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ReplicationLinkFailover.java @@ -1,6 +1,6 @@ import com.azure.core.util.Context; -/** Samples for ReplicationLinks Failover. */ +/** Samples for ReplicationLinks FailoverAllowDataLoss. */ public final class Main { /* * x-ms-original-file: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ReplicationLinkFailover.json @@ -16,7 +16,7 @@ public final class Main { .manager() .serviceClient() .getReplicationLinks() - .failover( + .failoverAllowDataLoss( "sqlcrudtest-8931", "sqlcrudtest-2137", "testdb", "f0550bf5-07ce-4270-8e4b-71737975973a", Context.NONE); } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ReplicationLinkFailover.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ReplicationLinkFailover.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ReplicationLinkFailover.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ReplicationLinkFailover.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ReplicationLinkGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ReplicationLinkGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ReplicationLinkGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ReplicationLinkGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ReplicationLinkList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ReplicationLinkList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ReplicationLinkList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ReplicationLinkList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ReplicationLinkUnlink.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ReplicationLinkUnlink.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ReplicationLinkUnlink.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ReplicationLinkUnlink.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/RestorableDroppedDatabaseGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/RestorableDroppedDatabaseGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/RestorableDroppedDatabaseGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/RestorableDroppedDatabaseGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/RestorableDroppedDatabaseList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/RestorableDroppedDatabaseList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/RestorableDroppedDatabaseList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/RestorableDroppedDatabaseList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServerCommunicationLinkCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServerCommunicationLinkCreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServerCommunicationLinkCreateOrUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServerCommunicationLinkCreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServerCommunicationLinkDelete.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServerCommunicationLinkDelete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServerCommunicationLinkDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServerCommunicationLinkDelete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServerCommunicationLinkGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServerCommunicationLinkGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServerCommunicationLinkGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServerCommunicationLinkGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServerCommunicationLinkList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServerCommunicationLinkList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServerCommunicationLinkList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServerCommunicationLinkList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServerConnectionPolicyCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServerConnectionPolicyCreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServerConnectionPolicyCreateOrUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServerConnectionPolicyCreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServerConnectionPolicyGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServerConnectionPolicyGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServerConnectionPolicyGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServerConnectionPolicyGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServerUsageMetricsList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServerUsageMetricsList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServerUsageMetricsList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServerUsageMetricsList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServiceObjectiveGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServiceObjectiveGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServiceObjectiveGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServiceObjectiveGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServiceObjectiveList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServiceObjectiveList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServiceObjectiveList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServiceObjectiveList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServiceTierAdvisorGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServiceTierAdvisorGet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServiceTierAdvisorGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServiceTierAdvisorGet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServiceTierAdvisorList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServiceTierAdvisorList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServiceTierAdvisorList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples-java/ServiceTierAdvisorList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersClearLegalHold.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersClearLegalHold.java new file mode 100644 index 0000000000..beadbaa47b --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersClearLegalHold.java @@ -0,0 +1,28 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.LegalHoldInner; +import java.util.Arrays; + +/** Samples for BlobContainers ClearLegalHold. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersClearLegalHold.json + */ + /** + * Sample code: ClearLegalHoldContainers. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void clearLegalHoldContainers(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getBlobContainers() + .clearLegalHoldWithResponse( + "res4303", + "sto7280", + "container8723", + new LegalHoldInner().withTags(Arrays.asList("tag1", "tag2", "tag3")), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersClearLegalHold.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersClearLegalHold.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersClearLegalHold.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersDelete.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersDelete.java new file mode 100644 index 0000000000..b41c24cb05 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for BlobContainers Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersDelete.json + */ + /** + * Sample code: DeleteContainers. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteContainers(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getBlobContainers() + .deleteWithResponse("res4079", "sto4506", "container9689", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersDelete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersDeleteImmutabilityPolicy.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersDeleteImmutabilityPolicy.java new file mode 100644 index 0000000000..a132f3d876 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersDeleteImmutabilityPolicy.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for BlobContainers DeleteImmutabilityPolicy. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersDeleteImmutabilityPolicy.json + */ + /** + * Sample code: DeleteImmutabilityPolicy. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteImmutabilityPolicy(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getBlobContainers() + .deleteImmutabilityPolicyWithResponse( + "res1581", "sto9621", "container4910", "\"8d59f81a7fa7be0\"", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersDeleteImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersDeleteImmutabilityPolicy.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersDeleteImmutabilityPolicy.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersExtendImmutabilityPolicy.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersExtendImmutabilityPolicy.java new file mode 100644 index 0000000000..a485cb8a4b --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersExtendImmutabilityPolicy.java @@ -0,0 +1,28 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.ImmutabilityPolicyInner; + +/** Samples for BlobContainers ExtendImmutabilityPolicy. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersExtendImmutabilityPolicy.json + */ + /** + * Sample code: ExtendImmutabilityPolicy. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void extendImmutabilityPolicy(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getBlobContainers() + .extendImmutabilityPolicyWithResponse( + "res6238", + "sto232", + "container5023", + "\"8d59f830d0c3bf9\"", + new ImmutabilityPolicyInner().withImmutabilityPeriodSinceCreationInDays(100), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersExtendImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersExtendImmutabilityPolicy.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersExtendImmutabilityPolicy.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersGet.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersGet.java new file mode 100644 index 0000000000..3e7eefcbad --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for BlobContainers Get. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersGet.json + */ + /** + * Sample code: GetContainers. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getContainers(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getBlobContainers() + .getWithResponse("res9871", "sto6217", "container1634", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersGetImmutabilityPolicy.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersGetImmutabilityPolicy.java new file mode 100644 index 0000000000..e53143af06 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersGetImmutabilityPolicy.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for BlobContainers GetImmutabilityPolicy. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersGetImmutabilityPolicy.json + */ + /** + * Sample code: GetImmutabilityPolicy. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getImmutabilityPolicy(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getBlobContainers() + .getImmutabilityPolicyWithResponse("res5221", "sto9177", "container3489", null, Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersGetImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersGetImmutabilityPolicy.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersGetImmutabilityPolicy.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersGetWithAllowProtectedAppendWritesAll.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersGetWithAllowProtectedAppendWritesAll.java new file mode 100644 index 0000000000..460bee8aba --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersGetWithAllowProtectedAppendWritesAll.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for BlobContainers Get. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersGetWithAllowProtectedAppendWritesAll.json + */ + /** + * Sample code: GetBlobContainersGetWithAllowProtectedAppendWritesAll. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getBlobContainersGetWithAllowProtectedAppendWritesAll( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getBlobContainers() + .getWithResponse("res9871", "sto6217", "container1634", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersGetWithAllowProtectedAppendWritesAll.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersGetWithAllowProtectedAppendWritesAll.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersGetWithAllowProtectedAppendWritesAll.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersLease_Acquire.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersLease_Acquire.java new file mode 100644 index 0000000000..9464391347 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersLease_Acquire.java @@ -0,0 +1,28 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.LeaseContainerRequest; +import com.azure.resourcemanager.storage.models.LeaseContainerRequestAction; + +/** Samples for BlobContainers Lease. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersLease_Acquire.json + */ + /** + * Sample code: Acquire a lease on a container. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void acquireALeaseOnAContainer(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getBlobContainers() + .leaseWithResponse( + "res3376", + "sto328", + "container6185", + new LeaseContainerRequest().withAction(LeaseContainerRequestAction.ACQUIRE).withLeaseDuration(-1), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersLease_Acquire.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersLease_Acquire.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersLease_Acquire.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersLease_Break.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersLease_Break.java new file mode 100644 index 0000000000..c17ab45c5c --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersLease_Break.java @@ -0,0 +1,30 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.LeaseContainerRequest; +import com.azure.resourcemanager.storage.models.LeaseContainerRequestAction; + +/** Samples for BlobContainers Lease. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersLease_Break.json + */ + /** + * Sample code: Break a lease on a container. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void breakALeaseOnAContainer(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getBlobContainers() + .leaseWithResponse( + "res3376", + "sto328", + "container6185", + new LeaseContainerRequest() + .withAction(LeaseContainerRequestAction.BREAK) + .withLeaseId("8698f513-fa75-44a1-b8eb-30ba336af27d"), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersLease_Break.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersLease_Break.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersLease_Break.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersList.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersList.java new file mode 100644 index 0000000000..e1f83ddfeb --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for BlobContainers List. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersList.json + */ + /** + * Sample code: ListContainers. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listContainers(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getBlobContainers() + .list("res9290", "sto1590", null, null, null, Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersLockImmutabilityPolicy.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersLockImmutabilityPolicy.java new file mode 100644 index 0000000000..b7c36a4b31 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersLockImmutabilityPolicy.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for BlobContainers LockImmutabilityPolicy. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersLockImmutabilityPolicy.json + */ + /** + * Sample code: LockImmutabilityPolicy. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void lockImmutabilityPolicy(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getBlobContainers() + .lockImmutabilityPolicyWithResponse( + "res2702", "sto5009", "container1631", "\"8d59f825b721dd3\"", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersLockImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersLockImmutabilityPolicy.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersLockImmutabilityPolicy.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPatch.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPatch.java new file mode 100644 index 0000000000..7139b14826 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPatch.java @@ -0,0 +1,43 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.BlobContainerInner; +import com.azure.resourcemanager.storage.models.PublicAccess; +import java.util.HashMap; +import java.util.Map; + +/** Samples for BlobContainers Update. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersPatch.json + */ + /** + * Sample code: UpdateContainers. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateContainers(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getBlobContainers() + .updateWithResponse( + "res3376", + "sto328", + "container6185", + new BlobContainerInner() + .withPublicAccess(PublicAccess.CONTAINER) + .withMetadata(mapOf("metadata", "true")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPatch.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPatch.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPatch.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPut.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPut.java new file mode 100644 index 0000000000..7e96ef4444 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPut.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.BlobContainerInner; + +/** Samples for BlobContainers Create. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersPut.json + */ + /** + * Sample code: PutContainers. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void putContainers(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getBlobContainers() + .createWithResponse("res3376", "sto328", "container6185", new BlobContainerInner(), Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPut.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPutDefaultEncryptionScope.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPutDefaultEncryptionScope.java new file mode 100644 index 0000000000..8b9a824724 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPutDefaultEncryptionScope.java @@ -0,0 +1,29 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.BlobContainerInner; + +/** Samples for BlobContainers Create. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersPutDefaultEncryptionScope.json + */ + /** + * Sample code: PutContainerWithDefaultEncryptionScope. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void putContainerWithDefaultEncryptionScope(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getBlobContainers() + .createWithResponse( + "res3376", + "sto328", + "container6185", + new BlobContainerInner() + .withDefaultEncryptionScope("encryptionscope185") + .withDenyEncryptionScopeOverride(true), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPutDefaultEncryptionScope.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPutDefaultEncryptionScope.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPutDefaultEncryptionScope.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPutImmutabilityPolicy.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPutImmutabilityPolicy.java new file mode 100644 index 0000000000..f960b615eb --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPutImmutabilityPolicy.java @@ -0,0 +1,30 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.ImmutabilityPolicyInner; + +/** Samples for BlobContainers CreateOrUpdateImmutabilityPolicy. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersPutImmutabilityPolicy.json + */ + /** + * Sample code: CreateOrUpdateImmutabilityPolicy. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createOrUpdateImmutabilityPolicy(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getBlobContainers() + .createOrUpdateImmutabilityPolicyWithResponse( + "res1782", + "sto7069", + "container6397", + null, + new ImmutabilityPolicyInner() + .withImmutabilityPeriodSinceCreationInDays(3) + .withAllowProtectedAppendWrites(true), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPutImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPutImmutabilityPolicy.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPutImmutabilityPolicy.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.java new file mode 100644 index 0000000000..918a7cde7a --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.java @@ -0,0 +1,31 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.ImmutabilityPolicyInner; + +/** Samples for BlobContainers CreateOrUpdateImmutabilityPolicy. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json + */ + /** + * Sample code: CreateOrUpdateImmutabilityPolicyWithAllowProtectedAppendWritesAll. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createOrUpdateImmutabilityPolicyWithAllowProtectedAppendWritesAll( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getBlobContainers() + .createOrUpdateImmutabilityPolicyWithResponse( + "res1782", + "sto7069", + "container6397", + null, + new ImmutabilityPolicyInner() + .withImmutabilityPeriodSinceCreationInDays(3) + .withAllowProtectedAppendWritesAll(true), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPutObjectLevelWorm.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPutObjectLevelWorm.java new file mode 100644 index 0000000000..642b9ee756 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPutObjectLevelWorm.java @@ -0,0 +1,29 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.BlobContainerInner; +import com.azure.resourcemanager.storage.models.ImmutableStorageWithVersioning; + +/** Samples for BlobContainers Create. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersPutObjectLevelWorm.json + */ + /** + * Sample code: PutContainerWithObjectLevelWorm. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void putContainerWithObjectLevelWorm(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getBlobContainers() + .createWithResponse( + "res3376", + "sto328", + "container6185", + new BlobContainerInner() + .withImmutableStorageWithVersioning(new ImmutableStorageWithVersioning().withEnabled(true)), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPutObjectLevelWorm.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPutObjectLevelWorm.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersPutObjectLevelWorm.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersSetLegalHold.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersSetLegalHold.java new file mode 100644 index 0000000000..5f04a6158d --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersSetLegalHold.java @@ -0,0 +1,28 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.LegalHoldInner; +import java.util.Arrays; + +/** Samples for BlobContainers SetLegalHold. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersSetLegalHold.json + */ + /** + * Sample code: SetLegalHoldContainers. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void setLegalHoldContainers(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getBlobContainers() + .setLegalHoldWithResponse( + "res4303", + "sto7280", + "container8723", + new LegalHoldInner().withTags(Arrays.asList("tag1", "tag2", "tag3")), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersSetLegalHold.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersSetLegalHold.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersSetLegalHold.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.java new file mode 100644 index 0000000000..3ccb822517 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.java @@ -0,0 +1,31 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.LegalHoldInner; +import java.util.Arrays; + +/** Samples for BlobContainers SetLegalHold. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json + */ + /** + * Sample code: SetLegalHoldContainersWithAllowProtectedAppendWritesAll. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void setLegalHoldContainersWithAllowProtectedAppendWritesAll( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getBlobContainers() + .setLegalHoldWithResponse( + "res4303", + "sto7280", + "container8723", + new LegalHoldInner() + .withTags(Arrays.asList("tag1", "tag2", "tag3")) + .withAllowProtectedAppendWritesAll(true), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobRangesRestore.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobRangesRestore.java new file mode 100644 index 0000000000..e6ede0da98 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobRangesRestore.java @@ -0,0 +1,37 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.BlobRestoreParameters; +import com.azure.resourcemanager.storage.models.BlobRestoreRange; +import java.time.OffsetDateTime; +import java.util.Arrays; + +/** Samples for StorageAccounts RestoreBlobRanges. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobRangesRestore.json + */ + /** + * Sample code: BlobRangesRestore. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void blobRangesRestore(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .restoreBlobRanges( + "res9101", + "sto4445", + new BlobRestoreParameters() + .withTimeToRestore(OffsetDateTime.parse("2019-04-20T15:30:00.0000000Z")) + .withBlobRanges( + Arrays + .asList( + new BlobRestoreRange() + .withStartRange("container/blobpath1") + .withEndRange("container/blobpath2"), + new BlobRestoreRange().withStartRange("container2/blobpath3").withEndRange(""))), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobRangesRestore.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobRangesRestore.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobRangesRestore.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobServicesGet.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobServicesGet.java new file mode 100644 index 0000000000..822ca02ef4 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobServicesGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for BlobServices GetServiceProperties. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobServicesGet.json + */ + /** + * Sample code: GetBlobServices. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getBlobServices(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getBlobServices() + .getServicePropertiesWithResponse("res4410", "sto8607", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobServicesGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobServicesGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobServicesGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobServicesList.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobServicesList.java new file mode 100644 index 0000000000..03cd205650 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobServicesList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for BlobServices List. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobServicesList.json + */ + /** + * Sample code: ListBlobServices. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listBlobServices(com.azure.resourcemanager.AzureResourceManager azure) { + azure.storageAccounts().manager().serviceClient().getBlobServices().list("res4410", "sto8607", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobServicesList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobServicesList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobServicesList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobServicesPut.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobServicesPut.java new file mode 100644 index 0000000000..421ae413b3 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobServicesPut.java @@ -0,0 +1,74 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.BlobServicePropertiesInner; +import com.azure.resourcemanager.storage.models.ChangeFeed; +import com.azure.resourcemanager.storage.models.CorsRule; +import com.azure.resourcemanager.storage.models.CorsRuleAllowedMethodsItem; +import com.azure.resourcemanager.storage.models.CorsRules; +import com.azure.resourcemanager.storage.models.DeleteRetentionPolicy; +import java.util.Arrays; + +/** Samples for BlobServices SetServiceProperties. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobServicesPut.json + */ + /** + * Sample code: PutBlobServices. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void putBlobServices(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getBlobServices() + .setServicePropertiesWithResponse( + "res4410", + "sto8607", + new BlobServicePropertiesInner() + .withCors( + new CorsRules() + .withCorsRules( + Arrays + .asList( + new CorsRule() + .withAllowedOrigins( + Arrays.asList("http://www.contoso.com", "http://www.fabrikam.com")) + .withAllowedMethods( + Arrays + .asList( + CorsRuleAllowedMethodsItem.GET, + CorsRuleAllowedMethodsItem.HEAD, + CorsRuleAllowedMethodsItem.POST, + CorsRuleAllowedMethodsItem.OPTIONS, + CorsRuleAllowedMethodsItem.MERGE, + CorsRuleAllowedMethodsItem.PUT)) + .withMaxAgeInSeconds(100) + .withExposedHeaders(Arrays.asList("x-ms-meta-*")) + .withAllowedHeaders( + Arrays.asList("x-ms-meta-abc", "x-ms-meta-data*", "x-ms-meta-target*")), + new CorsRule() + .withAllowedOrigins(Arrays.asList("*")) + .withAllowedMethods(Arrays.asList(CorsRuleAllowedMethodsItem.GET)) + .withMaxAgeInSeconds(2) + .withExposedHeaders(Arrays.asList("*")) + .withAllowedHeaders(Arrays.asList("*")), + new CorsRule() + .withAllowedOrigins( + Arrays.asList("http://www.abc23.com", "https://www.fabrikam.com/*")) + .withAllowedMethods( + Arrays + .asList( + CorsRuleAllowedMethodsItem.GET, CorsRuleAllowedMethodsItem.PUT)) + .withMaxAgeInSeconds(2000) + .withExposedHeaders( + Arrays.asList("x-ms-meta-abc", "x-ms-meta-data*", "x -ms-meta-target*")) + .withAllowedHeaders(Arrays.asList("x-ms-meta-12345675754564*"))))) + .withDefaultServiceVersion("2017-07-29") + .withDeleteRetentionPolicy(new DeleteRetentionPolicy().withEnabled(true).withDays(300)) + .withIsVersioningEnabled(true) + .withChangeFeed(new ChangeFeed().withEnabled(true).withRetentionInDays(7)), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobServicesPut.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobServicesPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobServicesPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobServicesPutAllowPermanentDelete.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobServicesPutAllowPermanentDelete.java new file mode 100644 index 0000000000..54a3824e81 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobServicesPutAllowPermanentDelete.java @@ -0,0 +1,30 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.BlobServicePropertiesInner; +import com.azure.resourcemanager.storage.models.DeleteRetentionPolicy; + +/** Samples for BlobServices SetServiceProperties. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobServicesPutAllowPermanentDelete.json + */ + /** + * Sample code: BlobServicesPutAllowPermanentDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void blobServicesPutAllowPermanentDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getBlobServices() + .setServicePropertiesWithResponse( + "res4410", + "sto8607", + new BlobServicePropertiesInner() + .withDeleteRetentionPolicy( + new DeleteRetentionPolicy().withEnabled(true).withDays(300).withAllowPermanentDelete(true)) + .withIsVersioningEnabled(true), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobServicesPutAllowPermanentDelete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobServicesPutAllowPermanentDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobServicesPutAllowPermanentDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobServicesPutLastAccessTimeBasedTracking.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobServicesPutLastAccessTimeBasedTracking.java new file mode 100644 index 0000000000..9df52031c2 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobServicesPutLastAccessTimeBasedTracking.java @@ -0,0 +1,36 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.BlobServicePropertiesInner; +import com.azure.resourcemanager.storage.models.LastAccessTimeTrackingPolicy; +import com.azure.resourcemanager.storage.models.Name; +import java.util.Arrays; + +/** Samples for BlobServices SetServiceProperties. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/BlobServicesPutLastAccessTimeBasedTracking.json + */ + /** + * Sample code: BlobServicesPutLastAccessTimeBasedTracking. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void blobServicesPutLastAccessTimeBasedTracking( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getBlobServices() + .setServicePropertiesWithResponse( + "res4410", + "sto8607", + new BlobServicePropertiesInner() + .withLastAccessTimeTrackingPolicy( + new LastAccessTimeTrackingPolicy() + .withEnable(true) + .withName(Name.ACCESS_TIME_TRACKING) + .withTrackingGranularityInDays(1) + .withBlobType(Arrays.asList("blockBlob"))), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobServicesPutLastAccessTimeBasedTracking.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobServicesPutLastAccessTimeBasedTracking.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/BlobServicesPutLastAccessTimeBasedTracking.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/DeletedAccountGet.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/DeletedAccountGet.java new file mode 100644 index 0000000000..76e2c29f91 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/DeletedAccountGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for DeletedAccounts Get. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/DeletedAccountGet.json + */ + /** + * Sample code: DeletedAccountGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deletedAccountGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getDeletedAccounts() + .getWithResponse("sto1125", "eastus", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/DeletedAccountGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/DeletedAccountGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/DeletedAccountGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/DeletedAccountList.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/DeletedAccountList.java new file mode 100644 index 0000000000..e4e91e29aa --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/DeletedAccountList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for DeletedAccounts List. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/DeletedAccountList.json + */ + /** + * Sample code: DeletedAccountList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deletedAccountList(com.azure.resourcemanager.AzureResourceManager azure) { + azure.storageAccounts().manager().serviceClient().getDeletedAccounts().list(Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/DeletedAccountList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/DeletedAccountList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/DeletedAccountList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/DeletedBlobContainersList.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/DeletedBlobContainersList.java new file mode 100644 index 0000000000..5492c7bcf4 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/DeletedBlobContainersList.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.ListContainersInclude; + +/** Samples for BlobContainers List. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/DeletedBlobContainersList.json + */ + /** + * Sample code: ListDeletedContainers. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listDeletedContainers(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getBlobContainers() + .list("res9290", "sto1590", null, null, ListContainersInclude.DELETED, Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/DeletedBlobContainersList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/DeletedBlobContainersList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/DeletedBlobContainersList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/DeletedFileSharesList.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/DeletedFileSharesList.java new file mode 100644 index 0000000000..fde8eae5da --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/DeletedFileSharesList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for FileShares List. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/DeletedFileSharesList.json + */ + /** + * Sample code: ListDeletedShares. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listDeletedShares(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getFileShares() + .list("res9290", "sto1590", null, null, "deleted", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/DeletedFileSharesList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/DeletedFileSharesList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/DeletedFileSharesList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileServicesGet.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileServicesGet.java new file mode 100644 index 0000000000..3ee9878f17 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileServicesGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for FileServices GetServiceProperties. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileServicesGet.json + */ + /** + * Sample code: GetFileServices. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getFileServices(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getFileServices() + .getServicePropertiesWithResponse("res4410", "sto8607", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileServicesGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileServicesGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileServicesGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileServicesList.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileServicesList.java new file mode 100644 index 0000000000..24b20e0789 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileServicesList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for FileServices List. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileServicesList.json + */ + /** + * Sample code: ListFileServices. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listFileServices(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getFileServices() + .listWithResponse("res9290", "sto1590", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileServicesList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileServicesList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileServicesList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileServicesPut.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileServicesPut.java new file mode 100644 index 0000000000..3b068ff08f --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileServicesPut.java @@ -0,0 +1,68 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.FileServicePropertiesInner; +import com.azure.resourcemanager.storage.models.CorsRule; +import com.azure.resourcemanager.storage.models.CorsRuleAllowedMethodsItem; +import com.azure.resourcemanager.storage.models.CorsRules; +import java.util.Arrays; + +/** Samples for FileServices SetServiceProperties. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileServicesPut.json + */ + /** + * Sample code: PutFileServices. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void putFileServices(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getFileServices() + .setServicePropertiesWithResponse( + "res4410", + "sto8607", + new FileServicePropertiesInner() + .withCors( + new CorsRules() + .withCorsRules( + Arrays + .asList( + new CorsRule() + .withAllowedOrigins( + Arrays.asList("http://www.contoso.com", "http://www.fabrikam.com")) + .withAllowedMethods( + Arrays + .asList( + CorsRuleAllowedMethodsItem.GET, + CorsRuleAllowedMethodsItem.HEAD, + CorsRuleAllowedMethodsItem.POST, + CorsRuleAllowedMethodsItem.OPTIONS, + CorsRuleAllowedMethodsItem.MERGE, + CorsRuleAllowedMethodsItem.PUT)) + .withMaxAgeInSeconds(100) + .withExposedHeaders(Arrays.asList("x-ms-meta-*")) + .withAllowedHeaders( + Arrays.asList("x-ms-meta-abc", "x-ms-meta-data*", "x-ms-meta-target*")), + new CorsRule() + .withAllowedOrigins(Arrays.asList("*")) + .withAllowedMethods(Arrays.asList(CorsRuleAllowedMethodsItem.GET)) + .withMaxAgeInSeconds(2) + .withExposedHeaders(Arrays.asList("*")) + .withAllowedHeaders(Arrays.asList("*")), + new CorsRule() + .withAllowedOrigins( + Arrays.asList("http://www.abc23.com", "https://www.fabrikam.com/*")) + .withAllowedMethods( + Arrays + .asList( + CorsRuleAllowedMethodsItem.GET, CorsRuleAllowedMethodsItem.PUT)) + .withMaxAgeInSeconds(2000) + .withExposedHeaders( + Arrays.asList("x-ms-meta-abc", "x-ms-meta-data*", "x-ms-meta-target*")) + .withAllowedHeaders(Arrays.asList("x-ms-meta-12345675754564*"))))), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileServicesPut.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileServicesPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileServicesPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileServicesPut_EnableSMBMultichannel.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileServicesPut_EnableSMBMultichannel.java new file mode 100644 index 0000000000..ee718b0b1d --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileServicesPut_EnableSMBMultichannel.java @@ -0,0 +1,32 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.FileServicePropertiesInner; +import com.azure.resourcemanager.storage.models.Multichannel; +import com.azure.resourcemanager.storage.models.ProtocolSettings; +import com.azure.resourcemanager.storage.models.SmbSetting; + +/** Samples for FileServices SetServiceProperties. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileServicesPut_EnableSMBMultichannel.json + */ + /** + * Sample code: PutFileServices_EnableSMBMultichannel. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void putFileServicesEnableSMBMultichannel(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getFileServices() + .setServicePropertiesWithResponse( + "res4410", + "sto8607", + new FileServicePropertiesInner() + .withProtocolSettings( + new ProtocolSettings() + .withSmb(new SmbSetting().withMultichannel(new Multichannel().withEnabled(true)))), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileServicesPut_EnableSMBMultichannel.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileServicesPut_EnableSMBMultichannel.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileServicesPut_EnableSMBMultichannel.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileServicesPut_EnableSecureSmbFeatures.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileServicesPut_EnableSecureSmbFeatures.java new file mode 100644 index 0000000000..a0f1c109d2 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileServicesPut_EnableSecureSmbFeatures.java @@ -0,0 +1,36 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.FileServicePropertiesInner; +import com.azure.resourcemanager.storage.models.ProtocolSettings; +import com.azure.resourcemanager.storage.models.SmbSetting; + +/** Samples for FileServices SetServiceProperties. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileServicesPut_EnableSecureSmbFeatures.json + */ + /** + * Sample code: PutFileServices_EnableSecureSmbFeatures. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void putFileServicesEnableSecureSmbFeatures(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getFileServices() + .setServicePropertiesWithResponse( + "res4410", + "sto8607", + new FileServicePropertiesInner() + .withProtocolSettings( + new ProtocolSettings() + .withSmb( + new SmbSetting() + .withVersions("SMB2.1;SMB3.0;SMB3.1.1") + .withAuthenticationMethods("NTLMv2;Kerberos") + .withKerberosTicketEncryption("RC4-HMAC;AES-256") + .withChannelEncryption("AES-128-CCM;AES-128-GCM;AES-256-GCM"))), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileServicesPut_EnableSecureSmbFeatures.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileServicesPut_EnableSecureSmbFeatures.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileServicesPut_EnableSecureSmbFeatures.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileShareAclsPatch.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileShareAclsPatch.java new file mode 100644 index 0000000000..ca48ce9f58 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileShareAclsPatch.java @@ -0,0 +1,54 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.FileShareInner; +import com.azure.resourcemanager.storage.models.AccessPolicy; +import com.azure.resourcemanager.storage.models.SignedIdentifier; +import java.time.OffsetDateTime; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for FileShares Update. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileShareAclsPatch.json + */ + /** + * Sample code: UpdateShareAcls. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateShareAcls(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getFileShares() + .updateWithResponse( + "res3376", + "sto328", + "share6185", + new FileShareInner() + .withSignedIdentifiers( + Arrays + .asList( + new SignedIdentifier() + .withId("MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI") + .withAccessPolicy( + new AccessPolicy() + .withStartTime(OffsetDateTime.parse("2021-04-01T08:49:37.0000000Z")) + .withExpiryTime(OffsetDateTime.parse("2021-05-01T08:49:37.0000000Z")) + .withPermission("rwd")))), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileShareAclsPatch.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileShareAclsPatch.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileShareAclsPatch.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileShareSnapshotsList.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileShareSnapshotsList.java new file mode 100644 index 0000000000..c7d6b2f731 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileShareSnapshotsList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for FileShares List. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileShareSnapshotsList.json + */ + /** + * Sample code: ListShareSnapshots. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listShareSnapshots(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getFileShares() + .list("res9290", "sto1590", null, null, "snapshots", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileShareSnapshotsList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileShareSnapshotsList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileShareSnapshotsList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesDelete.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesDelete.java new file mode 100644 index 0000000000..52f3a4b922 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for FileShares Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesDelete.json + */ + /** + * Sample code: DeleteShares. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteShares(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getFileShares() + .deleteWithResponse("res4079", "sto4506", "share9689", null, null, Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesDelete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesGet.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesGet.java new file mode 100644 index 0000000000..557f97c874 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for FileShares Get. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesGet.json + */ + /** + * Sample code: GetShares. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getShares(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getFileShares() + .getWithResponse("res9871", "sto6217", "share1634", null, null, Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesGet_Stats.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesGet_Stats.java new file mode 100644 index 0000000000..3043ec63e2 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesGet_Stats.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for FileShares Get. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesGet_Stats.json + */ + /** + * Sample code: GetShareStats. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getShareStats(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getFileShares() + .getWithResponse("res9871", "sto6217", "share1634", "stats", null, Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesGet_Stats.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesGet_Stats.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesGet_Stats.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesLease_Acquire.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesLease_Acquire.java new file mode 100644 index 0000000000..549d05e69c --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesLease_Acquire.java @@ -0,0 +1,29 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.LeaseShareAction; +import com.azure.resourcemanager.storage.models.LeaseShareRequest; + +/** Samples for FileShares Lease. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesLease_Acquire.json + */ + /** + * Sample code: Acquire a lease on a share. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void acquireALeaseOnAShare(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getFileShares() + .leaseWithResponse( + "res3376", + "sto328", + "share124", + null, + new LeaseShareRequest().withAction(LeaseShareAction.ACQUIRE).withLeaseDuration(-1), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesLease_Acquire.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesLease_Acquire.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesLease_Acquire.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesLease_Break.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesLease_Break.java new file mode 100644 index 0000000000..11b4bb2ecc --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesLease_Break.java @@ -0,0 +1,31 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.LeaseShareAction; +import com.azure.resourcemanager.storage.models.LeaseShareRequest; + +/** Samples for FileShares Lease. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesLease_Break.json + */ + /** + * Sample code: Break a lease on a share. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void breakALeaseOnAShare(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getFileShares() + .leaseWithResponse( + "res3376", + "sto328", + "share12", + null, + new LeaseShareRequest() + .withAction(LeaseShareAction.BREAK) + .withLeaseId("8698f513-fa75-44a1-b8eb-30ba336af27d"), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesLease_Break.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesLease_Break.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesLease_Break.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesList.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesList.java new file mode 100644 index 0000000000..c0b6a7c9ca --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for FileShares List. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesList.json + */ + /** + * Sample code: ListShares. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listShares(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getFileShares() + .list("res9290", "sto1590", null, null, null, Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesPatch.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesPatch.java new file mode 100644 index 0000000000..75743b4448 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesPatch.java @@ -0,0 +1,40 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.FileShareInner; +import java.util.HashMap; +import java.util.Map; + +/** Samples for FileShares Update. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesPatch.json + */ + /** + * Sample code: UpdateShares. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateShares(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getFileShares() + .updateWithResponse( + "res3376", + "sto328", + "share6185", + new FileShareInner().withMetadata(mapOf("type", "image")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesPatch.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesPatch.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesPatch.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesPut.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesPut.java new file mode 100644 index 0000000000..155a961e93 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesPut.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.FileShareInner; + +/** Samples for FileShares Create. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesPut.json + */ + /** + * Sample code: PutShares. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void putShares(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getFileShares() + .createWithResponse("res3376", "sto328", "share6185", new FileShareInner(), null, Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesPut.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesPut_AccessTier.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesPut_AccessTier.java new file mode 100644 index 0000000000..e27ed109b5 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesPut_AccessTier.java @@ -0,0 +1,29 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.FileShareInner; +import com.azure.resourcemanager.storage.models.ShareAccessTier; + +/** Samples for FileShares Create. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesPut_AccessTier.json + */ + /** + * Sample code: PutShares with Access Tier. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void putSharesWithAccessTier(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getFileShares() + .createWithResponse( + "res346", + "sto666", + "share1235", + new FileShareInner().withAccessTier(ShareAccessTier.HOT), + null, + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesPut_AccessTier.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesPut_AccessTier.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesPut_AccessTier.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesPut_NFS.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesPut_NFS.java new file mode 100644 index 0000000000..5a7eb01792 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesPut_NFS.java @@ -0,0 +1,29 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.FileShareInner; +import com.azure.resourcemanager.storage.models.EnabledProtocols; + +/** Samples for FileShares Create. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesPut_NFS.json + */ + /** + * Sample code: Create NFS Shares. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createNFSShares(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getFileShares() + .createWithResponse( + "res346", + "sto666", + "share1235", + new FileShareInner().withEnabledProtocols(EnabledProtocols.NFS), + null, + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesPut_NFS.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesPut_NFS.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesPut_NFS.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesRestore.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesRestore.java new file mode 100644 index 0000000000..34f8179bdd --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesRestore.java @@ -0,0 +1,27 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.DeletedShare; + +/** Samples for FileShares Restore. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/FileSharesRestore.json + */ + /** + * Sample code: RestoreShares. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void restoreShares(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getFileShares() + .restoreWithResponse( + "res3376", + "sto328", + "share1249", + new DeletedShare().withDeletedShareName("share1249").withDeletedShareVersion("1234567890"), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesRestore.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesRestore.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/FileSharesRestore.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserCreate.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserCreate.java new file mode 100644 index 0000000000..eccf522a5b --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserCreate.java @@ -0,0 +1,46 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.LocalUserInner; +import com.azure.resourcemanager.storage.models.PermissionScope; +import com.azure.resourcemanager.storage.models.SshPublicKey; +import java.util.Arrays; + +/** Samples for LocalUsersOperation CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserCreate.json + */ + /** + * Sample code: CreateLocalUser. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createLocalUser(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getLocalUsersOperations() + .createOrUpdateWithResponse( + "res6977", + "sto2527", + "user1", + new LocalUserInner() + .withPermissionScopes( + Arrays + .asList( + new PermissionScope() + .withPermissions("rwd") + .withService("file") + .withResourceName("share1"), + new PermissionScope() + .withPermissions("rw") + .withService("file") + .withResourceName("share2"))) + .withHomeDirectory("homedirectory") + .withSshAuthorizedKeys( + Arrays + .asList(new SshPublicKey().withDescription("key name").withKey("ssh-rsa keykeykeykeykey="))) + .withHasSshPassword(true), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserCreate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserDelete.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserDelete.java new file mode 100644 index 0000000000..1fad0a371a --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for LocalUsersOperation Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserDelete.json + */ + /** + * Sample code: DeleteLocalUser. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteLocalUser(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getLocalUsersOperations() + .deleteWithResponse("res6977", "sto2527", "user1", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserDelete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserGet.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserGet.java new file mode 100644 index 0000000000..ee86e42acd --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for LocalUsersOperation Get. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserGet.json + */ + /** + * Sample code: GetLocalUser. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getLocalUser(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getLocalUsersOperations() + .getWithResponse("res6977", "sto2527", "user1", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserListKeys.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserListKeys.java new file mode 100644 index 0000000000..29fed42857 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserListKeys.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for LocalUsersOperation ListKeys. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserListKeys.json + */ + /** + * Sample code: ListLocalUserKeys. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listLocalUserKeys(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getLocalUsersOperations() + .listKeysWithResponse("res6977", "sto2527", "user1", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserListKeys.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserListKeys.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserListKeys.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserRegeneratePassword.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserRegeneratePassword.java new file mode 100644 index 0000000000..fcde83b3a6 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserRegeneratePassword.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for LocalUsersOperation RegeneratePassword. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserRegeneratePassword.json + */ + /** + * Sample code: RegenerateLocalUserPassword. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void regenerateLocalUserPassword(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getLocalUsersOperations() + .regeneratePasswordWithResponse("res6977", "sto2527", "user1", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserRegeneratePassword.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserRegeneratePassword.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserRegeneratePassword.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserUpdate.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserUpdate.java new file mode 100644 index 0000000000..3c7e864b32 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserUpdate.java @@ -0,0 +1,31 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.LocalUserInner; + +/** Samples for LocalUsersOperation CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserUpdate.json + */ + /** + * Sample code: UpdateLocalUser. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateLocalUser(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getLocalUsersOperations() + .createOrUpdateWithResponse( + "res6977", + "sto2527", + "user1", + new LocalUserInner() + .withHomeDirectory("homedirectory2") + .withHasSharedKey(false) + .withHasSshKey(false) + .withHasSshPassword(false), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserUpdate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserUpdate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUserUpdate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUsersList.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUsersList.java new file mode 100644 index 0000000000..bc23ad7fe2 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUsersList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for LocalUsersOperation List. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUsersList.json + */ + /** + * Sample code: ListLocalUsers. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listLocalUsers(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getLocalUsersOperations() + .list("res6977", "sto2527", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUsersList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUsersList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/LocalUsersList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/NfsV3AccountCreate.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/NfsV3AccountCreate.java new file mode 100644 index 0000000000..bb54784c2d --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/NfsV3AccountCreate.java @@ -0,0 +1,64 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.Bypass; +import com.azure.resourcemanager.storage.models.DefaultAction; +import com.azure.resourcemanager.storage.models.Kind; +import com.azure.resourcemanager.storage.models.NetworkRuleSet; +import com.azure.resourcemanager.storage.models.Sku; +import com.azure.resourcemanager.storage.models.SkuName; +import com.azure.resourcemanager.storage.models.StorageAccountCreateParameters; +import com.azure.resourcemanager.storage.models.VirtualNetworkRule; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for StorageAccounts Create. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/NfsV3AccountCreate.json + */ + /** + * Sample code: NfsV3AccountCreate. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void nfsV3AccountCreate(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .create( + "res9101", + "sto4445", + new StorageAccountCreateParameters() + .withSku(new Sku().withName(SkuName.PREMIUM_LRS)) + .withKind(Kind.BLOCK_BLOB_STORAGE) + .withLocation("eastus") + .withNetworkRuleSet( + new NetworkRuleSet() + .withBypass(Bypass.AZURE_SERVICES) + .withVirtualNetworkRules( + Arrays + .asList( + new VirtualNetworkRule() + .withVirtualNetworkResourceId( + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Network/virtualNetworks/net123/subnets/subnet12"))) + .withIpRules(Arrays.asList()) + .withDefaultAction(DefaultAction.ALLOW)) + .withEnableHttpsTrafficOnly(false) + .withIsHnsEnabled(true) + .withEnableNfsV3(true), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/NfsV3AccountCreate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/NfsV3AccountCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/NfsV3AccountCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/ObjectLevelWormContainerMigration.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/ObjectLevelWormContainerMigration.java new file mode 100644 index 0000000000..df0b57209e --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/ObjectLevelWormContainerMigration.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for BlobContainers ObjectLevelWorm. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/ObjectLevelWormContainerMigration.json + */ + /** + * Sample code: VersionLevelWormContainerMigration. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void versionLevelWormContainerMigration(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getBlobContainers() + .objectLevelWorm("res1782", "sto7069", "container6397", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/ObjectLevelWormContainerMigration.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/ObjectLevelWormContainerMigration.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/ObjectLevelWormContainerMigration.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/OperationsList.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/OperationsList.java new file mode 100644 index 0000000000..f6fc4f9f2b --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/OperationsList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for Operations List. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/OperationsList.json + */ + /** + * Sample code: OperationsList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void operationsList(com.azure.resourcemanager.AzureResourceManager azure) { + azure.storageAccounts().manager().serviceClient().getOperations().list(Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/OperationsList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/OperationsList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/OperationsList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationDelete.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationDelete.java new file mode 100644 index 0000000000..fde47e5997 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for Queue Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationDelete.json + */ + /** + * Sample code: QueueOperationDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void queueOperationDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getQueues() + .deleteWithResponse("res3376", "sto328", "queue6185", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationDelete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationGet.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationGet.java new file mode 100644 index 0000000000..d1f1c86c9c --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for Queue Get. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationGet.json + */ + /** + * Sample code: QueueOperationGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void queueOperationGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getQueues() + .getWithResponse("res3376", "sto328", "queue6185", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationList.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationList.java new file mode 100644 index 0000000000..741c3a8bfe --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for Queue List. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationList.json + */ + /** + * Sample code: QueueOperationList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void queueOperationList(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getQueues() + .list("res9290", "sto328", null, null, Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationPatch.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationPatch.java new file mode 100644 index 0000000000..1a0a9b589d --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationPatch.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.StorageQueueInner; + +/** Samples for Queue Update. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationPatch.json + */ + /** + * Sample code: QueueOperationPatch. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void queueOperationPatch(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getQueues() + .updateWithResponse("res3376", "sto328", "queue6185", new StorageQueueInner(), Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationPatch.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationPatch.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationPatch.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationPut.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationPut.java new file mode 100644 index 0000000000..22c253cce0 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationPut.java @@ -0,0 +1,35 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.StorageQueueInner; +import java.util.HashMap; +import java.util.Map; + +/** Samples for Queue Create. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationPut.json + */ + /** + * Sample code: QueueOperationPut. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void queueOperationPut(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getQueues() + .createWithResponse("res3376", "sto328", "queue6185", new StorageQueueInner(), Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationPut.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationPutWithMetadata.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationPutWithMetadata.java new file mode 100644 index 0000000000..5d3c34f1f8 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationPutWithMetadata.java @@ -0,0 +1,40 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.StorageQueueInner; +import java.util.HashMap; +import java.util.Map; + +/** Samples for Queue Create. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationPutWithMetadata.json + */ + /** + * Sample code: QueueOperationPutWithMetadata. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void queueOperationPutWithMetadata(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getQueues() + .createWithResponse( + "res3376", + "sto328", + "queue6185", + new StorageQueueInner().withMetadata(mapOf("sample1", "meta1", "sample2", "meta2")), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationPutWithMetadata.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationPutWithMetadata.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueOperationPutWithMetadata.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueServicesGet.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueServicesGet.java new file mode 100644 index 0000000000..8a5b95a286 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueServicesGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for QueueServices GetServiceProperties. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueServicesGet.json + */ + /** + * Sample code: QueueServicesGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void queueServicesGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getQueueServices() + .getServicePropertiesWithResponse("res4410", "sto8607", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueServicesGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueServicesGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueServicesGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueServicesList.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueServicesList.java new file mode 100644 index 0000000000..80cbc51c86 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueServicesList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for QueueServices List. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueServicesList.json + */ + /** + * Sample code: QueueServicesList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void queueServicesList(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getQueueServices() + .listWithResponse("res9290", "sto1590", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueServicesList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueServicesList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueServicesList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueServicesPut.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueServicesPut.java new file mode 100644 index 0000000000..e393a95df7 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueServicesPut.java @@ -0,0 +1,68 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.QueueServicePropertiesInner; +import com.azure.resourcemanager.storage.models.CorsRule; +import com.azure.resourcemanager.storage.models.CorsRuleAllowedMethodsItem; +import com.azure.resourcemanager.storage.models.CorsRules; +import java.util.Arrays; + +/** Samples for QueueServices SetServiceProperties. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueServicesPut.json + */ + /** + * Sample code: QueueServicesPut. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void queueServicesPut(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getQueueServices() + .setServicePropertiesWithResponse( + "res4410", + "sto8607", + new QueueServicePropertiesInner() + .withCors( + new CorsRules() + .withCorsRules( + Arrays + .asList( + new CorsRule() + .withAllowedOrigins( + Arrays.asList("http://www.contoso.com", "http://www.fabrikam.com")) + .withAllowedMethods( + Arrays + .asList( + CorsRuleAllowedMethodsItem.GET, + CorsRuleAllowedMethodsItem.HEAD, + CorsRuleAllowedMethodsItem.POST, + CorsRuleAllowedMethodsItem.OPTIONS, + CorsRuleAllowedMethodsItem.MERGE, + CorsRuleAllowedMethodsItem.PUT)) + .withMaxAgeInSeconds(100) + .withExposedHeaders(Arrays.asList("x-ms-meta-*")) + .withAllowedHeaders( + Arrays.asList("x-ms-meta-abc", "x-ms-meta-data*", "x-ms-meta-target*")), + new CorsRule() + .withAllowedOrigins(Arrays.asList("*")) + .withAllowedMethods(Arrays.asList(CorsRuleAllowedMethodsItem.GET)) + .withMaxAgeInSeconds(2) + .withExposedHeaders(Arrays.asList("*")) + .withAllowedHeaders(Arrays.asList("*")), + new CorsRule() + .withAllowedOrigins( + Arrays.asList("http://www.abc23.com", "https://www.fabrikam.com/*")) + .withAllowedMethods( + Arrays + .asList( + CorsRuleAllowedMethodsItem.GET, CorsRuleAllowedMethodsItem.PUT)) + .withMaxAgeInSeconds(2000) + .withExposedHeaders( + Arrays.asList("x-ms-meta-abc", "x-ms-meta-data*", "x-ms-meta-target*")) + .withAllowedHeaders(Arrays.asList("x-ms-meta-12345675754564*"))))), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueServicesPut.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueServicesPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/QueueServicesPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/SKUList.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/SKUList.java new file mode 100644 index 0000000000..fb2189a3fb --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/SKUList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for Skus List. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/SKUList.json + */ + /** + * Sample code: SkuList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void skuList(com.azure.resourcemanager.AzureResourceManager azure) { + azure.storageAccounts().manager().serviceClient().getSkus().list(Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/SKUList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/SKUList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/SKUList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountAbortHierarchicalNamespaceMigration.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountAbortHierarchicalNamespaceMigration.java new file mode 100644 index 0000000000..d37af063ec --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountAbortHierarchicalNamespaceMigration.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for StorageAccounts AbortHierarchicalNamespaceMigration. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountAbortHierarchicalNamespaceMigration.json + */ + /** + * Sample code: StorageAccountAbortHierarchicalNamespaceMigration. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountAbortHierarchicalNamespaceMigration( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .abortHierarchicalNamespaceMigration("res4228", "sto2434", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountAbortHierarchicalNamespaceMigration.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountAbortHierarchicalNamespaceMigration.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountAbortHierarchicalNamespaceMigration.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCheckNameAvailability.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCheckNameAvailability.java new file mode 100644 index 0000000000..04a414394c --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCheckNameAvailability.java @@ -0,0 +1,23 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.StorageAccountCheckNameAvailabilityParameters; + +/** Samples for StorageAccounts CheckNameAvailability. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCheckNameAvailability.json + */ + /** + * Sample code: StorageAccountCheckNameAvailability. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountCheckNameAvailability(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .checkNameAvailabilityWithResponse( + new StorageAccountCheckNameAvailabilityParameters().withName("sto3363"), Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCheckNameAvailability.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCheckNameAvailability.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCheckNameAvailability.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreate.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreate.java new file mode 100644 index 0000000000..b6647b5c51 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreate.java @@ -0,0 +1,85 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.Encryption; +import com.azure.resourcemanager.storage.models.EncryptionService; +import com.azure.resourcemanager.storage.models.EncryptionServices; +import com.azure.resourcemanager.storage.models.ExpirationAction; +import com.azure.resourcemanager.storage.models.ExtendedLocation; +import com.azure.resourcemanager.storage.models.ExtendedLocationTypes; +import com.azure.resourcemanager.storage.models.KeyPolicy; +import com.azure.resourcemanager.storage.models.KeySource; +import com.azure.resourcemanager.storage.models.KeyType; +import com.azure.resourcemanager.storage.models.Kind; +import com.azure.resourcemanager.storage.models.MinimumTlsVersion; +import com.azure.resourcemanager.storage.models.RoutingChoice; +import com.azure.resourcemanager.storage.models.RoutingPreference; +import com.azure.resourcemanager.storage.models.SasPolicy; +import com.azure.resourcemanager.storage.models.Sku; +import com.azure.resourcemanager.storage.models.SkuName; +import com.azure.resourcemanager.storage.models.StorageAccountCreateParameters; +import java.util.HashMap; +import java.util.Map; + +/** Samples for StorageAccounts Create. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreate.json + */ + /** + * Sample code: StorageAccountCreate. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountCreate(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .create( + "res9101", + "sto4445", + new StorageAccountCreateParameters() + .withSku(new Sku().withName(SkuName.STANDARD_GRS)) + .withKind(Kind.STORAGE) + .withLocation("eastus") + .withExtendedLocation( + new ExtendedLocation().withName("losangeles001").withType(ExtendedLocationTypes.EDGE_ZONE)) + .withTags(mapOf("key1", "value1", "key2", "value2")) + .withSasPolicy( + new SasPolicy() + .withSasExpirationPeriod("1.15:59:59") + .withExpirationAction(ExpirationAction.LOG)) + .withKeyPolicy(new KeyPolicy().withKeyExpirationPeriodInDays(20)) + .withEncryption( + new Encryption() + .withServices( + new EncryptionServices() + .withBlob(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT)) + .withFile(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT))) + .withKeySource(KeySource.MICROSOFT_STORAGE) + .withRequireInfrastructureEncryption(false)) + .withIsSftpEnabled(true) + .withIsHnsEnabled(true) + .withRoutingPreference( + new RoutingPreference() + .withRoutingChoice(RoutingChoice.MICROSOFT_ROUTING) + .withPublishMicrosoftEndpoints(true) + .withPublishInternetEndpoints(true)) + .withAllowBlobPublicAccess(false) + .withMinimumTlsVersion(MinimumTlsVersion.TLS1_2) + .withAllowSharedKeyAccess(true) + .withDefaultToOAuthAuthentication(false), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateAllowedCopyScopeToAAD.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateAllowedCopyScopeToAAD.java new file mode 100644 index 0000000000..f0251dd948 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateAllowedCopyScopeToAAD.java @@ -0,0 +1,81 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.AllowedCopyScope; +import com.azure.resourcemanager.storage.models.Encryption; +import com.azure.resourcemanager.storage.models.EncryptionService; +import com.azure.resourcemanager.storage.models.EncryptionServices; +import com.azure.resourcemanager.storage.models.ExpirationAction; +import com.azure.resourcemanager.storage.models.KeyPolicy; +import com.azure.resourcemanager.storage.models.KeySource; +import com.azure.resourcemanager.storage.models.KeyType; +import com.azure.resourcemanager.storage.models.Kind; +import com.azure.resourcemanager.storage.models.MinimumTlsVersion; +import com.azure.resourcemanager.storage.models.RoutingChoice; +import com.azure.resourcemanager.storage.models.RoutingPreference; +import com.azure.resourcemanager.storage.models.SasPolicy; +import com.azure.resourcemanager.storage.models.Sku; +import com.azure.resourcemanager.storage.models.SkuName; +import com.azure.resourcemanager.storage.models.StorageAccountCreateParameters; +import java.util.HashMap; +import java.util.Map; + +/** Samples for StorageAccounts Create. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateAllowedCopyScopeToAAD.json + */ + /** + * Sample code: StorageAccountCreateAllowedCopyScopeToAAD. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountCreateAllowedCopyScopeToAAD(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .create( + "res9101", + "sto4445", + new StorageAccountCreateParameters() + .withSku(new Sku().withName(SkuName.STANDARD_GRS)) + .withKind(Kind.STORAGE) + .withLocation("eastus") + .withTags(mapOf("key1", "value1", "key2", "value2")) + .withAllowedCopyScope(AllowedCopyScope.AAD) + .withSasPolicy( + new SasPolicy() + .withSasExpirationPeriod("1.15:59:59") + .withExpirationAction(ExpirationAction.LOG)) + .withKeyPolicy(new KeyPolicy().withKeyExpirationPeriodInDays(20)) + .withEncryption( + new Encryption() + .withServices( + new EncryptionServices() + .withBlob(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT)) + .withFile(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT))) + .withKeySource(KeySource.MICROSOFT_STORAGE) + .withRequireInfrastructureEncryption(false)) + .withIsHnsEnabled(true) + .withRoutingPreference( + new RoutingPreference() + .withRoutingChoice(RoutingChoice.MICROSOFT_ROUTING) + .withPublishMicrosoftEndpoints(true) + .withPublishInternetEndpoints(true)) + .withAllowBlobPublicAccess(false) + .withMinimumTlsVersion(MinimumTlsVersion.TLS1_2) + .withAllowSharedKeyAccess(true), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateAllowedCopyScopeToAAD.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateAllowedCopyScopeToAAD.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateAllowedCopyScopeToAAD.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateAllowedCopyScopeToPrivateLink.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateAllowedCopyScopeToPrivateLink.java new file mode 100644 index 0000000000..1eb9ef84f0 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateAllowedCopyScopeToPrivateLink.java @@ -0,0 +1,82 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.AllowedCopyScope; +import com.azure.resourcemanager.storage.models.Encryption; +import com.azure.resourcemanager.storage.models.EncryptionService; +import com.azure.resourcemanager.storage.models.EncryptionServices; +import com.azure.resourcemanager.storage.models.ExpirationAction; +import com.azure.resourcemanager.storage.models.KeyPolicy; +import com.azure.resourcemanager.storage.models.KeySource; +import com.azure.resourcemanager.storage.models.KeyType; +import com.azure.resourcemanager.storage.models.Kind; +import com.azure.resourcemanager.storage.models.MinimumTlsVersion; +import com.azure.resourcemanager.storage.models.RoutingChoice; +import com.azure.resourcemanager.storage.models.RoutingPreference; +import com.azure.resourcemanager.storage.models.SasPolicy; +import com.azure.resourcemanager.storage.models.Sku; +import com.azure.resourcemanager.storage.models.SkuName; +import com.azure.resourcemanager.storage.models.StorageAccountCreateParameters; +import java.util.HashMap; +import java.util.Map; + +/** Samples for StorageAccounts Create. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateAllowedCopyScopeToPrivateLink.json + */ + /** + * Sample code: StorageAccountCreateAllowedCopyScopeToPrivateLink. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountCreateAllowedCopyScopeToPrivateLink( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .create( + "res9101", + "sto4445", + new StorageAccountCreateParameters() + .withSku(new Sku().withName(SkuName.STANDARD_GRS)) + .withKind(Kind.STORAGE) + .withLocation("eastus") + .withTags(mapOf("key1", "value1", "key2", "value2")) + .withAllowedCopyScope(AllowedCopyScope.PRIVATE_LINK) + .withSasPolicy( + new SasPolicy() + .withSasExpirationPeriod("1.15:59:59") + .withExpirationAction(ExpirationAction.LOG)) + .withKeyPolicy(new KeyPolicy().withKeyExpirationPeriodInDays(20)) + .withEncryption( + new Encryption() + .withServices( + new EncryptionServices() + .withBlob(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT)) + .withFile(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT))) + .withKeySource(KeySource.MICROSOFT_STORAGE) + .withRequireInfrastructureEncryption(false)) + .withIsHnsEnabled(true) + .withRoutingPreference( + new RoutingPreference() + .withRoutingChoice(RoutingChoice.MICROSOFT_ROUTING) + .withPublishMicrosoftEndpoints(true) + .withPublishInternetEndpoints(true)) + .withAllowBlobPublicAccess(false) + .withMinimumTlsVersion(MinimumTlsVersion.TLS1_2) + .withAllowSharedKeyAccess(true), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateAllowedCopyScopeToPrivateLink.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateAllowedCopyScopeToPrivateLink.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateAllowedCopyScopeToPrivateLink.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateDisallowPublicNetworkAccess.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateDisallowPublicNetworkAccess.java new file mode 100644 index 0000000000..1dcd0b51da --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateDisallowPublicNetworkAccess.java @@ -0,0 +1,86 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.Encryption; +import com.azure.resourcemanager.storage.models.EncryptionService; +import com.azure.resourcemanager.storage.models.EncryptionServices; +import com.azure.resourcemanager.storage.models.ExpirationAction; +import com.azure.resourcemanager.storage.models.ExtendedLocation; +import com.azure.resourcemanager.storage.models.ExtendedLocationTypes; +import com.azure.resourcemanager.storage.models.KeyPolicy; +import com.azure.resourcemanager.storage.models.KeySource; +import com.azure.resourcemanager.storage.models.KeyType; +import com.azure.resourcemanager.storage.models.Kind; +import com.azure.resourcemanager.storage.models.MinimumTlsVersion; +import com.azure.resourcemanager.storage.models.PublicNetworkAccess; +import com.azure.resourcemanager.storage.models.RoutingChoice; +import com.azure.resourcemanager.storage.models.RoutingPreference; +import com.azure.resourcemanager.storage.models.SasPolicy; +import com.azure.resourcemanager.storage.models.Sku; +import com.azure.resourcemanager.storage.models.SkuName; +import com.azure.resourcemanager.storage.models.StorageAccountCreateParameters; +import java.util.HashMap; +import java.util.Map; + +/** Samples for StorageAccounts Create. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateDisallowPublicNetworkAccess.json + */ + /** + * Sample code: StorageAccountCreateDisallowPublicNetworkAccess. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountCreateDisallowPublicNetworkAccess( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .create( + "res9101", + "sto4445", + new StorageAccountCreateParameters() + .withSku(new Sku().withName(SkuName.STANDARD_GRS)) + .withKind(Kind.STORAGE) + .withLocation("eastus") + .withExtendedLocation( + new ExtendedLocation().withName("losangeles001").withType(ExtendedLocationTypes.EDGE_ZONE)) + .withTags(mapOf("key1", "value1", "key2", "value2")) + .withPublicNetworkAccess(PublicNetworkAccess.DISABLED) + .withSasPolicy( + new SasPolicy() + .withSasExpirationPeriod("1.15:59:59") + .withExpirationAction(ExpirationAction.LOG)) + .withKeyPolicy(new KeyPolicy().withKeyExpirationPeriodInDays(20)) + .withEncryption( + new Encryption() + .withServices( + new EncryptionServices() + .withBlob(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT)) + .withFile(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT))) + .withKeySource(KeySource.MICROSOFT_STORAGE) + .withRequireInfrastructureEncryption(false)) + .withIsHnsEnabled(true) + .withRoutingPreference( + new RoutingPreference() + .withRoutingChoice(RoutingChoice.MICROSOFT_ROUTING) + .withPublishMicrosoftEndpoints(true) + .withPublishInternetEndpoints(true)) + .withAllowBlobPublicAccess(false) + .withMinimumTlsVersion(MinimumTlsVersion.TLS1_2) + .withAllowSharedKeyAccess(true), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateDisallowPublicNetworkAccess.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateDisallowPublicNetworkAccess.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateDisallowPublicNetworkAccess.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.java new file mode 100644 index 0000000000..adfef60047 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.java @@ -0,0 +1,88 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.DnsEndpointType; +import com.azure.resourcemanager.storage.models.Encryption; +import com.azure.resourcemanager.storage.models.EncryptionService; +import com.azure.resourcemanager.storage.models.EncryptionServices; +import com.azure.resourcemanager.storage.models.ExpirationAction; +import com.azure.resourcemanager.storage.models.ExtendedLocation; +import com.azure.resourcemanager.storage.models.ExtendedLocationTypes; +import com.azure.resourcemanager.storage.models.KeyPolicy; +import com.azure.resourcemanager.storage.models.KeySource; +import com.azure.resourcemanager.storage.models.KeyType; +import com.azure.resourcemanager.storage.models.Kind; +import com.azure.resourcemanager.storage.models.MinimumTlsVersion; +import com.azure.resourcemanager.storage.models.RoutingChoice; +import com.azure.resourcemanager.storage.models.RoutingPreference; +import com.azure.resourcemanager.storage.models.SasPolicy; +import com.azure.resourcemanager.storage.models.Sku; +import com.azure.resourcemanager.storage.models.SkuName; +import com.azure.resourcemanager.storage.models.StorageAccountCreateParameters; +import java.util.HashMap; +import java.util.Map; + +/** Samples for StorageAccounts Create. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json + */ + /** + * Sample code: StorageAccountCreateDnsEndpointTypeToAzureDnsZone. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountCreateDnsEndpointTypeToAzureDnsZone( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .create( + "res9101", + "sto4445", + new StorageAccountCreateParameters() + .withSku(new Sku().withName(SkuName.STANDARD_GRS)) + .withKind(Kind.STORAGE) + .withLocation("eastus") + .withExtendedLocation( + new ExtendedLocation().withName("losangeles001").withType(ExtendedLocationTypes.EDGE_ZONE)) + .withTags(mapOf("key1", "value1", "key2", "value2")) + .withSasPolicy( + new SasPolicy() + .withSasExpirationPeriod("1.15:59:59") + .withExpirationAction(ExpirationAction.LOG)) + .withKeyPolicy(new KeyPolicy().withKeyExpirationPeriodInDays(20)) + .withEncryption( + new Encryption() + .withServices( + new EncryptionServices() + .withBlob(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT)) + .withFile(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT))) + .withKeySource(KeySource.MICROSOFT_STORAGE) + .withRequireInfrastructureEncryption(false)) + .withIsSftpEnabled(true) + .withIsHnsEnabled(true) + .withRoutingPreference( + new RoutingPreference() + .withRoutingChoice(RoutingChoice.MICROSOFT_ROUTING) + .withPublishMicrosoftEndpoints(true) + .withPublishInternetEndpoints(true)) + .withAllowBlobPublicAccess(false) + .withMinimumTlsVersion(MinimumTlsVersion.TLS1_2) + .withAllowSharedKeyAccess(true) + .withDefaultToOAuthAuthentication(false) + .withDnsEndpointType(DnsEndpointType.AZURE_DNS_ZONE), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateDnsEndpointTypeToStandard.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateDnsEndpointTypeToStandard.java new file mode 100644 index 0000000000..f0208672e0 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateDnsEndpointTypeToStandard.java @@ -0,0 +1,88 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.DnsEndpointType; +import com.azure.resourcemanager.storage.models.Encryption; +import com.azure.resourcemanager.storage.models.EncryptionService; +import com.azure.resourcemanager.storage.models.EncryptionServices; +import com.azure.resourcemanager.storage.models.ExpirationAction; +import com.azure.resourcemanager.storage.models.ExtendedLocation; +import com.azure.resourcemanager.storage.models.ExtendedLocationTypes; +import com.azure.resourcemanager.storage.models.KeyPolicy; +import com.azure.resourcemanager.storage.models.KeySource; +import com.azure.resourcemanager.storage.models.KeyType; +import com.azure.resourcemanager.storage.models.Kind; +import com.azure.resourcemanager.storage.models.MinimumTlsVersion; +import com.azure.resourcemanager.storage.models.RoutingChoice; +import com.azure.resourcemanager.storage.models.RoutingPreference; +import com.azure.resourcemanager.storage.models.SasPolicy; +import com.azure.resourcemanager.storage.models.Sku; +import com.azure.resourcemanager.storage.models.SkuName; +import com.azure.resourcemanager.storage.models.StorageAccountCreateParameters; +import java.util.HashMap; +import java.util.Map; + +/** Samples for StorageAccounts Create. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateDnsEndpointTypeToStandard.json + */ + /** + * Sample code: StorageAccountCreateDnsEndpointTypeToStandard. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountCreateDnsEndpointTypeToStandard( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .create( + "res9101", + "sto4445", + new StorageAccountCreateParameters() + .withSku(new Sku().withName(SkuName.STANDARD_GRS)) + .withKind(Kind.STORAGE) + .withLocation("eastus") + .withExtendedLocation( + new ExtendedLocation().withName("losangeles001").withType(ExtendedLocationTypes.EDGE_ZONE)) + .withTags(mapOf("key1", "value1", "key2", "value2")) + .withSasPolicy( + new SasPolicy() + .withSasExpirationPeriod("1.15:59:59") + .withExpirationAction(ExpirationAction.LOG)) + .withKeyPolicy(new KeyPolicy().withKeyExpirationPeriodInDays(20)) + .withEncryption( + new Encryption() + .withServices( + new EncryptionServices() + .withBlob(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT)) + .withFile(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT))) + .withKeySource(KeySource.MICROSOFT_STORAGE) + .withRequireInfrastructureEncryption(false)) + .withIsSftpEnabled(true) + .withIsHnsEnabled(true) + .withRoutingPreference( + new RoutingPreference() + .withRoutingChoice(RoutingChoice.MICROSOFT_ROUTING) + .withPublishMicrosoftEndpoints(true) + .withPublishInternetEndpoints(true)) + .withAllowBlobPublicAccess(false) + .withMinimumTlsVersion(MinimumTlsVersion.TLS1_2) + .withAllowSharedKeyAccess(true) + .withDefaultToOAuthAuthentication(false) + .withDnsEndpointType(DnsEndpointType.STANDARD), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateDnsEndpointTypeToStandard.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateDnsEndpointTypeToStandard.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateDnsEndpointTypeToStandard.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateEnablePublicNetworkAccess.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateEnablePublicNetworkAccess.java new file mode 100644 index 0000000000..62a161d126 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateEnablePublicNetworkAccess.java @@ -0,0 +1,86 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.Encryption; +import com.azure.resourcemanager.storage.models.EncryptionService; +import com.azure.resourcemanager.storage.models.EncryptionServices; +import com.azure.resourcemanager.storage.models.ExpirationAction; +import com.azure.resourcemanager.storage.models.ExtendedLocation; +import com.azure.resourcemanager.storage.models.ExtendedLocationTypes; +import com.azure.resourcemanager.storage.models.KeyPolicy; +import com.azure.resourcemanager.storage.models.KeySource; +import com.azure.resourcemanager.storage.models.KeyType; +import com.azure.resourcemanager.storage.models.Kind; +import com.azure.resourcemanager.storage.models.MinimumTlsVersion; +import com.azure.resourcemanager.storage.models.PublicNetworkAccess; +import com.azure.resourcemanager.storage.models.RoutingChoice; +import com.azure.resourcemanager.storage.models.RoutingPreference; +import com.azure.resourcemanager.storage.models.SasPolicy; +import com.azure.resourcemanager.storage.models.Sku; +import com.azure.resourcemanager.storage.models.SkuName; +import com.azure.resourcemanager.storage.models.StorageAccountCreateParameters; +import java.util.HashMap; +import java.util.Map; + +/** Samples for StorageAccounts Create. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateEnablePublicNetworkAccess.json + */ + /** + * Sample code: StorageAccountCreateEnablePublicNetworkAccess. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountCreateEnablePublicNetworkAccess( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .create( + "res9101", + "sto4445", + new StorageAccountCreateParameters() + .withSku(new Sku().withName(SkuName.STANDARD_GRS)) + .withKind(Kind.STORAGE) + .withLocation("eastus") + .withExtendedLocation( + new ExtendedLocation().withName("losangeles001").withType(ExtendedLocationTypes.EDGE_ZONE)) + .withTags(mapOf("key1", "value1", "key2", "value2")) + .withPublicNetworkAccess(PublicNetworkAccess.ENABLED) + .withSasPolicy( + new SasPolicy() + .withSasExpirationPeriod("1.15:59:59") + .withExpirationAction(ExpirationAction.LOG)) + .withKeyPolicy(new KeyPolicy().withKeyExpirationPeriodInDays(20)) + .withEncryption( + new Encryption() + .withServices( + new EncryptionServices() + .withBlob(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT)) + .withFile(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT))) + .withKeySource(KeySource.MICROSOFT_STORAGE) + .withRequireInfrastructureEncryption(false)) + .withIsHnsEnabled(true) + .withRoutingPreference( + new RoutingPreference() + .withRoutingChoice(RoutingChoice.MICROSOFT_ROUTING) + .withPublishMicrosoftEndpoints(true) + .withPublishInternetEndpoints(true)) + .withAllowBlobPublicAccess(false) + .withMinimumTlsVersion(MinimumTlsVersion.TLS1_2) + .withAllowSharedKeyAccess(true), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateEnablePublicNetworkAccess.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateEnablePublicNetworkAccess.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateEnablePublicNetworkAccess.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateObjectReplicationPolicyOnDestination.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateObjectReplicationPolicyOnDestination.java new file mode 100644 index 0000000000..ce80c8cde3 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateObjectReplicationPolicyOnDestination.java @@ -0,0 +1,42 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.ObjectReplicationPolicyInner; +import com.azure.resourcemanager.storage.models.ObjectReplicationPolicyFilter; +import com.azure.resourcemanager.storage.models.ObjectReplicationPolicyRule; +import java.util.Arrays; + +/** Samples for ObjectReplicationPoliciesOperation CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateObjectReplicationPolicyOnDestination.json + */ + /** + * Sample code: StorageAccountCreateObjectReplicationPolicyOnDestination. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountCreateObjectReplicationPolicyOnDestination( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getObjectReplicationPoliciesOperations() + .createOrUpdateWithResponse( + "res7687", + "dst112", + "default", + new ObjectReplicationPolicyInner() + .withSourceAccount("src1122") + .withDestinationAccount("dst112") + .withRules( + Arrays + .asList( + new ObjectReplicationPolicyRule() + .withSourceContainer("scont139") + .withDestinationContainer("dcont139") + .withFilters( + new ObjectReplicationPolicyFilter() + .withPrefixMatch(Arrays.asList("blobA", "blobB"))))), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateObjectReplicationPolicyOnDestination.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateObjectReplicationPolicyOnDestination.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateObjectReplicationPolicyOnDestination.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateObjectReplicationPolicyOnSource.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateObjectReplicationPolicyOnSource.java new file mode 100644 index 0000000000..440bef75cf --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateObjectReplicationPolicyOnSource.java @@ -0,0 +1,44 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.ObjectReplicationPolicyInner; +import com.azure.resourcemanager.storage.models.ObjectReplicationPolicyFilter; +import com.azure.resourcemanager.storage.models.ObjectReplicationPolicyRule; +import java.util.Arrays; + +/** Samples for ObjectReplicationPoliciesOperation CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateObjectReplicationPolicyOnSource.json + */ + /** + * Sample code: StorageAccountCreateObjectReplicationPolicyOnSource. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountCreateObjectReplicationPolicyOnSource( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getObjectReplicationPoliciesOperations() + .createOrUpdateWithResponse( + "res7687", + "src1122", + "2a20bb73-5717-4635-985a-5d4cf777438f", + new ObjectReplicationPolicyInner() + .withSourceAccount("src1122") + .withDestinationAccount("dst112") + .withRules( + Arrays + .asList( + new ObjectReplicationPolicyRule() + .withRuleId("d5d18a48-8801-4554-aeaa-74faf65f5ef9") + .withSourceContainer("scont139") + .withDestinationContainer("dcont139") + .withFilters( + new ObjectReplicationPolicyFilter() + .withPrefixMatch(Arrays.asList("blobA", "blobB")) + .withMinCreationTime("2020-02-19T16:05:00Z")))), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateObjectReplicationPolicyOnSource.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateObjectReplicationPolicyOnSource.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateObjectReplicationPolicyOnSource.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreatePremiumBlockBlobStorage.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreatePremiumBlockBlobStorage.java new file mode 100644 index 0000000000..818a8e9769 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreatePremiumBlockBlobStorage.java @@ -0,0 +1,63 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.Encryption; +import com.azure.resourcemanager.storage.models.EncryptionService; +import com.azure.resourcemanager.storage.models.EncryptionServices; +import com.azure.resourcemanager.storage.models.KeySource; +import com.azure.resourcemanager.storage.models.KeyType; +import com.azure.resourcemanager.storage.models.Kind; +import com.azure.resourcemanager.storage.models.MinimumTlsVersion; +import com.azure.resourcemanager.storage.models.Sku; +import com.azure.resourcemanager.storage.models.SkuName; +import com.azure.resourcemanager.storage.models.StorageAccountCreateParameters; +import java.util.HashMap; +import java.util.Map; + +/** Samples for StorageAccounts Create. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreatePremiumBlockBlobStorage.json + */ + /** + * Sample code: StorageAccountCreatePremiumBlockBlobStorage. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountCreatePremiumBlockBlobStorage( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .create( + "res9101", + "sto4445", + new StorageAccountCreateParameters() + .withSku(new Sku().withName(SkuName.PREMIUM_LRS)) + .withKind(Kind.BLOCK_BLOB_STORAGE) + .withLocation("eastus") + .withTags(mapOf("key1", "value1", "key2", "value2")) + .withEncryption( + new Encryption() + .withServices( + new EncryptionServices() + .withBlob(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT)) + .withFile(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT))) + .withKeySource(KeySource.MICROSOFT_STORAGE) + .withRequireInfrastructureEncryption(false)) + .withMinimumTlsVersion(MinimumTlsVersion.TLS1_2) + .withAllowSharedKeyAccess(true), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreatePremiumBlockBlobStorage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreatePremiumBlockBlobStorage.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreatePremiumBlockBlobStorage.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.java new file mode 100644 index 0000000000..193960d955 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.java @@ -0,0 +1,79 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.Encryption; +import com.azure.resourcemanager.storage.models.EncryptionIdentity; +import com.azure.resourcemanager.storage.models.EncryptionService; +import com.azure.resourcemanager.storage.models.EncryptionServices; +import com.azure.resourcemanager.storage.models.Identity; +import com.azure.resourcemanager.storage.models.IdentityType; +import com.azure.resourcemanager.storage.models.KeySource; +import com.azure.resourcemanager.storage.models.KeyType; +import com.azure.resourcemanager.storage.models.KeyVaultProperties; +import com.azure.resourcemanager.storage.models.Kind; +import com.azure.resourcemanager.storage.models.Sku; +import com.azure.resourcemanager.storage.models.SkuName; +import com.azure.resourcemanager.storage.models.StorageAccountCreateParameters; +import com.azure.resourcemanager.storage.models.UserAssignedIdentity; +import java.util.HashMap; +import java.util.Map; + +/** Samples for StorageAccounts Create. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json + */ + /** + * Sample code: StorageAccountCreateUserAssignedEncryptionIdentityWithCMK. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountCreateUserAssignedEncryptionIdentityWithCMK( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .create( + "res9101", + "sto4445", + new StorageAccountCreateParameters() + .withSku(new Sku().withName(SkuName.STANDARD_LRS)) + .withKind(Kind.STORAGE) + .withLocation("eastus") + .withIdentity( + new Identity() + .withType(IdentityType.USER_ASSIGNED) + .withUserAssignedIdentities( + mapOf( + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}", + new UserAssignedIdentity()))) + .withEncryption( + new Encryption() + .withServices( + new EncryptionServices() + .withBlob(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT)) + .withFile(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT))) + .withKeySource(KeySource.MICROSOFT_KEYVAULT) + .withKeyVaultProperties( + new KeyVaultProperties() + .withKeyName("wrappingKey") + .withKeyVersion("") + .withKeyVaultUri("https://myvault8569.vault.azure.net")) + .withEncryptionIdentity( + new EncryptionIdentity() + .withEncryptionUserAssignedIdentity( + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}"))), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.java new file mode 100644 index 0000000000..1ec4977da2 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.java @@ -0,0 +1,80 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.Encryption; +import com.azure.resourcemanager.storage.models.EncryptionIdentity; +import com.azure.resourcemanager.storage.models.EncryptionService; +import com.azure.resourcemanager.storage.models.EncryptionServices; +import com.azure.resourcemanager.storage.models.Identity; +import com.azure.resourcemanager.storage.models.IdentityType; +import com.azure.resourcemanager.storage.models.KeySource; +import com.azure.resourcemanager.storage.models.KeyType; +import com.azure.resourcemanager.storage.models.KeyVaultProperties; +import com.azure.resourcemanager.storage.models.Kind; +import com.azure.resourcemanager.storage.models.Sku; +import com.azure.resourcemanager.storage.models.SkuName; +import com.azure.resourcemanager.storage.models.StorageAccountCreateParameters; +import com.azure.resourcemanager.storage.models.UserAssignedIdentity; +import java.util.HashMap; +import java.util.Map; + +/** Samples for StorageAccounts Create. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json + */ + /** + * Sample code: StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .create( + "res131918", + "sto131918", + new StorageAccountCreateParameters() + .withSku(new Sku().withName(SkuName.STANDARD_LRS)) + .withKind(Kind.STORAGE) + .withLocation("eastus") + .withIdentity( + new Identity() + .withType(IdentityType.USER_ASSIGNED) + .withUserAssignedIdentities( + mapOf( + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}", + new UserAssignedIdentity()))) + .withEncryption( + new Encryption() + .withServices( + new EncryptionServices() + .withBlob(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT)) + .withFile(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT))) + .withKeySource(KeySource.MICROSOFT_KEYVAULT) + .withKeyVaultProperties( + new KeyVaultProperties() + .withKeyName("wrappingKey") + .withKeyVersion("") + .withKeyVaultUri("https://myvault8569.vault.azure.net")) + .withEncryptionIdentity( + new EncryptionIdentity() + .withEncryptionUserAssignedIdentity( + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}") + .withEncryptionFederatedIdentityClientId("f83c6b1b-4d34-47e4-bb34-9d83df58b540"))), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateWithImmutabilityPolicy.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateWithImmutabilityPolicy.java new file mode 100644 index 0000000000..cea997d1c3 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateWithImmutabilityPolicy.java @@ -0,0 +1,61 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.AccountImmutabilityPolicyProperties; +import com.azure.resourcemanager.storage.models.AccountImmutabilityPolicyState; +import com.azure.resourcemanager.storage.models.ExtendedLocation; +import com.azure.resourcemanager.storage.models.ExtendedLocationTypes; +import com.azure.resourcemanager.storage.models.ImmutableStorageAccount; +import com.azure.resourcemanager.storage.models.Kind; +import com.azure.resourcemanager.storage.models.Sku; +import com.azure.resourcemanager.storage.models.SkuName; +import com.azure.resourcemanager.storage.models.StorageAccountCreateParameters; +import java.util.HashMap; +import java.util.Map; + +/** Samples for StorageAccounts Create. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateWithImmutabilityPolicy.json + */ + /** + * Sample code: StorageAccountCreateWithImmutabilityPolicy. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountCreateWithImmutabilityPolicy( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .create( + "res9101", + "sto4445", + new StorageAccountCreateParameters() + .withSku(new Sku().withName(SkuName.STANDARD_GRS)) + .withKind(Kind.STORAGE) + .withLocation("eastus") + .withExtendedLocation( + new ExtendedLocation().withName("losangeles001").withType(ExtendedLocationTypes.EDGE_ZONE)) + .withImmutableStorageWithVersioning( + new ImmutableStorageAccount() + .withEnabled(true) + .withImmutabilityPolicy( + new AccountImmutabilityPolicyProperties() + .withImmutabilityPeriodSinceCreationInDays(15) + .withState(AccountImmutabilityPolicyState.UNLOCKED) + .withAllowProtectedAppendWrites(true))), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateWithImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateWithImmutabilityPolicy.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountCreateWithImmutabilityPolicy.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountDelete.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountDelete.java new file mode 100644 index 0000000000..2e7c274268 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for StorageAccounts Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDelete.json + */ + /** + * Sample code: StorageAccountDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .deleteWithResponse("res4228", "sto2434", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountDelete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountDeleteBlobInventoryPolicy.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountDeleteBlobInventoryPolicy.java new file mode 100644 index 0000000000..bbb44f6b65 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountDeleteBlobInventoryPolicy.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.BlobInventoryPolicyName; + +/** Samples for BlobInventoryPolicies Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDeleteBlobInventoryPolicy.json + */ + /** + * Sample code: StorageAccountDeleteBlobInventoryPolicy. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountDeleteBlobInventoryPolicy(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getBlobInventoryPolicies() + .deleteWithResponse("res6977", "sto2527", BlobInventoryPolicyName.DEFAULT, Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountDeleteBlobInventoryPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountDeleteBlobInventoryPolicy.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountDeleteBlobInventoryPolicy.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountDeleteManagementPolicy.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountDeleteManagementPolicy.java new file mode 100644 index 0000000000..a2a4d7f51a --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountDeleteManagementPolicy.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.ManagementPolicyName; + +/** Samples for ManagementPolicies Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDeleteManagementPolicy.json + */ + /** + * Sample code: StorageAccountDeleteManagementPolicies. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountDeleteManagementPolicies(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getManagementPolicies() + .deleteWithResponse("res6977", "sto2527", ManagementPolicyName.DEFAULT, Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountDeleteManagementPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountDeleteManagementPolicy.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountDeleteManagementPolicy.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountDeleteObjectReplicationPolicy.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountDeleteObjectReplicationPolicy.java new file mode 100644 index 0000000000..150f4ccc5e --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountDeleteObjectReplicationPolicy.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for ObjectReplicationPoliciesOperation Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDeleteObjectReplicationPolicy.json + */ + /** + * Sample code: StorageAccountDeleteObjectReplicationPolicies. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountDeleteObjectReplicationPolicies( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getObjectReplicationPoliciesOperations() + .deleteWithResponse("res6977", "sto2527", "{objectReplicationPolicy-Id}", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountDeleteObjectReplicationPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountDeleteObjectReplicationPolicy.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountDeleteObjectReplicationPolicy.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountDeletePrivateEndpointConnection.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountDeletePrivateEndpointConnection.java new file mode 100644 index 0000000000..96b3827119 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountDeletePrivateEndpointConnection.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateEndpointConnections Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDeletePrivateEndpointConnection.json + */ + /** + * Sample code: StorageAccountDeletePrivateEndpointConnection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountDeletePrivateEndpointConnection( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getPrivateEndpointConnections() + .deleteWithResponse("res6977", "sto2527", "{privateEndpointConnectionName}", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountDeletePrivateEndpointConnection.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountDeletePrivateEndpointConnection.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountDeletePrivateEndpointConnection.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountEnableAD.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountEnableAD.java new file mode 100644 index 0000000000..f717a98c3c --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountEnableAD.java @@ -0,0 +1,56 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.ActiveDirectoryProperties; +import com.azure.resourcemanager.storage.models.ActiveDirectoryPropertiesAccountType; +import com.azure.resourcemanager.storage.models.AzureFilesIdentityBasedAuthentication; +import com.azure.resourcemanager.storage.models.DirectoryServiceOptions; +import com.azure.resourcemanager.storage.models.StorageAccountUpdateParameters; +import java.util.HashMap; +import java.util.Map; + +/** Samples for StorageAccounts Update. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountEnableAD.json + */ + /** + * Sample code: StorageAccountEnableAD. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountEnableAD(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .updateWithResponse( + "res9407", + "sto8596", + new StorageAccountUpdateParameters() + .withAzureFilesIdentityBasedAuthentication( + new AzureFilesIdentityBasedAuthentication() + .withDirectoryServiceOptions(DirectoryServiceOptions.AD) + .withActiveDirectoryProperties( + new ActiveDirectoryProperties() + .withDomainName("adtest.com") + .withNetBiosDomainName("adtest.com") + .withForestName("adtest.com") + .withDomainGuid("aebfc118-9fa9-4732-a21f-d98e41a77ae1") + .withDomainSid("S-1-5-21-2400535526-2334094090-2402026252") + .withAzureStorageSid("S-1-5-21-2400535526-2334094090-2402026252-0012") + .withSamAccountName("sam12498") + .withAccountType(ActiveDirectoryPropertiesAccountType.USER))), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountEnableAD.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountEnableAD.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountEnableAD.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountEnableCMK.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountEnableCMK.java new file mode 100644 index 0000000000..cf5c88f686 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountEnableCMK.java @@ -0,0 +1,57 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.Encryption; +import com.azure.resourcemanager.storage.models.EncryptionService; +import com.azure.resourcemanager.storage.models.EncryptionServices; +import com.azure.resourcemanager.storage.models.KeySource; +import com.azure.resourcemanager.storage.models.KeyType; +import com.azure.resourcemanager.storage.models.KeyVaultProperties; +import com.azure.resourcemanager.storage.models.StorageAccountUpdateParameters; +import java.util.HashMap; +import java.util.Map; + +/** Samples for StorageAccounts Update. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountEnableCMK.json + */ + /** + * Sample code: StorageAccountEnableCMK. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountEnableCMK(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .updateWithResponse( + "res9407", + "sto8596", + new StorageAccountUpdateParameters() + .withEncryption( + new Encryption() + .withServices( + new EncryptionServices() + .withBlob(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT)) + .withFile(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT))) + .withKeySource(KeySource.MICROSOFT_KEYVAULT) + .withKeyVaultProperties( + new KeyVaultProperties() + .withKeyName("wrappingKey") + .withKeyVersion("") + .withKeyVaultUri("https://myvault8569.vault.azure.net"))), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountEnableCMK.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountEnableCMK.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountEnableCMK.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountEncryptionScopeList.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountEncryptionScopeList.java new file mode 100644 index 0000000000..b49624f20f --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountEncryptionScopeList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for EncryptionScopes List. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountEncryptionScopeList.json + */ + /** + * Sample code: StorageAccountEncryptionScopeList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountEncryptionScopeList(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getEncryptionScopes() + .list("resource-group-name", "{storage-account-name}", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountEncryptionScopeList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountEncryptionScopeList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountEncryptionScopeList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountFailover.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountFailover.java new file mode 100644 index 0000000000..b8d64d0301 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountFailover.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for StorageAccounts Failover. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountFailover.json + */ + /** + * Sample code: StorageAccountFailover. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountFailover(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .failover("res4228", "sto2434", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountFailover.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountFailover.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountFailover.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetAsyncSkuConversionStatus.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetAsyncSkuConversionStatus.java new file mode 100644 index 0000000000..79fa567612 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetAsyncSkuConversionStatus.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for StorageAccounts GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetAsyncSkuConversionStatus.json + */ + /** + * Sample code: StorageAccountGetAsyncSkuConversionStatus. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountGetAsyncSkuConversionStatus(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .getByResourceGroupWithResponse("res9407", "sto8596", null, Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetAsyncSkuConversionStatus.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetAsyncSkuConversionStatus.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetAsyncSkuConversionStatus.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetBlobInventoryPolicy.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetBlobInventoryPolicy.java new file mode 100644 index 0000000000..5898dc3717 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetBlobInventoryPolicy.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.BlobInventoryPolicyName; + +/** Samples for BlobInventoryPolicies Get. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetBlobInventoryPolicy.json + */ + /** + * Sample code: StorageAccountGetBlobInventoryPolicy. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountGetBlobInventoryPolicy(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getBlobInventoryPolicies() + .getWithResponse("res7687", "sto9699", BlobInventoryPolicyName.DEFAULT, Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetBlobInventoryPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetBlobInventoryPolicy.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetBlobInventoryPolicy.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetEncryptionScope.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetEncryptionScope.java new file mode 100644 index 0000000000..763cbbb68b --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetEncryptionScope.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for EncryptionScopes Get. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetEncryptionScope.json + */ + /** + * Sample code: StorageAccountGetEncryptionScope. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountGetEncryptionScope(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getEncryptionScopes() + .getWithResponse("resource-group-name", "{storage-account-name}", "{encryption-scope-name}", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetEncryptionScope.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetEncryptionScope.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetEncryptionScope.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetManagementPolicy.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetManagementPolicy.java new file mode 100644 index 0000000000..d078e9ef17 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetManagementPolicy.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.ManagementPolicyName; + +/** Samples for ManagementPolicies Get. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetManagementPolicy.json + */ + /** + * Sample code: StorageAccountGetManagementPolicies. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountGetManagementPolicies(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getManagementPolicies() + .getWithResponse("res6977", "sto2527", ManagementPolicyName.DEFAULT, Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetManagementPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetManagementPolicy.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetManagementPolicy.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetObjectReplicationPolicy.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetObjectReplicationPolicy.java new file mode 100644 index 0000000000..19a73af5f2 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetObjectReplicationPolicy.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for ObjectReplicationPoliciesOperation Get. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetObjectReplicationPolicy.json + */ + /** + * Sample code: StorageAccountGetObjectReplicationPolicies. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountGetObjectReplicationPolicies( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getObjectReplicationPoliciesOperations() + .getWithResponse("res6977", "sto2527", "{objectReplicationPolicy-Id}", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetObjectReplicationPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetObjectReplicationPolicy.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetObjectReplicationPolicy.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetPrivateEndpointConnection.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetPrivateEndpointConnection.java new file mode 100644 index 0000000000..875ac45bda --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetPrivateEndpointConnection.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateEndpointConnections Get. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetPrivateEndpointConnection.json + */ + /** + * Sample code: StorageAccountGetPrivateEndpointConnection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountGetPrivateEndpointConnection( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getPrivateEndpointConnections() + .getWithResponse("res6977", "sto2527", "{privateEndpointConnectionName}", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetPrivateEndpointConnection.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetPrivateEndpointConnection.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetPrivateEndpointConnection.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetProperties.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetProperties.java new file mode 100644 index 0000000000..be1e9e95aa --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetProperties.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for StorageAccounts GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetProperties.json + */ + /** + * Sample code: StorageAccountGetProperties. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountGetProperties(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .getByResourceGroupWithResponse("res9407", "sto8596", null, Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetProperties.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetProperties.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetProperties.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetPropertiesCMKEnabled.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetPropertiesCMKEnabled.java new file mode 100644 index 0000000000..648fcc00cb --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetPropertiesCMKEnabled.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for StorageAccounts GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetPropertiesCMKEnabled.json + */ + /** + * Sample code: StorageAccountGetPropertiesCMKEnabled. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountGetPropertiesCMKEnabled(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .getByResourceGroupWithResponse("res9407", "sto8596", null, Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetPropertiesCMKEnabled.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetPropertiesCMKEnabled.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetPropertiesCMKEnabled.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetPropertiesCMKVersionExpirationTime.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetPropertiesCMKVersionExpirationTime.java new file mode 100644 index 0000000000..11cbd834fd --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetPropertiesCMKVersionExpirationTime.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for StorageAccounts GetByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetPropertiesCMKVersionExpirationTime.json + */ + /** + * Sample code: StorageAccountGetPropertiesCMKVersionExpirationTime. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountGetPropertiesCMKVersionExpirationTime( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .getByResourceGroupWithResponse("res9407", "sto8596", null, Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetPropertiesCMKVersionExpirationTime.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetPropertiesCMKVersionExpirationTime.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountGetPropertiesCMKVersionExpirationTime.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountHierarchicalNamespaceMigration.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountHierarchicalNamespaceMigration.java new file mode 100644 index 0000000000..e9217d1932 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountHierarchicalNamespaceMigration.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for StorageAccounts HierarchicalNamespaceMigration. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountHierarchicalNamespaceMigration.json + */ + /** + * Sample code: StorageAccountHierarchicalNamespaceMigration. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountHierarchicalNamespaceMigration( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .hierarchicalNamespaceMigration("res4228", "sto2434", "HnsOnValidationRequest", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountHierarchicalNamespaceMigration.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountHierarchicalNamespaceMigration.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountHierarchicalNamespaceMigration.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountList.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountList.java new file mode 100644 index 0000000000..33eeacfd6e --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for StorageAccounts List. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountList.json + */ + /** + * Sample code: StorageAccountList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountList(com.azure.resourcemanager.AzureResourceManager azure) { + azure.storageAccounts().manager().serviceClient().getStorageAccounts().list(Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListAccountSAS.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListAccountSAS.java new file mode 100644 index 0000000000..6ba43352d2 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListAccountSAS.java @@ -0,0 +1,38 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.AccountSasParameters; +import com.azure.resourcemanager.storage.models.HttpProtocol; +import com.azure.resourcemanager.storage.models.Permissions; +import com.azure.resourcemanager.storage.models.Services; +import com.azure.resourcemanager.storage.models.SignedResourceTypes; +import java.time.OffsetDateTime; + +/** Samples for StorageAccounts ListAccountSas. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListAccountSAS.json + */ + /** + * Sample code: StorageAccountListAccountSAS. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountListAccountSAS(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .listAccountSasWithResponse( + "res7985", + "sto8588", + new AccountSasParameters() + .withServices(Services.B) + .withResourceTypes(SignedResourceTypes.S) + .withPermissions(Permissions.R) + .withProtocols(HttpProtocol.HTTPS_HTTP) + .withSharedAccessStartTime(OffsetDateTime.parse("2017-05-24T10:42:03.1567373Z")) + .withSharedAccessExpiryTime(OffsetDateTime.parse("2017-05-24T11:42:03.1567373Z")) + .withKeyToSign("key1"), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListAccountSAS.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListAccountSAS.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListAccountSAS.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListBlobInventoryPolicy.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListBlobInventoryPolicy.java new file mode 100644 index 0000000000..b9c9bd5678 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListBlobInventoryPolicy.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for BlobInventoryPolicies List. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListBlobInventoryPolicy.json + */ + /** + * Sample code: StorageAccountGetBlobInventoryPolicy. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountGetBlobInventoryPolicy(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getBlobInventoryPolicies() + .list("res7687", "sto9699", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListBlobInventoryPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListBlobInventoryPolicy.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListBlobInventoryPolicy.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListByResourceGroup.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListByResourceGroup.java new file mode 100644 index 0000000000..7176bc975e --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListByResourceGroup.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for StorageAccounts ListByResourceGroup. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListByResourceGroup.json + */ + /** + * Sample code: StorageAccountListByResourceGroup. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountListByResourceGroup(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .listByResourceGroup("res6117", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListByResourceGroup.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListByResourceGroup.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListByResourceGroup.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListKeys.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListKeys.java new file mode 100644 index 0000000000..88be1c7b02 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListKeys.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for StorageAccounts ListKeys. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListKeys.json + */ + /** + * Sample code: StorageAccountListKeys. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountListKeys(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .listKeysWithResponse("res418", "sto2220", null, Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListKeys.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListKeys.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListKeys.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListLocationUsage.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListLocationUsage.java new file mode 100644 index 0000000000..be9226b600 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListLocationUsage.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for Usages ListByLocation. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListLocationUsage.json + */ + /** + * Sample code: UsageList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void usageList(com.azure.resourcemanager.AzureResourceManager azure) { + azure.storageAccounts().manager().serviceClient().getUsages().listByLocation("eastus2(stage)", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListLocationUsage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListLocationUsage.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListLocationUsage.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListObjectReplicationPolicies.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListObjectReplicationPolicies.java new file mode 100644 index 0000000000..08f8164963 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListObjectReplicationPolicies.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for ObjectReplicationPoliciesOperation List. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListObjectReplicationPolicies.json + */ + /** + * Sample code: StorageAccountListObjectReplicationPolicies. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountListObjectReplicationPolicies( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getObjectReplicationPoliciesOperations() + .list("res6977", "sto2527", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListObjectReplicationPolicies.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListObjectReplicationPolicies.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListObjectReplicationPolicies.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListPrivateEndpointConnections.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListPrivateEndpointConnections.java new file mode 100644 index 0000000000..27e2e6f37d --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListPrivateEndpointConnections.java @@ -0,0 +1,22 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateEndpointConnections List. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListPrivateEndpointConnections.json + */ + /** + * Sample code: StorageAccountListPrivateEndpointConnections. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountListPrivateEndpointConnections( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getPrivateEndpointConnections() + .list("res6977", "sto2527", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListPrivateEndpointConnections.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListPrivateEndpointConnections.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListPrivateEndpointConnections.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListPrivateLinkResources.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListPrivateLinkResources.java new file mode 100644 index 0000000000..6f473d6cad --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListPrivateLinkResources.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for PrivateLinkResources ListByStorageAccount. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListPrivateLinkResources.json + */ + /** + * Sample code: StorageAccountListPrivateLinkResources. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountListPrivateLinkResources(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getPrivateLinkResources() + .listByStorageAccountWithResponse("res6977", "sto2527", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListPrivateLinkResources.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListPrivateLinkResources.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListPrivateLinkResources.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListServiceSAS.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListServiceSAS.java new file mode 100644 index 0000000000..1684cb0658 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListServiceSAS.java @@ -0,0 +1,33 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.Permissions; +import com.azure.resourcemanager.storage.models.ServiceSasParameters; +import com.azure.resourcemanager.storage.models.SignedResource; +import java.time.OffsetDateTime; + +/** Samples for StorageAccounts ListServiceSas. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListServiceSAS.json + */ + /** + * Sample code: StorageAccountListServiceSAS. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountListServiceSAS(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .listServiceSasWithResponse( + "res7439", + "sto1299", + new ServiceSasParameters() + .withCanonicalizedResource("/blob/sto1299/music") + .withResource(SignedResource.C) + .withPermissions(Permissions.L) + .withSharedAccessExpiryTime(OffsetDateTime.parse("2017-05-24T11:32:48.8457197Z")), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListServiceSAS.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListServiceSAS.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountListServiceSAS.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountPatchEncryptionScope.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountPatchEncryptionScope.java new file mode 100644 index 0000000000..2665255d2c --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountPatchEncryptionScope.java @@ -0,0 +1,33 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.EncryptionScopeInner; +import com.azure.resourcemanager.storage.models.EncryptionScopeKeyVaultProperties; +import com.azure.resourcemanager.storage.models.EncryptionScopeSource; + +/** Samples for EncryptionScopes Patch. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountPatchEncryptionScope.json + */ + /** + * Sample code: StorageAccountPatchEncryptionScope. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountPatchEncryptionScope(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getEncryptionScopes() + .patchWithResponse( + "resource-group-name", + "{storage-account-name}", + "{encryption-scope-name}", + new EncryptionScopeInner() + .withSource(EncryptionScopeSource.MICROSOFT_KEY_VAULT) + .withKeyVaultProperties( + new EncryptionScopeKeyVaultProperties() + .withKeyUri("https://testvault.vault.core.windows.net/keys/key1/863425f1358359c")), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountPatchEncryptionScope.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountPatchEncryptionScope.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountPatchEncryptionScope.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountPutEncryptionScope.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountPutEncryptionScope.java new file mode 100644 index 0000000000..1e4116f1f7 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountPutEncryptionScope.java @@ -0,0 +1,27 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.EncryptionScopeInner; + +/** Samples for EncryptionScopes Put. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountPutEncryptionScope.json + */ + /** + * Sample code: StorageAccountPutEncryptionScope. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountPutEncryptionScope(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getEncryptionScopes() + .putWithResponse( + "resource-group-name", + "{storage-account-name}", + "{encryption-scope-name}", + new EncryptionScopeInner(), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountPutEncryptionScope.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountPutEncryptionScope.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountPutEncryptionScope.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.java new file mode 100644 index 0000000000..f9e836e349 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.java @@ -0,0 +1,28 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.EncryptionScopeInner; + +/** Samples for EncryptionScopes Put. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json + */ + /** + * Sample code: StorageAccountPutEncryptionScopeWithInfrastructureEncryption. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountPutEncryptionScopeWithInfrastructureEncryption( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getEncryptionScopes() + .putWithResponse( + "resource-group-name", + "{storage-account-name}", + "{encryption-scope-name}", + new EncryptionScopeInner().withRequireInfrastructureEncryption(true), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountPutPrivateEndpointConnection.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountPutPrivateEndpointConnection.java new file mode 100644 index 0000000000..0d44e6dc2a --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountPutPrivateEndpointConnection.java @@ -0,0 +1,34 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.PrivateEndpointConnectionInner; +import com.azure.resourcemanager.storage.models.PrivateEndpointServiceConnectionStatus; +import com.azure.resourcemanager.storage.models.PrivateLinkServiceConnectionState; + +/** Samples for PrivateEndpointConnections Put. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountPutPrivateEndpointConnection.json + */ + /** + * Sample code: StorageAccountPutPrivateEndpointConnection. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountPutPrivateEndpointConnection( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getPrivateEndpointConnections() + .putWithResponse( + "res7687", + "sto9699", + "{privateEndpointConnectionName}", + new PrivateEndpointConnectionInner() + .withPrivateLinkServiceConnectionState( + new PrivateLinkServiceConnectionState() + .withStatus(PrivateEndpointServiceConnectionStatus.APPROVED) + .withDescription("Auto-Approved")), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountPutPrivateEndpointConnection.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountPutPrivateEndpointConnection.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountPutPrivateEndpointConnection.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountRegenerateKerbKey.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountRegenerateKerbKey.java new file mode 100644 index 0000000000..88b850cf49 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountRegenerateKerbKey.java @@ -0,0 +1,23 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.StorageAccountRegenerateKeyParameters; + +/** Samples for StorageAccounts RegenerateKey. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountRegenerateKerbKey.json + */ + /** + * Sample code: StorageAccountRegenerateKerbKey. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountRegenerateKerbKey(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .regenerateKeyWithResponse( + "res4167", "sto3539", new StorageAccountRegenerateKeyParameters().withKeyName("kerb1"), Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountRegenerateKerbKey.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountRegenerateKerbKey.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountRegenerateKerbKey.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountRegenerateKey.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountRegenerateKey.java new file mode 100644 index 0000000000..1ad580691c --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountRegenerateKey.java @@ -0,0 +1,23 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.StorageAccountRegenerateKeyParameters; + +/** Samples for StorageAccounts RegenerateKey. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountRegenerateKey.json + */ + /** + * Sample code: StorageAccountRegenerateKey. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountRegenerateKey(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .regenerateKeyWithResponse( + "res4167", "sto3539", new StorageAccountRegenerateKeyParameters().withKeyName("key2"), Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountRegenerateKey.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountRegenerateKey.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountRegenerateKey.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountRevokeUserDelegationKeys.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountRevokeUserDelegationKeys.java new file mode 100644 index 0000000000..243f237a82 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountRevokeUserDelegationKeys.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for StorageAccounts RevokeUserDelegationKeys. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountRevokeUserDelegationKeys.json + */ + /** + * Sample code: StorageAccountRevokeUserDelegationKeys. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountRevokeUserDelegationKeys(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .revokeUserDelegationKeysWithResponse("res4167", "sto3539", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountRevokeUserDelegationKeys.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountRevokeUserDelegationKeys.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountRevokeUserDelegationKeys.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetBlobInventoryPolicy.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetBlobInventoryPolicy.java new file mode 100644 index 0000000000..308e776fa4 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetBlobInventoryPolicy.java @@ -0,0 +1,99 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.BlobInventoryPolicyInner; +import com.azure.resourcemanager.storage.models.BlobInventoryPolicyDefinition; +import com.azure.resourcemanager.storage.models.BlobInventoryPolicyFilter; +import com.azure.resourcemanager.storage.models.BlobInventoryPolicyName; +import com.azure.resourcemanager.storage.models.BlobInventoryPolicyRule; +import com.azure.resourcemanager.storage.models.BlobInventoryPolicySchema; +import com.azure.resourcemanager.storage.models.Format; +import com.azure.resourcemanager.storage.models.InventoryRuleType; +import com.azure.resourcemanager.storage.models.ObjectType; +import com.azure.resourcemanager.storage.models.Schedule; +import java.util.Arrays; + +/** Samples for BlobInventoryPolicies CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetBlobInventoryPolicy.json + */ + /** + * Sample code: StorageAccountSetBlobInventoryPolicy. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountSetBlobInventoryPolicy(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getBlobInventoryPolicies() + .createOrUpdateWithResponse( + "res7687", + "sto9699", + BlobInventoryPolicyName.DEFAULT, + new BlobInventoryPolicyInner() + .withPolicy( + new BlobInventoryPolicySchema() + .withEnabled(true) + .withType(InventoryRuleType.INVENTORY) + .withRules( + Arrays + .asList( + new BlobInventoryPolicyRule() + .withEnabled(true) + .withName("inventoryPolicyRule1") + .withDestination("container1") + .withDefinition( + new BlobInventoryPolicyDefinition() + .withFilters( + new BlobInventoryPolicyFilter() + .withPrefixMatch( + Arrays.asList("inventoryprefix1", "inventoryprefix2")) + .withExcludePrefix( + Arrays.asList("excludeprefix1", "excludeprefix2")) + .withBlobTypes( + Arrays.asList("blockBlob", "appendBlob", "pageBlob")) + .withIncludeBlobVersions(true) + .withIncludeSnapshots(true)) + .withFormat(Format.CSV) + .withSchedule(Schedule.DAILY) + .withObjectType(ObjectType.BLOB) + .withSchemaFields( + Arrays + .asList( + "Name", + "Creation-Time", + "Last-Modified", + "Content-Length", + "Content-MD5", + "BlobType", + "AccessTier", + "AccessTierChangeTime", + "Snapshot", + "VersionId", + "IsCurrentVersion", + "Metadata"))), + new BlobInventoryPolicyRule() + .withEnabled(true) + .withName("inventoryPolicyRule2") + .withDestination("container2") + .withDefinition( + new BlobInventoryPolicyDefinition() + .withFormat(Format.PARQUET) + .withSchedule(Schedule.WEEKLY) + .withObjectType(ObjectType.CONTAINER) + .withSchemaFields( + Arrays + .asList( + "Name", + "Last-Modified", + "Metadata", + "LeaseStatus", + "LeaseState", + "LeaseDuration", + "PublicAccess", + "HasImmutabilityPolicy", + "HasLegalHold")))))), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetBlobInventoryPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetBlobInventoryPolicy.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetBlobInventoryPolicy.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.java new file mode 100644 index 0000000000..8dbb98c9b7 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.java @@ -0,0 +1,118 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.BlobInventoryPolicyInner; +import com.azure.resourcemanager.storage.models.BlobInventoryPolicyDefinition; +import com.azure.resourcemanager.storage.models.BlobInventoryPolicyFilter; +import com.azure.resourcemanager.storage.models.BlobInventoryPolicyName; +import com.azure.resourcemanager.storage.models.BlobInventoryPolicyRule; +import com.azure.resourcemanager.storage.models.BlobInventoryPolicySchema; +import com.azure.resourcemanager.storage.models.Format; +import com.azure.resourcemanager.storage.models.InventoryRuleType; +import com.azure.resourcemanager.storage.models.ObjectType; +import com.azure.resourcemanager.storage.models.Schedule; +import java.util.Arrays; + +/** Samples for BlobInventoryPolicies CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json + */ + /** + * Sample code: StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getBlobInventoryPolicies() + .createOrUpdateWithResponse( + "res7687", + "sto9699", + BlobInventoryPolicyName.DEFAULT, + new BlobInventoryPolicyInner() + .withPolicy( + new BlobInventoryPolicySchema() + .withEnabled(true) + .withType(InventoryRuleType.INVENTORY) + .withRules( + Arrays + .asList( + new BlobInventoryPolicyRule() + .withEnabled(true) + .withName("inventoryPolicyRule1") + .withDestination("container1") + .withDefinition( + new BlobInventoryPolicyDefinition() + .withFilters( + new BlobInventoryPolicyFilter() + .withPrefixMatch( + Arrays.asList("inventoryprefix1", "inventoryprefix2")) + .withExcludePrefix( + Arrays.asList("excludeprefix1", "excludeprefix2")) + .withBlobTypes( + Arrays.asList("blockBlob", "appendBlob", "pageBlob")) + .withIncludeBlobVersions(true) + .withIncludeSnapshots(true) + .withIncludeDeleted(true)) + .withFormat(Format.CSV) + .withSchedule(Schedule.DAILY) + .withObjectType(ObjectType.BLOB) + .withSchemaFields( + Arrays + .asList( + "Name", + "Creation-Time", + "Last-Modified", + "Content-Length", + "Content-MD5", + "BlobType", + "AccessTier", + "AccessTierChangeTime", + "Snapshot", + "VersionId", + "IsCurrentVersion", + "ContentType", + "ContentEncoding", + "ContentLanguage", + "ContentCRC64", + "CacheControl", + "Metadata", + "DeletionId", + "Deleted", + "DeletedTime", + "RemainingRetentionDays"))), + new BlobInventoryPolicyRule() + .withEnabled(true) + .withName("inventoryPolicyRule2") + .withDestination("container2") + .withDefinition( + new BlobInventoryPolicyDefinition() + .withFormat(Format.PARQUET) + .withSchedule(Schedule.WEEKLY) + .withObjectType(ObjectType.CONTAINER) + .withSchemaFields( + Arrays + .asList( + "Name", + "Last-Modified", + "Metadata", + "LeaseStatus", + "LeaseState", + "LeaseDuration", + "PublicAccess", + "HasImmutabilityPolicy", + "HasLegalHold", + "Etag", + "DefaultEncryptionScope", + "DenyEncryptionScopeOverride", + "ImmutableStorageWithVersioningEnabled", + "Deleted", + "Version", + "DeletedTime", + "RemainingRetentionDays")))))), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.java new file mode 100644 index 0000000000..63c82dc91f --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.java @@ -0,0 +1,117 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.BlobInventoryPolicyInner; +import com.azure.resourcemanager.storage.models.BlobInventoryPolicyDefinition; +import com.azure.resourcemanager.storage.models.BlobInventoryPolicyFilter; +import com.azure.resourcemanager.storage.models.BlobInventoryPolicyName; +import com.azure.resourcemanager.storage.models.BlobInventoryPolicyRule; +import com.azure.resourcemanager.storage.models.BlobInventoryPolicySchema; +import com.azure.resourcemanager.storage.models.Format; +import com.azure.resourcemanager.storage.models.InventoryRuleType; +import com.azure.resourcemanager.storage.models.ObjectType; +import com.azure.resourcemanager.storage.models.Schedule; +import java.util.Arrays; + +/** Samples for BlobInventoryPolicies CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json + */ + /** + * Sample code: StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getBlobInventoryPolicies() + .createOrUpdateWithResponse( + "res7687", + "sto9699", + BlobInventoryPolicyName.DEFAULT, + new BlobInventoryPolicyInner() + .withPolicy( + new BlobInventoryPolicySchema() + .withEnabled(true) + .withType(InventoryRuleType.INVENTORY) + .withRules( + Arrays + .asList( + new BlobInventoryPolicyRule() + .withEnabled(true) + .withName("inventoryPolicyRule1") + .withDestination("container1") + .withDefinition( + new BlobInventoryPolicyDefinition() + .withFilters( + new BlobInventoryPolicyFilter() + .withPrefixMatch( + Arrays.asList("inventoryprefix1", "inventoryprefix2")) + .withExcludePrefix( + Arrays.asList("excludeprefix1", "excludeprefix2")) + .withBlobTypes( + Arrays.asList("blockBlob", "appendBlob", "pageBlob")) + .withIncludeBlobVersions(true) + .withIncludeSnapshots(true) + .withIncludeDeleted(true)) + .withFormat(Format.CSV) + .withSchedule(Schedule.DAILY) + .withObjectType(ObjectType.BLOB) + .withSchemaFields( + Arrays + .asList( + "Name", + "Creation-Time", + "Last-Modified", + "Content-Length", + "Content-MD5", + "BlobType", + "AccessTier", + "AccessTierChangeTime", + "Snapshot", + "VersionId", + "IsCurrentVersion", + "Tags", + "ContentType", + "ContentEncoding", + "ContentLanguage", + "ContentCRC64", + "CacheControl", + "Metadata", + "Deleted", + "RemainingRetentionDays"))), + new BlobInventoryPolicyRule() + .withEnabled(true) + .withName("inventoryPolicyRule2") + .withDestination("container2") + .withDefinition( + new BlobInventoryPolicyDefinition() + .withFormat(Format.PARQUET) + .withSchedule(Schedule.WEEKLY) + .withObjectType(ObjectType.CONTAINER) + .withSchemaFields( + Arrays + .asList( + "Name", + "Last-Modified", + "Metadata", + "LeaseStatus", + "LeaseState", + "LeaseDuration", + "PublicAccess", + "HasImmutabilityPolicy", + "HasLegalHold", + "Etag", + "DefaultEncryptionScope", + "DenyEncryptionScopeOverride", + "ImmutableStorageWithVersioningEnabled", + "Deleted", + "Version", + "DeletedTime", + "RemainingRetentionDays")))))), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicy.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicy.java new file mode 100644 index 0000000000..51085da2db --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicy.java @@ -0,0 +1,113 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.ManagementPolicyInner; +import com.azure.resourcemanager.storage.models.DateAfterCreation; +import com.azure.resourcemanager.storage.models.DateAfterModification; +import com.azure.resourcemanager.storage.models.ManagementPolicyAction; +import com.azure.resourcemanager.storage.models.ManagementPolicyBaseBlob; +import com.azure.resourcemanager.storage.models.ManagementPolicyDefinition; +import com.azure.resourcemanager.storage.models.ManagementPolicyFilter; +import com.azure.resourcemanager.storage.models.ManagementPolicyName; +import com.azure.resourcemanager.storage.models.ManagementPolicyRule; +import com.azure.resourcemanager.storage.models.ManagementPolicySchema; +import com.azure.resourcemanager.storage.models.ManagementPolicySnapShot; +import com.azure.resourcemanager.storage.models.RuleType; +import com.azure.resourcemanager.storage.models.TagFilter; +import java.util.Arrays; + +/** Samples for ManagementPolicies CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicy.json + */ + /** + * Sample code: StorageAccountSetManagementPolicies. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountSetManagementPolicies(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getManagementPolicies() + .createOrUpdateWithResponse( + "res7687", + "sto9699", + ManagementPolicyName.DEFAULT, + new ManagementPolicyInner() + .withPolicy( + new ManagementPolicySchema() + .withRules( + Arrays + .asList( + new ManagementPolicyRule() + .withEnabled(true) + .withName("olcmtest1") + .withType(RuleType.LIFECYCLE) + .withDefinition( + new ManagementPolicyDefinition() + .withActions( + new ManagementPolicyAction() + .withBaseBlob( + new ManagementPolicyBaseBlob() + .withTierToCool( + new DateAfterModification() + .withDaysAfterModificationGreaterThan( + 30.0F)) + .withTierToArchive( + new DateAfterModification() + .withDaysAfterModificationGreaterThan( + 90.0F)) + .withDelete( + new DateAfterModification() + .withDaysAfterModificationGreaterThan( + 1000.0F))) + .withSnapshot( + new ManagementPolicySnapShot() + .withDelete( + new DateAfterCreation() + .withDaysAfterCreationGreaterThan(30f)))) + .withFilters( + new ManagementPolicyFilter() + .withPrefixMatch(Arrays.asList("olcmtestcontainer1")) + .withBlobTypes(Arrays.asList("blockBlob")))), + new ManagementPolicyRule() + .withEnabled(true) + .withName("olcmtest2") + .withType(RuleType.LIFECYCLE) + .withDefinition( + new ManagementPolicyDefinition() + .withActions( + new ManagementPolicyAction() + .withBaseBlob( + new ManagementPolicyBaseBlob() + .withTierToCool( + new DateAfterModification() + .withDaysAfterModificationGreaterThan( + 30.0F)) + .withTierToArchive( + new DateAfterModification() + .withDaysAfterModificationGreaterThan( + 90.0F)) + .withDelete( + new DateAfterModification() + .withDaysAfterModificationGreaterThan( + 1000.0F)))) + .withFilters( + new ManagementPolicyFilter() + .withPrefixMatch(Arrays.asList("olcmtestcontainer2")) + .withBlobTypes(Arrays.asList("blockBlob")) + .withBlobIndexMatch( + Arrays + .asList( + new TagFilter() + .withName("tag1") + .withOp("==") + .withValue("val1"), + new TagFilter() + .withName("tag2") + .withOp("==") + .withValue("val2")))))))), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicy.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicy.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.java new file mode 100644 index 0000000000..71150767b2 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.java @@ -0,0 +1,75 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.ManagementPolicyInner; +import com.azure.resourcemanager.storage.models.DateAfterCreation; +import com.azure.resourcemanager.storage.models.DateAfterModification; +import com.azure.resourcemanager.storage.models.ManagementPolicyAction; +import com.azure.resourcemanager.storage.models.ManagementPolicyBaseBlob; +import com.azure.resourcemanager.storage.models.ManagementPolicyDefinition; +import com.azure.resourcemanager.storage.models.ManagementPolicyFilter; +import com.azure.resourcemanager.storage.models.ManagementPolicyName; +import com.azure.resourcemanager.storage.models.ManagementPolicyRule; +import com.azure.resourcemanager.storage.models.ManagementPolicySchema; +import com.azure.resourcemanager.storage.models.ManagementPolicySnapShot; +import com.azure.resourcemanager.storage.models.ManagementPolicyVersion; +import com.azure.resourcemanager.storage.models.RuleType; +import java.util.Arrays; + +/** Samples for ManagementPolicies CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json + */ + /** + * Sample code: StorageAccountSetManagementPolicyForBlockAndAppendBlobs. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountSetManagementPolicyForBlockAndAppendBlobs( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getManagementPolicies() + .createOrUpdateWithResponse( + "res7687", + "sto9699", + ManagementPolicyName.DEFAULT, + new ManagementPolicyInner() + .withPolicy( + new ManagementPolicySchema() + .withRules( + Arrays + .asList( + new ManagementPolicyRule() + .withEnabled(true) + .withName("olcmtest1") + .withType(RuleType.LIFECYCLE) + .withDefinition( + new ManagementPolicyDefinition() + .withActions( + new ManagementPolicyAction() + .withBaseBlob( + new ManagementPolicyBaseBlob() + .withDelete( + new DateAfterModification() + .withDaysAfterModificationGreaterThan( + 90.0F))) + .withSnapshot( + new ManagementPolicySnapShot() + .withDelete( + new DateAfterCreation() + .withDaysAfterCreationGreaterThan(90f))) + .withVersion( + new ManagementPolicyVersion() + .withDelete( + new DateAfterCreation() + .withDaysAfterCreationGreaterThan(90f)))) + .withFilters( + new ManagementPolicyFilter() + .withPrefixMatch(Arrays.asList("olcmtestcontainer1")) + .withBlobTypes( + Arrays.asList("blockBlob", "appendBlob"))))))), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicyWithSnapshotAndVersion.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicyWithSnapshotAndVersion.java new file mode 100644 index 0000000000..a03fd2c22d --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicyWithSnapshotAndVersion.java @@ -0,0 +1,94 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.ManagementPolicyInner; +import com.azure.resourcemanager.storage.models.DateAfterCreation; +import com.azure.resourcemanager.storage.models.DateAfterModification; +import com.azure.resourcemanager.storage.models.ManagementPolicyAction; +import com.azure.resourcemanager.storage.models.ManagementPolicyBaseBlob; +import com.azure.resourcemanager.storage.models.ManagementPolicyDefinition; +import com.azure.resourcemanager.storage.models.ManagementPolicyFilter; +import com.azure.resourcemanager.storage.models.ManagementPolicyName; +import com.azure.resourcemanager.storage.models.ManagementPolicyRule; +import com.azure.resourcemanager.storage.models.ManagementPolicySchema; +import com.azure.resourcemanager.storage.models.ManagementPolicySnapShot; +import com.azure.resourcemanager.storage.models.ManagementPolicyVersion; +import com.azure.resourcemanager.storage.models.RuleType; +import java.util.Arrays; + +/** Samples for ManagementPolicies CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json + */ + /** + * Sample code: StorageAccountSetManagementPolicyWithSnapshotAndVersion. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountSetManagementPolicyWithSnapshotAndVersion( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getManagementPolicies() + .createOrUpdateWithResponse( + "res7687", + "sto9699", + ManagementPolicyName.DEFAULT, + new ManagementPolicyInner() + .withPolicy( + new ManagementPolicySchema() + .withRules( + Arrays + .asList( + new ManagementPolicyRule() + .withEnabled(true) + .withName("olcmtest1") + .withType(RuleType.LIFECYCLE) + .withDefinition( + new ManagementPolicyDefinition() + .withActions( + new ManagementPolicyAction() + .withBaseBlob( + new ManagementPolicyBaseBlob() + .withTierToCool( + new DateAfterModification() + .withDaysAfterModificationGreaterThan( + 30.0F)) + .withTierToArchive( + new DateAfterModification() + .withDaysAfterModificationGreaterThan( + 90.0F)) + .withDelete( + new DateAfterModification() + .withDaysAfterModificationGreaterThan( + 1000.0F))) + .withSnapshot( + new ManagementPolicySnapShot() + .withTierToCool( + new DateAfterCreation() + .withDaysAfterCreationGreaterThan(30f)) + .withTierToArchive( + new DateAfterCreation() + .withDaysAfterCreationGreaterThan(90f)) + .withDelete( + new DateAfterCreation() + .withDaysAfterCreationGreaterThan(1000f))) + .withVersion( + new ManagementPolicyVersion() + .withTierToCool( + new DateAfterCreation() + .withDaysAfterCreationGreaterThan(30f)) + .withTierToArchive( + new DateAfterCreation() + .withDaysAfterCreationGreaterThan(90f)) + .withDelete( + new DateAfterCreation() + .withDaysAfterCreationGreaterThan(1000f)))) + .withFilters( + new ManagementPolicyFilter() + .withPrefixMatch(Arrays.asList("olcmtestcontainer1")) + .withBlobTypes(Arrays.asList("blockBlob"))))))), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.java new file mode 100644 index 0000000000..fd3bf0c564 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.java @@ -0,0 +1,67 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.ManagementPolicyInner; +import com.azure.resourcemanager.storage.models.DateAfterModification; +import com.azure.resourcemanager.storage.models.ManagementPolicyAction; +import com.azure.resourcemanager.storage.models.ManagementPolicyBaseBlob; +import com.azure.resourcemanager.storage.models.ManagementPolicyDefinition; +import com.azure.resourcemanager.storage.models.ManagementPolicyFilter; +import com.azure.resourcemanager.storage.models.ManagementPolicyName; +import com.azure.resourcemanager.storage.models.ManagementPolicyRule; +import com.azure.resourcemanager.storage.models.ManagementPolicySchema; +import com.azure.resourcemanager.storage.models.RuleType; +import java.util.Arrays; + +/** Samples for ManagementPolicies CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json + */ + /** + * Sample code: StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountSetManagementPolicyBaseBlobDaysAfterCreationActions( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getManagementPolicies() + .createOrUpdateWithResponse( + "res7687", + "sto9699", + ManagementPolicyName.DEFAULT, + new ManagementPolicyInner() + .withPolicy( + new ManagementPolicySchema() + .withRules( + Arrays + .asList( + new ManagementPolicyRule() + .withEnabled(true) + .withName("olcmtest1") + .withType(RuleType.LIFECYCLE) + .withDefinition( + new ManagementPolicyDefinition() + .withActions( + new ManagementPolicyAction() + .withBaseBlob( + new ManagementPolicyBaseBlob() + .withTierToCool( + new DateAfterModification() + .withDaysAfterCreationGreaterThan(30.0F)) + .withTierToArchive( + new DateAfterModification() + .withDaysAfterCreationGreaterThan(90.0F)) + .withDelete( + new DateAfterModification() + .withDaysAfterCreationGreaterThan( + 1000.0F)))) + .withFilters( + new ManagementPolicyFilter() + .withPrefixMatch(Arrays.asList("olcmtestcontainer1")) + .withBlobTypes(Arrays.asList("blockBlob"))))))), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.java new file mode 100644 index 0000000000..2b9c4c81c9 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.java @@ -0,0 +1,77 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.ManagementPolicyInner; +import com.azure.resourcemanager.storage.models.DateAfterCreation; +import com.azure.resourcemanager.storage.models.DateAfterModification; +import com.azure.resourcemanager.storage.models.ManagementPolicyAction; +import com.azure.resourcemanager.storage.models.ManagementPolicyBaseBlob; +import com.azure.resourcemanager.storage.models.ManagementPolicyDefinition; +import com.azure.resourcemanager.storage.models.ManagementPolicyFilter; +import com.azure.resourcemanager.storage.models.ManagementPolicyName; +import com.azure.resourcemanager.storage.models.ManagementPolicyRule; +import com.azure.resourcemanager.storage.models.ManagementPolicySchema; +import com.azure.resourcemanager.storage.models.ManagementPolicySnapShot; +import com.azure.resourcemanager.storage.models.RuleType; +import java.util.Arrays; + +/** Samples for ManagementPolicies CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json + */ + /** + * Sample code: StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountSetManagementPolicyLastAccessTimeBasedBlobActions( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getManagementPolicies() + .createOrUpdateWithResponse( + "res7687", + "sto9699", + ManagementPolicyName.DEFAULT, + new ManagementPolicyInner() + .withPolicy( + new ManagementPolicySchema() + .withRules( + Arrays + .asList( + new ManagementPolicyRule() + .withEnabled(true) + .withName("olcmtest") + .withType(RuleType.LIFECYCLE) + .withDefinition( + new ManagementPolicyDefinition() + .withActions( + new ManagementPolicyAction() + .withBaseBlob( + new ManagementPolicyBaseBlob() + .withTierToCool( + new DateAfterModification() + .withDaysAfterLastAccessTimeGreaterThan( + 30.0F)) + .withTierToArchive( + new DateAfterModification() + .withDaysAfterLastAccessTimeGreaterThan( + 90.0F)) + .withDelete( + new DateAfterModification() + .withDaysAfterLastAccessTimeGreaterThan( + 1000.0F)) + .withEnableAutoTierToHotFromCool(true)) + .withSnapshot( + new ManagementPolicySnapShot() + .withDelete( + new DateAfterCreation() + .withDaysAfterCreationGreaterThan(30f)))) + .withFilters( + new ManagementPolicyFilter() + .withPrefixMatch(Arrays.asList("olcmtestcontainer")) + .withBlobTypes(Arrays.asList("blockBlob"))))))), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.java new file mode 100644 index 0000000000..757758c014 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.java @@ -0,0 +1,87 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.ManagementPolicyInner; +import com.azure.resourcemanager.storage.models.DateAfterCreation; +import com.azure.resourcemanager.storage.models.DateAfterModification; +import com.azure.resourcemanager.storage.models.ManagementPolicyAction; +import com.azure.resourcemanager.storage.models.ManagementPolicyBaseBlob; +import com.azure.resourcemanager.storage.models.ManagementPolicyDefinition; +import com.azure.resourcemanager.storage.models.ManagementPolicyFilter; +import com.azure.resourcemanager.storage.models.ManagementPolicyName; +import com.azure.resourcemanager.storage.models.ManagementPolicyRule; +import com.azure.resourcemanager.storage.models.ManagementPolicySchema; +import com.azure.resourcemanager.storage.models.ManagementPolicySnapShot; +import com.azure.resourcemanager.storage.models.ManagementPolicyVersion; +import com.azure.resourcemanager.storage.models.RuleType; +import java.util.Arrays; + +/** Samples for ManagementPolicies CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json + */ + /** + * Sample code: StorageAccountSetManagementPolicy_LastTierChangeTimeActions. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountSetManagementPolicyLastTierChangeTimeActions( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getManagementPolicies() + .createOrUpdateWithResponse( + "res7687", + "sto9699", + ManagementPolicyName.DEFAULT, + new ManagementPolicyInner() + .withPolicy( + new ManagementPolicySchema() + .withRules( + Arrays + .asList( + new ManagementPolicyRule() + .withEnabled(true) + .withName("olcmtest") + .withType(RuleType.LIFECYCLE) + .withDefinition( + new ManagementPolicyDefinition() + .withActions( + new ManagementPolicyAction() + .withBaseBlob( + new ManagementPolicyBaseBlob() + .withTierToCool( + new DateAfterModification() + .withDaysAfterModificationGreaterThan( + 30.0F)) + .withTierToArchive( + new DateAfterModification() + .withDaysAfterModificationGreaterThan(90.0F) + .withDaysAfterLastTierChangeGreaterThan( + 120.0F)) + .withDelete( + new DateAfterModification() + .withDaysAfterModificationGreaterThan( + 1000.0F))) + .withSnapshot( + new ManagementPolicySnapShot() + .withTierToArchive( + new DateAfterCreation() + .withDaysAfterCreationGreaterThan(30f) + .withDaysAfterLastTierChangeGreaterThan( + 90.0F))) + .withVersion( + new ManagementPolicyVersion() + .withTierToArchive( + new DateAfterCreation() + .withDaysAfterCreationGreaterThan(30f) + .withDaysAfterLastTierChangeGreaterThan( + 90.0F)))) + .withFilters( + new ManagementPolicyFilter() + .withPrefixMatch(Arrays.asList("olcmtestcontainer")) + .withBlobTypes(Arrays.asList("blockBlob"))))))), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdate.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdate.java new file mode 100644 index 0000000000..a92ecd5f51 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdate.java @@ -0,0 +1,87 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.DefaultAction; +import com.azure.resourcemanager.storage.models.Encryption; +import com.azure.resourcemanager.storage.models.EncryptionService; +import com.azure.resourcemanager.storage.models.EncryptionServices; +import com.azure.resourcemanager.storage.models.ExpirationAction; +import com.azure.resourcemanager.storage.models.KeyPolicy; +import com.azure.resourcemanager.storage.models.KeySource; +import com.azure.resourcemanager.storage.models.KeyType; +import com.azure.resourcemanager.storage.models.MinimumTlsVersion; +import com.azure.resourcemanager.storage.models.NetworkRuleSet; +import com.azure.resourcemanager.storage.models.ResourceAccessRule; +import com.azure.resourcemanager.storage.models.RoutingChoice; +import com.azure.resourcemanager.storage.models.RoutingPreference; +import com.azure.resourcemanager.storage.models.SasPolicy; +import com.azure.resourcemanager.storage.models.StorageAccountUpdateParameters; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for StorageAccounts Update. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdate.json + */ + /** + * Sample code: StorageAccountUpdate. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountUpdate(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .updateWithResponse( + "res9407", + "sto8596", + new StorageAccountUpdateParameters() + .withEncryption( + new Encryption() + .withServices( + new EncryptionServices() + .withBlob(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT)) + .withFile(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT))) + .withKeySource(KeySource.MICROSOFT_STORAGE)) + .withSasPolicy( + new SasPolicy() + .withSasExpirationPeriod("1.15:59:59") + .withExpirationAction(ExpirationAction.LOG)) + .withKeyPolicy(new KeyPolicy().withKeyExpirationPeriodInDays(20)) + .withIsSftpEnabled(true) + .withIsLocalUserEnabled(true) + .withNetworkRuleSet( + new NetworkRuleSet() + .withResourceAccessRules( + Arrays + .asList( + new ResourceAccessRule() + .withTenantId("72f988bf-86f1-41af-91ab-2d7cd011db47") + .withResourceId( + "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace"))) + .withDefaultAction(DefaultAction.ALLOW)) + .withRoutingPreference( + new RoutingPreference() + .withRoutingChoice(RoutingChoice.MICROSOFT_ROUTING) + .withPublishMicrosoftEndpoints(true) + .withPublishInternetEndpoints(true)) + .withAllowBlobPublicAccess(false) + .withMinimumTlsVersion(MinimumTlsVersion.TLS1_2) + .withAllowSharedKeyAccess(true) + .withDefaultToOAuthAuthentication(false), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdate.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdate.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateAllowedCopyScopeToAAD.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateAllowedCopyScopeToAAD.java new file mode 100644 index 0000000000..ca6239a10d --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateAllowedCopyScopeToAAD.java @@ -0,0 +1,86 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.AllowedCopyScope; +import com.azure.resourcemanager.storage.models.DefaultAction; +import com.azure.resourcemanager.storage.models.Encryption; +import com.azure.resourcemanager.storage.models.EncryptionService; +import com.azure.resourcemanager.storage.models.EncryptionServices; +import com.azure.resourcemanager.storage.models.ExpirationAction; +import com.azure.resourcemanager.storage.models.KeyPolicy; +import com.azure.resourcemanager.storage.models.KeySource; +import com.azure.resourcemanager.storage.models.KeyType; +import com.azure.resourcemanager.storage.models.MinimumTlsVersion; +import com.azure.resourcemanager.storage.models.NetworkRuleSet; +import com.azure.resourcemanager.storage.models.ResourceAccessRule; +import com.azure.resourcemanager.storage.models.RoutingChoice; +import com.azure.resourcemanager.storage.models.RoutingPreference; +import com.azure.resourcemanager.storage.models.SasPolicy; +import com.azure.resourcemanager.storage.models.StorageAccountUpdateParameters; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for StorageAccounts Update. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateAllowedCopyScopeToAAD.json + */ + /** + * Sample code: StorageAccountUpdateAllowedCopyScopeToAAD. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountUpdateAllowedCopyScopeToAAD(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .updateWithResponse( + "res9407", + "sto8596", + new StorageAccountUpdateParameters() + .withEncryption( + new Encryption() + .withServices( + new EncryptionServices() + .withBlob(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT)) + .withFile(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT))) + .withKeySource(KeySource.MICROSOFT_STORAGE)) + .withSasPolicy( + new SasPolicy() + .withSasExpirationPeriod("1.15:59:59") + .withExpirationAction(ExpirationAction.LOG)) + .withKeyPolicy(new KeyPolicy().withKeyExpirationPeriodInDays(20)) + .withNetworkRuleSet( + new NetworkRuleSet() + .withResourceAccessRules( + Arrays + .asList( + new ResourceAccessRule() + .withTenantId("72f988bf-86f1-41af-91ab-2d7cd011db47") + .withResourceId( + "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace"))) + .withDefaultAction(DefaultAction.ALLOW)) + .withRoutingPreference( + new RoutingPreference() + .withRoutingChoice(RoutingChoice.MICROSOFT_ROUTING) + .withPublishMicrosoftEndpoints(true) + .withPublishInternetEndpoints(true)) + .withAllowBlobPublicAccess(false) + .withMinimumTlsVersion(MinimumTlsVersion.TLS1_2) + .withAllowSharedKeyAccess(true) + .withAllowedCopyScope(AllowedCopyScope.AAD), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateAllowedCopyScopeToAAD.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateAllowedCopyScopeToAAD.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateAllowedCopyScopeToAAD.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateDisablePublicNetworkAccess.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateDisablePublicNetworkAccess.java new file mode 100644 index 0000000000..da47dfba6b --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateDisablePublicNetworkAccess.java @@ -0,0 +1,87 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.DefaultAction; +import com.azure.resourcemanager.storage.models.Encryption; +import com.azure.resourcemanager.storage.models.EncryptionService; +import com.azure.resourcemanager.storage.models.EncryptionServices; +import com.azure.resourcemanager.storage.models.ExpirationAction; +import com.azure.resourcemanager.storage.models.KeyPolicy; +import com.azure.resourcemanager.storage.models.KeySource; +import com.azure.resourcemanager.storage.models.KeyType; +import com.azure.resourcemanager.storage.models.MinimumTlsVersion; +import com.azure.resourcemanager.storage.models.NetworkRuleSet; +import com.azure.resourcemanager.storage.models.PublicNetworkAccess; +import com.azure.resourcemanager.storage.models.ResourceAccessRule; +import com.azure.resourcemanager.storage.models.RoutingChoice; +import com.azure.resourcemanager.storage.models.RoutingPreference; +import com.azure.resourcemanager.storage.models.SasPolicy; +import com.azure.resourcemanager.storage.models.StorageAccountUpdateParameters; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** Samples for StorageAccounts Update. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateDisablePublicNetworkAccess.json + */ + /** + * Sample code: StorageAccountUpdateDisablePublicNetworkAccess. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountUpdateDisablePublicNetworkAccess( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .updateWithResponse( + "res9407", + "sto8596", + new StorageAccountUpdateParameters() + .withEncryption( + new Encryption() + .withServices( + new EncryptionServices() + .withBlob(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT)) + .withFile(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT))) + .withKeySource(KeySource.MICROSOFT_STORAGE)) + .withSasPolicy( + new SasPolicy() + .withSasExpirationPeriod("1.15:59:59") + .withExpirationAction(ExpirationAction.LOG)) + .withKeyPolicy(new KeyPolicy().withKeyExpirationPeriodInDays(20)) + .withNetworkRuleSet( + new NetworkRuleSet() + .withResourceAccessRules( + Arrays + .asList( + new ResourceAccessRule() + .withTenantId("72f988bf-86f1-41af-91ab-2d7cd011db47") + .withResourceId( + "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace"))) + .withDefaultAction(DefaultAction.ALLOW)) + .withRoutingPreference( + new RoutingPreference() + .withRoutingChoice(RoutingChoice.MICROSOFT_ROUTING) + .withPublishMicrosoftEndpoints(true) + .withPublishInternetEndpoints(true)) + .withAllowBlobPublicAccess(false) + .withMinimumTlsVersion(MinimumTlsVersion.TLS1_2) + .withAllowSharedKeyAccess(true) + .withPublicNetworkAccess(PublicNetworkAccess.DISABLED), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateDisablePublicNetworkAccess.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateDisablePublicNetworkAccess.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateDisablePublicNetworkAccess.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateObjectReplicationPolicyOnDestination.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateObjectReplicationPolicyOnDestination.java new file mode 100644 index 0000000000..abd38b8d61 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateObjectReplicationPolicyOnDestination.java @@ -0,0 +1,46 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.ObjectReplicationPolicyInner; +import com.azure.resourcemanager.storage.models.ObjectReplicationPolicyFilter; +import com.azure.resourcemanager.storage.models.ObjectReplicationPolicyRule; +import java.util.Arrays; + +/** Samples for ObjectReplicationPoliciesOperation CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateObjectReplicationPolicyOnDestination.json + */ + /** + * Sample code: StorageAccountUpdateObjectReplicationPolicyOnDestination. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountUpdateObjectReplicationPolicyOnDestination( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getObjectReplicationPoliciesOperations() + .createOrUpdateWithResponse( + "res7687", + "dst112", + "2a20bb73-5717-4635-985a-5d4cf777438f", + new ObjectReplicationPolicyInner() + .withSourceAccount("src1122") + .withDestinationAccount("dst112") + .withRules( + Arrays + .asList( + new ObjectReplicationPolicyRule() + .withRuleId("d5d18a48-8801-4554-aeaa-74faf65f5ef9") + .withSourceContainer("scont139") + .withDestinationContainer("dcont139") + .withFilters( + new ObjectReplicationPolicyFilter() + .withPrefixMatch(Arrays.asList("blobA", "blobB"))), + new ObjectReplicationPolicyRule() + .withSourceContainer("scont179") + .withDestinationContainer("dcont179"))), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateObjectReplicationPolicyOnDestination.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateObjectReplicationPolicyOnDestination.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateObjectReplicationPolicyOnDestination.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateObjectReplicationPolicyOnSource.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateObjectReplicationPolicyOnSource.java new file mode 100644 index 0000000000..09c9b85779 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateObjectReplicationPolicyOnSource.java @@ -0,0 +1,47 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.ObjectReplicationPolicyInner; +import com.azure.resourcemanager.storage.models.ObjectReplicationPolicyFilter; +import com.azure.resourcemanager.storage.models.ObjectReplicationPolicyRule; +import java.util.Arrays; + +/** Samples for ObjectReplicationPoliciesOperation CreateOrUpdate. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateObjectReplicationPolicyOnSource.json + */ + /** + * Sample code: StorageAccountUpdateObjectReplicationPolicyOnSource. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountUpdateObjectReplicationPolicyOnSource( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getObjectReplicationPoliciesOperations() + .createOrUpdateWithResponse( + "res7687", + "src1122", + "2a20bb73-5717-4635-985a-5d4cf777438f", + new ObjectReplicationPolicyInner() + .withSourceAccount("src1122") + .withDestinationAccount("dst112") + .withRules( + Arrays + .asList( + new ObjectReplicationPolicyRule() + .withRuleId("d5d18a48-8801-4554-aeaa-74faf65f5ef9") + .withSourceContainer("scont139") + .withDestinationContainer("dcont139") + .withFilters( + new ObjectReplicationPolicyFilter() + .withPrefixMatch(Arrays.asList("blobA", "blobB"))), + new ObjectReplicationPolicyRule() + .withRuleId("cfbb4bc2-8b60-429f-b05a-d1e0942b33b2") + .withSourceContainer("scont179") + .withDestinationContainer("dcont179"))), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateObjectReplicationPolicyOnSource.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateObjectReplicationPolicyOnSource.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateObjectReplicationPolicyOnSource.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.java new file mode 100644 index 0000000000..f99817ab67 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.java @@ -0,0 +1,78 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.Encryption; +import com.azure.resourcemanager.storage.models.EncryptionIdentity; +import com.azure.resourcemanager.storage.models.EncryptionService; +import com.azure.resourcemanager.storage.models.EncryptionServices; +import com.azure.resourcemanager.storage.models.Identity; +import com.azure.resourcemanager.storage.models.IdentityType; +import com.azure.resourcemanager.storage.models.KeySource; +import com.azure.resourcemanager.storage.models.KeyType; +import com.azure.resourcemanager.storage.models.KeyVaultProperties; +import com.azure.resourcemanager.storage.models.Kind; +import com.azure.resourcemanager.storage.models.Sku; +import com.azure.resourcemanager.storage.models.SkuName; +import com.azure.resourcemanager.storage.models.StorageAccountUpdateParameters; +import com.azure.resourcemanager.storage.models.UserAssignedIdentity; +import java.util.HashMap; +import java.util.Map; + +/** Samples for StorageAccounts Update. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json + */ + /** + * Sample code: StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountUpdateUserAssignedEncryptionIdentityWithCMK( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .updateWithResponse( + "res9101", + "sto4445", + new StorageAccountUpdateParameters() + .withSku(new Sku().withName(SkuName.STANDARD_LRS)) + .withIdentity( + new Identity() + .withType(IdentityType.USER_ASSIGNED) + .withUserAssignedIdentities( + mapOf( + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}", + new UserAssignedIdentity()))) + .withKind(Kind.STORAGE) + .withEncryption( + new Encryption() + .withServices( + new EncryptionServices() + .withBlob(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT)) + .withFile(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT))) + .withKeySource(KeySource.MICROSOFT_KEYVAULT) + .withKeyVaultProperties( + new KeyVaultProperties() + .withKeyName("wrappingKey") + .withKeyVersion("") + .withKeyVaultUri("https://myvault8569.vault.azure.net")) + .withEncryptionIdentity( + new EncryptionIdentity() + .withEncryptionUserAssignedIdentity( + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}"))), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.java new file mode 100644 index 0000000000..d4422e3b2d --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.java @@ -0,0 +1,79 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.Encryption; +import com.azure.resourcemanager.storage.models.EncryptionIdentity; +import com.azure.resourcemanager.storage.models.EncryptionService; +import com.azure.resourcemanager.storage.models.EncryptionServices; +import com.azure.resourcemanager.storage.models.Identity; +import com.azure.resourcemanager.storage.models.IdentityType; +import com.azure.resourcemanager.storage.models.KeySource; +import com.azure.resourcemanager.storage.models.KeyType; +import com.azure.resourcemanager.storage.models.KeyVaultProperties; +import com.azure.resourcemanager.storage.models.Kind; +import com.azure.resourcemanager.storage.models.Sku; +import com.azure.resourcemanager.storage.models.SkuName; +import com.azure.resourcemanager.storage.models.StorageAccountUpdateParameters; +import com.azure.resourcemanager.storage.models.UserAssignedIdentity; +import java.util.HashMap; +import java.util.Map; + +/** Samples for StorageAccounts Update. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json + */ + /** + * Sample code: StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .updateWithResponse( + "res131918", + "sto131918", + new StorageAccountUpdateParameters() + .withSku(new Sku().withName(SkuName.STANDARD_LRS)) + .withIdentity( + new Identity() + .withType(IdentityType.USER_ASSIGNED) + .withUserAssignedIdentities( + mapOf( + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}", + new UserAssignedIdentity()))) + .withKind(Kind.STORAGE) + .withEncryption( + new Encryption() + .withServices( + new EncryptionServices() + .withBlob(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT)) + .withFile(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT))) + .withKeySource(KeySource.MICROSOFT_KEYVAULT) + .withKeyVaultProperties( + new KeyVaultProperties() + .withKeyName("wrappingKey") + .withKeyVersion("") + .withKeyVaultUri("https://myvault8569.vault.azure.net")) + .withEncryptionIdentity( + new EncryptionIdentity() + .withEncryptionUserAssignedIdentity( + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}") + .withEncryptionFederatedIdentityClientId("3109d1c4-a5de-4d84-8832-feabb916a4b6"))), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateWithImmutabilityPolicy.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateWithImmutabilityPolicy.java new file mode 100644 index 0000000000..91545438ab --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateWithImmutabilityPolicy.java @@ -0,0 +1,51 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.AccountImmutabilityPolicyProperties; +import com.azure.resourcemanager.storage.models.AccountImmutabilityPolicyState; +import com.azure.resourcemanager.storage.models.ImmutableStorageAccount; +import com.azure.resourcemanager.storage.models.StorageAccountUpdateParameters; +import java.util.HashMap; +import java.util.Map; + +/** Samples for StorageAccounts Update. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateWithImmutabilityPolicy.json + */ + /** + * Sample code: StorageAccountUpdateWithImmutabilityPolicy. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountUpdateWithImmutabilityPolicy( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .updateWithResponse( + "res9407", + "sto8596", + new StorageAccountUpdateParameters() + .withImmutableStorageWithVersioning( + new ImmutableStorageAccount() + .withEnabled(true) + .withImmutabilityPolicy( + new AccountImmutabilityPolicyProperties() + .withImmutabilityPeriodSinceCreationInDays(15) + .withState(AccountImmutabilityPolicyState.LOCKED) + .withAllowProtectedAppendWrites(true))), + Context.NONE); + } + + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateWithImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateWithImmutabilityPolicy.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/StorageAccountUpdateWithImmutabilityPolicy.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationDelete.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationDelete.java new file mode 100644 index 0000000000..3626385f2f --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationDelete.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for Table Delete. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationDelete.json + */ + /** + * Sample code: TableOperationDelete. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void tableOperationDelete(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getTables() + .deleteWithResponse("res3376", "sto328", "table6185", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationDelete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationDelete.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationDelete.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationGet.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationGet.java new file mode 100644 index 0000000000..066909d62c --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for Table Get. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationGet.json + */ + /** + * Sample code: TableOperationGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void tableOperationGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getTables() + .getWithResponse("res3376", "sto328", "table6185", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationList.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationList.java new file mode 100644 index 0000000000..7141b51788 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationList.java @@ -0,0 +1,16 @@ +import com.azure.core.util.Context; + +/** Samples for Table List. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationList.json + */ + /** + * Sample code: TableOperationList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void tableOperationList(com.azure.resourcemanager.AzureResourceManager azure) { + azure.storageAccounts().manager().serviceClient().getTables().list("res9290", "sto328", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationPatch.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationPatch.java new file mode 100644 index 0000000000..2fe20e244f --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationPatch.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for Table Update. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationPatch.json + */ + /** + * Sample code: TableOperationPatch. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void tableOperationPatch(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getTables() + .updateWithResponse("res3376", "sto328", "table6185", null, Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationPatch.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationPatch.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationPatch.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationPut.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationPut.java new file mode 100644 index 0000000000..688f0cb2fb --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationPut.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for Table Create. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationPut.json + */ + /** + * Sample code: TableOperationPut. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void tableOperationPut(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getTables() + .createWithResponse("res3376", "sto328", "table6185", null, Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationPut.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationPutOrPatchAcls.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationPutOrPatchAcls.java new file mode 100644 index 0000000000..fb2d3665f0 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationPutOrPatchAcls.java @@ -0,0 +1,48 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.TableInner; +import com.azure.resourcemanager.storage.models.TableAccessPolicy; +import com.azure.resourcemanager.storage.models.TableSignedIdentifier; +import java.time.OffsetDateTime; +import java.util.Arrays; + +/** Samples for Table Create. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableOperationPutOrPatchAcls.json + */ + /** + * Sample code: TableOperationPutOrPatchAcls. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void tableOperationPutOrPatchAcls(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getTables() + .createWithResponse( + "res3376", + "sto328", + "table6185", + new TableInner() + .withSignedIdentifiers( + Arrays + .asList( + new TableSignedIdentifier() + .withId("MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI") + .withAccessPolicy( + new TableAccessPolicy() + .withStartTime(OffsetDateTime.parse("2022-03-17T08:49:37.0000000Z")) + .withExpiryTime(OffsetDateTime.parse("2022-03-20T08:49:37.0000000Z")) + .withPermission("raud")), + new TableSignedIdentifier() + .withId("PTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODklMTI") + .withAccessPolicy( + new TableAccessPolicy() + .withStartTime(OffsetDateTime.parse("2022-03-17T08:49:37.0000000Z")) + .withExpiryTime(OffsetDateTime.parse("2022-03-20T08:49:37.0000000Z")) + .withPermission("rad")))), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationPutOrPatchAcls.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationPutOrPatchAcls.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableOperationPutOrPatchAcls.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableServicesGet.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableServicesGet.java new file mode 100644 index 0000000000..fee664ac28 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableServicesGet.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for TableServices GetServiceProperties. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableServicesGet.json + */ + /** + * Sample code: TableServicesGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void tableServicesGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getTableServices() + .getServicePropertiesWithResponse("res4410", "sto8607", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableServicesGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableServicesGet.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableServicesGet.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableServicesList.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableServicesList.java new file mode 100644 index 0000000000..3c8fc049c9 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableServicesList.java @@ -0,0 +1,21 @@ +import com.azure.core.util.Context; + +/** Samples for TableServices List. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableServicesList.json + */ + /** + * Sample code: TableServicesList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void tableServicesList(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getTableServices() + .listWithResponse("res9290", "sto1590", Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableServicesList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableServicesList.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableServicesList.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableServicesPut.java b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableServicesPut.java new file mode 100644 index 0000000000..b60eb4aa56 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableServicesPut.java @@ -0,0 +1,68 @@ +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.TableServicePropertiesInner; +import com.azure.resourcemanager.storage.models.CorsRule; +import com.azure.resourcemanager.storage.models.CorsRuleAllowedMethodsItem; +import com.azure.resourcemanager.storage.models.CorsRules; +import java.util.Arrays; + +/** Samples for TableServices SetServiceProperties. */ +public final class Main { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/TableServicesPut.json + */ + /** + * Sample code: TableServicesPut. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void tableServicesPut(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getTableServices() + .setServicePropertiesWithResponse( + "res4410", + "sto8607", + new TableServicePropertiesInner() + .withCors( + new CorsRules() + .withCorsRules( + Arrays + .asList( + new CorsRule() + .withAllowedOrigins( + Arrays.asList("http://www.contoso.com", "http://www.fabrikam.com")) + .withAllowedMethods( + Arrays + .asList( + CorsRuleAllowedMethodsItem.GET, + CorsRuleAllowedMethodsItem.HEAD, + CorsRuleAllowedMethodsItem.POST, + CorsRuleAllowedMethodsItem.OPTIONS, + CorsRuleAllowedMethodsItem.MERGE, + CorsRuleAllowedMethodsItem.PUT)) + .withMaxAgeInSeconds(100) + .withExposedHeaders(Arrays.asList("x-ms-meta-*")) + .withAllowedHeaders( + Arrays.asList("x-ms-meta-abc", "x-ms-meta-data*", "x-ms-meta-target*")), + new CorsRule() + .withAllowedOrigins(Arrays.asList("*")) + .withAllowedMethods(Arrays.asList(CorsRuleAllowedMethodsItem.GET)) + .withMaxAgeInSeconds(2) + .withExposedHeaders(Arrays.asList("*")) + .withAllowedHeaders(Arrays.asList("*")), + new CorsRule() + .withAllowedOrigins( + Arrays.asList("http://www.abc23.com", "https://www.fabrikam.com/*")) + .withAllowedMethods( + Arrays + .asList( + CorsRuleAllowedMethodsItem.GET, CorsRuleAllowedMethodsItem.PUT)) + .withMaxAgeInSeconds(2000) + .withExposedHeaders( + Arrays.asList("x-ms-meta-abc", "x-ms-meta-data*", "x-ms-meta-target*")) + .withAllowedHeaders(Arrays.asList("x-ms-meta-12345675754564*"))))), + Context.NONE); + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableServicesPut.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableServicesPut.json new file mode 100644 index 0000000000..1c2f329976 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples-java/TableServicesPut.json @@ -0,0 +1 @@ +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/CreateAppServiceCertificate.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/CreateAppServiceCertificate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/CreateAppServiceCertificate.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/CreateAppServiceCertificate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/CreateAppServiceCertificateOrder.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/CreateAppServiceCertificateOrder.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/CreateAppServiceCertificateOrder.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/CreateAppServiceCertificateOrder.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/DeleteAppServiceCertificate.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/DeleteAppServiceCertificate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/DeleteAppServiceCertificate.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/DeleteAppServiceCertificate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/DeleteAppServiceCertificateOrder.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/DeleteAppServiceCertificateOrder.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/DeleteAppServiceCertificateOrder.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/DeleteAppServiceCertificateOrder.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/Diagnostics_GetAppServiceCertificateOrderDetectorResponse.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/Diagnostics_GetAppServiceCertificateOrderDetectorResponse.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/Diagnostics_GetAppServiceCertificateOrderDetectorResponse.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/Diagnostics_GetAppServiceCertificateOrderDetectorResponse.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/Diagnostics_ListAppServiceCertificateOrderDetectorResponse.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/Diagnostics_ListAppServiceCertificateOrderDetectorResponse.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/Diagnostics_ListAppServiceCertificateOrderDetectorResponse.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/Diagnostics_ListAppServiceCertificateOrderDetectorResponse.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/GetAppServiceCertificate.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/GetAppServiceCertificate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/GetAppServiceCertificate.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/GetAppServiceCertificate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/GetAppServiceCertificateOrder.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/GetAppServiceCertificateOrder.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/GetAppServiceCertificateOrder.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/GetAppServiceCertificateOrder.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/ListAppServiceCertificateOrdersByResourceGroup.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/ListAppServiceCertificateOrdersByResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/ListAppServiceCertificateOrdersByResourceGroup.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/ListAppServiceCertificateOrdersByResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/ListAppServiceCertificateOrdersBySubscription.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/ListAppServiceCertificateOrdersBySubscription.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/ListAppServiceCertificateOrdersBySubscription.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/ListAppServiceCertificateOrdersBySubscription.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/ListCertificatesByAppServiceCertificateOrder.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/ListCertificatesByAppServiceCertificateOrder.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/ListCertificatesByAppServiceCertificateOrder.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/ListCertificatesByAppServiceCertificateOrder.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/ListOperations.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/ListOperations.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/ListOperations.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/ListOperations.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/ReissueAppServiceCertificateOrder.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/ReissueAppServiceCertificateOrder.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/ReissueAppServiceCertificateOrder.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/ReissueAppServiceCertificateOrder.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/RenewAppServiceCertificateOrder.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/RenewAppServiceCertificateOrder.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/RenewAppServiceCertificateOrder.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/RenewAppServiceCertificateOrder.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/ResendAppServiceCertificateOrderEmail.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/ResendAppServiceCertificateOrderEmail.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/ResendAppServiceCertificateOrderEmail.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/ResendAppServiceCertificateOrderEmail.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/ResendDomainOwnershipVerificationEmail.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/ResendDomainOwnershipVerificationEmail.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/ResendDomainOwnershipVerificationEmail.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/ResendDomainOwnershipVerificationEmail.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/RetrieveCertificateEmailHistory.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/RetrieveCertificateEmailHistory.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/RetrieveCertificateEmailHistory.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/RetrieveCertificateEmailHistory.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/RetrieveCertificateOrderActions.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/RetrieveCertificateOrderActions.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/RetrieveCertificateOrderActions.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/RetrieveCertificateOrderActions.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/RetrieveSiteSeal.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/RetrieveSiteSeal.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/RetrieveSiteSeal.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/RetrieveSiteSeal.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/UpdateAppServiceCertificate.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/UpdateAppServiceCertificate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/UpdateAppServiceCertificate.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/UpdateAppServiceCertificate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/UpdateAppServiceCertificateOrder.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/UpdateAppServiceCertificateOrder.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/UpdateAppServiceCertificateOrder.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/UpdateAppServiceCertificateOrder.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/ValidateAppServiceCertificatePurchaseInformationBySubscription.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/ValidateAppServiceCertificatePurchaseInformationBySubscription.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/ValidateAppServiceCertificatePurchaseInformationBySubscription.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/ValidateAppServiceCertificatePurchaseInformationBySubscription.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/VerifyDomainOwnership.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/VerifyDomainOwnership.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/VerifyDomainOwnership.json +++ b/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples-java/VerifyDomainOwnership.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/CheckDomainAvailability.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/CheckDomainAvailability.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/CheckDomainAvailability.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/CheckDomainAvailability.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/CreateAppServiceDomain.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/CreateAppServiceDomain.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/CreateAppServiceDomain.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/CreateAppServiceDomain.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/CreateAppServiceDomainOwnershipIdentifier.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/CreateAppServiceDomainOwnershipIdentifier.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/CreateAppServiceDomainOwnershipIdentifier.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/CreateAppServiceDomainOwnershipIdentifier.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/DeleteAppServiceDomain.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/DeleteAppServiceDomain.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/DeleteAppServiceDomain.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/DeleteAppServiceDomain.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/DeleteAppServiceDomainOwnershipIdentifier.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/DeleteAppServiceDomainOwnershipIdentifier.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/DeleteAppServiceDomainOwnershipIdentifier.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/DeleteAppServiceDomainOwnershipIdentifier.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/GetDomain.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/GetDomain.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/GetDomain.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/GetDomain.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/GetDomainControlCenterSsoRequest.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/GetDomainControlCenterSsoRequest.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/GetDomainControlCenterSsoRequest.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/GetDomainControlCenterSsoRequest.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/GetDomainOwnershipIdentifier.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/GetDomainOwnershipIdentifier.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/GetDomainOwnershipIdentifier.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/GetDomainOwnershipIdentifier.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/GetTopLevelDomain.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/GetTopLevelDomain.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/GetTopLevelDomain.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/GetTopLevelDomain.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/ListDomainOwnershipIdentifiers.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/ListDomainOwnershipIdentifiers.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/ListDomainOwnershipIdentifiers.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/ListDomainOwnershipIdentifiers.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/ListDomainRecommendations.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/ListDomainRecommendations.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/ListDomainRecommendations.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/ListDomainRecommendations.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/ListDomainsByResourceGroup.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/ListDomainsByResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/ListDomainsByResourceGroup.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/ListDomainsByResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/ListDomainsBySubscription.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/ListDomainsBySubscription.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/ListDomainsBySubscription.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/ListDomainsBySubscription.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/ListOperations.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/ListOperations.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/ListOperations.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/ListOperations.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/ListTopLevelDomainAgreements.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/ListTopLevelDomainAgreements.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/ListTopLevelDomainAgreements.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/ListTopLevelDomainAgreements.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/ListTopLevelDomains.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/ListTopLevelDomains.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/ListTopLevelDomains.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/ListTopLevelDomains.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/RenewDomain.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/RenewDomain.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/RenewDomain.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/RenewDomain.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/TransferOutDomain.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/TransferOutDomain.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/TransferOutDomain.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/TransferOutDomain.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/UpdateAppServiceDomain.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/UpdateAppServiceDomain.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/UpdateAppServiceDomain.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/UpdateAppServiceDomain.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/UpdateAppServiceDomainOwnershipIdentifier.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/UpdateAppServiceDomainOwnershipIdentifier.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/UpdateAppServiceDomainOwnershipIdentifier.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2022-03-01/examples-java/UpdateAppServiceDomainOwnershipIdentifier.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ActivateRevision.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ActivateRevision.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ActivateRevision.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ActivateRevision.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ApproveOrRejectPrivateEndpointConnection.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ApproveOrRejectPrivateEndpointConnection.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ApproveOrRejectPrivateEndpointConnection.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ApproveOrRejectPrivateEndpointConnection.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ChangeVnet.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ChangeVnet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ChangeVnet.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ChangeVnet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_CreateOrUpdate.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_CreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_CreateOrUpdate.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_CreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_CreateOrUpdateMultiRolePool.java b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_CreateOrUpdateMultiRolePool.java index 2757083da8..c32917f6d3 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_CreateOrUpdateMultiRolePool.java +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_CreateOrUpdateMultiRolePool.java @@ -1,7 +1,7 @@ import com.azure.core.util.Context; import com.azure.resourcemanager.appservice.fluent.models.WorkerPoolResourceInner; -/** Samples for AppServiceEnvironments UpdateMultiRolePool. */ +/** Samples for AppServiceEnvironments CreateOrUpdateMultiRolePool. */ public final class Main { /* * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/AppServiceEnvironments_CreateOrUpdateMultiRolePool.json @@ -17,7 +17,7 @@ public final class Main { .manager() .serviceClient() .getAppServiceEnvironments() - .updateMultiRolePoolWithResponse( + .createOrUpdateMultiRolePool( "test-rg", "test-ase", new WorkerPoolResourceInner().withWorkerSize("Medium").withWorkerCount(3), diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_CreateOrUpdateMultiRolePool.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_CreateOrUpdateMultiRolePool.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_CreateOrUpdateMultiRolePool.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_CreateOrUpdateMultiRolePool.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_CreateOrUpdateWorkerPool.java b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_CreateOrUpdateWorkerPool.java index 6371a853c2..2304384e45 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_CreateOrUpdateWorkerPool.java +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_CreateOrUpdateWorkerPool.java @@ -1,7 +1,7 @@ import com.azure.core.util.Context; import com.azure.resourcemanager.appservice.fluent.models.WorkerPoolResourceInner; -/** Samples for AppServiceEnvironments UpdateWorkerPool. */ +/** Samples for AppServiceEnvironments CreateOrUpdateWorkerPool. */ public final class Main { /* * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/AppServiceEnvironments_CreateOrUpdateWorkerPool.json @@ -17,7 +17,7 @@ public final class Main { .manager() .serviceClient() .getAppServiceEnvironments() - .updateWorkerPoolWithResponse( + .createOrUpdateWorkerPool( "test-rg", "test-ase", "0", diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_CreateOrUpdateWorkerPool.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_CreateOrUpdateWorkerPool.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_CreateOrUpdateWorkerPool.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_CreateOrUpdateWorkerPool.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_Delete.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_Delete.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_DeletePrivateEndpointConnection.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_DeletePrivateEndpointConnection.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_DeletePrivateEndpointConnection.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_DeletePrivateEndpointConnection.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_Get.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_Get.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_GetAseV3NetworkingConfiguration.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_GetAseV3NetworkingConfiguration.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_GetAseV3NetworkingConfiguration.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_GetAseV3NetworkingConfiguration.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_GetDiagnosticsItem.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_GetDiagnosticsItem.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_GetDiagnosticsItem.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_GetDiagnosticsItem.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_GetMultiRolePool.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_GetMultiRolePool.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_GetMultiRolePool.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_GetMultiRolePool.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_GetPrivateEndpointConnection.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_GetPrivateEndpointConnection.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_GetPrivateEndpointConnection.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_GetPrivateEndpointConnection.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_GetPrivateEndpointConnectionList.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_GetPrivateEndpointConnectionList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_GetPrivateEndpointConnectionList.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_GetPrivateEndpointConnectionList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_GetPrivateLinkResources.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_GetPrivateLinkResources.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_GetPrivateLinkResources.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_GetPrivateLinkResources.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_GetVipInfo.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_GetVipInfo.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_GetVipInfo.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_GetVipInfo.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_GetWorkerPool.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_GetWorkerPool.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_GetWorkerPool.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_GetWorkerPool.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_List.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_List.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListAppServicePlans.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListAppServicePlans.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListAppServicePlans.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListAppServicePlans.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListByResourceGroup.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListByResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListByResourceGroup.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListByResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListCapacities.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListCapacities.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListCapacities.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListCapacities.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListDiagnostics.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListDiagnostics.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListDiagnostics.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListDiagnostics.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListMultiRoleMetricDefinitions.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListMultiRoleMetricDefinitions.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListMultiRoleMetricDefinitions.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListMultiRoleMetricDefinitions.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListMultiRolePoolInstanceMetricDefinitions.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListMultiRolePoolInstanceMetricDefinitions.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListMultiRolePoolInstanceMetricDefinitions.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListMultiRolePoolInstanceMetricDefinitions.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListMultiRolePoolSkus.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListMultiRolePoolSkus.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListMultiRolePoolSkus.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListMultiRolePoolSkus.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListMultiRolePools.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListMultiRolePools.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListMultiRolePools.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListMultiRolePools.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListMultiRoleUsages.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListMultiRoleUsages.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListMultiRoleUsages.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListMultiRoleUsages.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListOperations.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListOperations.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListOperations.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListOperations.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListUsages.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListUsages.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListUsages.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListUsages.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListWebApps.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListWebApps.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListWebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListWebApps.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListWebWorkerMetricDefinitions.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListWebWorkerMetricDefinitions.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListWebWorkerMetricDefinitions.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListWebWorkerMetricDefinitions.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListWebWorkerUsages.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListWebWorkerUsages.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListWebWorkerUsages.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListWebWorkerUsages.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListWorkerPoolInstanceMetricDefinitions.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListWorkerPoolInstanceMetricDefinitions.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListWorkerPoolInstanceMetricDefinitions.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListWorkerPoolInstanceMetricDefinitions.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListWorkerPoolSkus.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListWorkerPoolSkus.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListWorkerPoolSkus.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListWorkerPoolSkus.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListWorkerPools.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListWorkerPools.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListWorkerPools.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_ListWorkerPools.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_Reboot.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_Reboot.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_Reboot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_Reboot.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_Resume.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_Resume.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_Resume.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_Resume.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_Suspend.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_Suspend.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_Suspend.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_Suspend.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_TestUpgradeAvailableNotification.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_TestUpgradeAvailableNotification.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_TestUpgradeAvailableNotification.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_TestUpgradeAvailableNotification.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_Update.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_Update.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_Update.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_Update.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_UpdateAseNetworkingConfiguration.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_UpdateAseNetworkingConfiguration.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_UpdateAseNetworkingConfiguration.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_UpdateAseNetworkingConfiguration.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_Upgrade.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_Upgrade.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_Upgrade.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/AppServiceEnvironments_Upgrade.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ApproveRejectSitePrivateEndpointConnection.java b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ApproveRejectSitePrivateEndpointConnection.java index 2ca31eeea3..e1276f3adb 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ApproveRejectSitePrivateEndpointConnection.java +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ApproveRejectSitePrivateEndpointConnection.java @@ -2,7 +2,7 @@ import com.azure.core.util.Context; import com.azure.resourcemanager.appservice.models.PrivateLinkConnectionApprovalRequestResource; import com.azure.resourcemanager.appservice.models.PrivateLinkConnectionState; -/** Samples for WebApps ApproveOrRejectPrivateEndpointConnection. */ +/** Samples for StaticSites ApproveOrRejectPrivateEndpointConnection. */ public final class Main { /* * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/ApproveRejectSitePrivateEndpointConnection.json @@ -18,7 +18,7 @@ public final class Main { .webApps() .manager() .serviceClient() - .getWebApps() + .getStaticSites() .approveOrRejectPrivateEndpointConnection( "rg", "testSite", diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ApproveRejectSitePrivateEndpointConnection.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ApproveRejectSitePrivateEndpointConnection.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ApproveRejectSitePrivateEndpointConnection.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ApproveRejectSitePrivateEndpointConnection.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ApproveRejectSitePrivateEndpointConnectionSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ApproveRejectSitePrivateEndpointConnectionSlot.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ApproveRejectSitePrivateEndpointConnectionSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ApproveRejectSitePrivateEndpointConnectionSlot.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateAppServicePlan.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateAppServicePlan.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateAppServicePlan.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateAppServicePlan.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateCertificate.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateCertificate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateCertificate.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateCertificate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateContainerApp.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateContainerApp.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateContainerApp.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateContainerApp.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateStaticSite.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateStaticSite.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateStaticSite.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateStaticSite.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateStaticSiteAppSettings.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateStaticSiteAppSettings.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateStaticSiteAppSettings.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateStaticSiteAppSettings.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateStaticSiteBuildAppSettings.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateStaticSiteBuildAppSettings.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateStaticSiteBuildAppSettings.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateStaticSiteBuildAppSettings.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateStaticSiteBuildFunctionAppSettings.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateStaticSiteBuildFunctionAppSettings.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateStaticSiteBuildFunctionAppSettings.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateStaticSiteBuildFunctionAppSettings.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateStaticSiteCustomDomain.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateStaticSiteCustomDomain.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateStaticSiteCustomDomain.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateStaticSiteCustomDomain.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateStaticSiteFunctionAppSettings.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateStaticSiteFunctionAppSettings.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateStaticSiteFunctionAppSettings.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateOrUpdateStaticSiteFunctionAppSettings.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateUserRolesInvitationLink.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateUserRolesInvitationLink.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateUserRolesInvitationLink.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/CreateUserRolesInvitationLink.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeactivateRevision.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeactivateRevision.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeactivateRevision.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeactivateRevision.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteAppServicePlan.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteAppServicePlan.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteAppServicePlan.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteAppServicePlan.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteAseCustomDnsSuffixConfiguration.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteAseCustomDnsSuffixConfiguration.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteAseCustomDnsSuffixConfiguration.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteAseCustomDnsSuffixConfiguration.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteCertificate.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteCertificate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteCertificate.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteCertificate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteContainerApp.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteContainerApp.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteContainerApp.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteContainerApp.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteSitePrivateEndpointConnection.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteSitePrivateEndpointConnection.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteSitePrivateEndpointConnection.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteSitePrivateEndpointConnection.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteSitePrivateEndpointConnectionSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteSitePrivateEndpointConnectionSlot.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteSitePrivateEndpointConnectionSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteSitePrivateEndpointConnectionSlot.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteStaticSite.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteStaticSite.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteStaticSite.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteStaticSite.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteStaticSiteBuild.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteStaticSiteBuild.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteStaticSiteBuild.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteStaticSiteBuild.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteStaticSiteCustomDomain.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteStaticSiteCustomDomain.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteStaticSiteCustomDomain.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteStaticSiteCustomDomain.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteStaticSiteUser.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteStaticSiteUser.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteStaticSiteUser.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DeleteStaticSiteUser.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DetachStaticSite.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DetachStaticSite.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DetachStaticSite.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DetachStaticSite.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DetachUserProvidedFunctionAppFromStaticSite.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DetachUserProvidedFunctionAppFromStaticSite.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DetachUserProvidedFunctionAppFromStaticSite.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DetachUserProvidedFunctionAppFromStaticSite.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DetachUserProvidedFunctionAppFromStaticSiteBuild.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DetachUserProvidedFunctionAppFromStaticSiteBuild.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DetachUserProvidedFunctionAppFromStaticSiteBuild.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/DetachUserProvidedFunctionAppFromStaticSiteBuild.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ExecuteSiteAnalysis.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ExecuteSiteAnalysis.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ExecuteSiteAnalysis.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ExecuteSiteAnalysis.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ExecuteSiteAnalysisSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ExecuteSiteAnalysisSlot.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ExecuteSiteAnalysisSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ExecuteSiteAnalysisSlot.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ExecuteSiteDetector.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ExecuteSiteDetector.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ExecuteSiteDetector.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ExecuteSiteDetector.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ExecuteSiteDetectorSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ExecuteSiteDetectorSlot.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ExecuteSiteDetectorSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ExecuteSiteDetectorSlot.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetHostingEnvironmentDetectorResponse.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetHostingEnvironmentDetectorResponse.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetHostingEnvironmentDetectorResponse.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetHostingEnvironmentDetectorResponse.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteAnalysis.java b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteAnalysis.java index e680c2bb76..097f1aeaf4 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteAnalysis.java +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteAnalysis.java @@ -1,6 +1,6 @@ import com.azure.core.util.Context; -/** Samples for Diagnostics GetSiteAnalysisSlot. */ +/** Samples for Diagnostics GetSiteAnalysis. */ public final class Main { /* * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/Diagnostics_GetSiteAnalysis.json @@ -16,7 +16,7 @@ public final class Main { .manager() .serviceClient() .getDiagnostics() - .getSiteAnalysisSlotWithResponse( - "Sample-WestUSResourceGroup", "SampleApp", "availability", "appanalysis", "Production", Context.NONE); + .getSiteAnalysisWithResponse( + "Sample-WestUSResourceGroup", "SampleApp", "availability", "appanalysis", Context.NONE); } } diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteAnalysis.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteAnalysis.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteAnalysis.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteAnalysis.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteAnalysisSlot.java b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteAnalysisSlot.java index a81f480944..cd80517df7 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteAnalysisSlot.java +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteAnalysisSlot.java @@ -1,6 +1,6 @@ import com.azure.core.util.Context; -/** Samples for Diagnostics GetSiteAnalysisSlot. */ +/** Samples for Diagnostics GetSiteAnalysis. */ public final class Main { /* * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/Diagnostics_GetSiteAnalysisSlot.json @@ -16,7 +16,7 @@ public final class Main { .manager() .serviceClient() .getDiagnostics() - .getSiteAnalysisSlotWithResponse( - "Sample-WestUSResourceGroup", "SampleApp", "availability", "appanalysis", "staging", Context.NONE); + .getSiteAnalysisWithResponse( + "Sample-WestUSResourceGroup", "SampleApp", "availability", "appanalysis", Context.NONE); } } diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteAnalysisSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteAnalysisSlot.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteAnalysisSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteAnalysisSlot.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteDetector.java b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteDetector.java index 53d9307f27..1a36735bc0 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteDetector.java +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteDetector.java @@ -1,6 +1,6 @@ import com.azure.core.util.Context; -/** Samples for Diagnostics GetSiteDetectorSlot. */ +/** Samples for Diagnostics GetSiteDetector. */ public final class Main { /* * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/Diagnostics_GetSiteDetector.json @@ -16,7 +16,7 @@ public final class Main { .manager() .serviceClient() .getDiagnostics() - .getSiteDetectorSlotWithResponse( - "Sample-WestUSResourceGroup", "SampleApp", "availability", "sitecrashes", "Production", Context.NONE); + .getSiteDetectorWithResponse( + "Sample-WestUSResourceGroup", "SampleApp", "availability", "sitecrashes", Context.NONE); } } diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteDetector.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteDetector.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteDetector.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteDetector.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteDetectorResponse.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteDetectorResponse.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteDetectorResponse.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteDetectorResponse.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteDetectorResponseSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteDetectorResponseSlot.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteDetectorResponseSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteDetectorResponseSlot.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteDetectorSlot.java b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteDetectorSlot.java index 52af80c66b..0fb5cb562d 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteDetectorSlot.java +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteDetectorSlot.java @@ -1,6 +1,6 @@ import com.azure.core.util.Context; -/** Samples for Diagnostics GetSiteDetectorSlot. */ +/** Samples for Diagnostics GetSiteDetector. */ public final class Main { /* * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/Diagnostics_GetSiteDetectorSlot.json @@ -16,7 +16,7 @@ public final class Main { .manager() .serviceClient() .getDiagnostics() - .getSiteDetectorSlotWithResponse( - "Sample-WestUSResourceGroup", "SampleApp", "availability", "sitecrashes", "staging", Context.NONE); + .getSiteDetectorWithResponse( + "Sample-WestUSResourceGroup", "SampleApp", "availability", "sitecrashes", Context.NONE); } } diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteDetectorSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteDetectorSlot.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteDetectorSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteDetectorSlot.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteDiagnosticCategory.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteDiagnosticCategory.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteDiagnosticCategory.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteDiagnosticCategory.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteDiagnosticCategorySlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteDiagnosticCategorySlot.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteDiagnosticCategorySlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_GetSiteDiagnosticCategorySlot.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListHostingEnvironmentDetectorResponses.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListHostingEnvironmentDetectorResponses.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListHostingEnvironmentDetectorResponses.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListHostingEnvironmentDetectorResponses.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteAnalyses.java b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteAnalyses.java index 39be23d8db..aecde6fd8f 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteAnalyses.java +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteAnalyses.java @@ -1,6 +1,6 @@ import com.azure.core.util.Context; -/** Samples for Diagnostics ListSiteAnalyses. */ +/** Samples for Diagnostics ListSiteAnalysesSlot. */ public final class Main { /* * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/Diagnostics_ListSiteAnalyses.json @@ -16,6 +16,7 @@ public final class Main { .manager() .serviceClient() .getDiagnostics() - .listSiteAnalyses("Sample-WestUSResourceGroup", "SampleApp", "availability", Context.NONE); + .listSiteAnalysesSlot( + "Sample-WestUSResourceGroup", "SampleApp", "availability", "Production", Context.NONE); } } diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteAnalyses.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteAnalyses.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteAnalyses.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteAnalyses.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteAnalysesSlot.java b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteAnalysesSlot.java index 4b9a4c1116..0a335e0351 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteAnalysesSlot.java +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteAnalysesSlot.java @@ -1,6 +1,6 @@ import com.azure.core.util.Context; -/** Samples for Diagnostics ListSiteAnalyses. */ +/** Samples for Diagnostics ListSiteAnalysesSlot. */ public final class Main { /* * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/Diagnostics_ListSiteAnalysesSlot.json @@ -16,6 +16,6 @@ public final class Main { .manager() .serviceClient() .getDiagnostics() - .listSiteAnalyses("Sample-WestUSResourceGroup", "SampleApp", "availability", Context.NONE); + .listSiteAnalysesSlot("Sample-WestUSResourceGroup", "SampleApp", "availability", "staging", Context.NONE); } } diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteAnalysesSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteAnalysesSlot.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteAnalysesSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteAnalysesSlot.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDetectorResponses.java b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDetectorResponses.java index 83ed161b88..8849c7f0b4 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDetectorResponses.java +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDetectorResponses.java @@ -1,6 +1,6 @@ import com.azure.core.util.Context; -/** Samples for Diagnostics ListSiteDetectorResponses. */ +/** Samples for Diagnostics ListSiteDetectorResponsesSlot. */ public final class Main { /* * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/Diagnostics_ListSiteDetectorResponses.json @@ -16,6 +16,6 @@ public final class Main { .manager() .serviceClient() .getDiagnostics() - .listSiteDetectorResponses("Sample-WestUSResourceGroup", "SampleApp", Context.NONE); + .listSiteDetectorResponsesSlot("Sample-WestUSResourceGroup", "SampleApp", "staging", Context.NONE); } } diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDetectorResponses.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDetectorResponses.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDetectorResponses.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDetectorResponses.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDetectorResponsesSlot.java b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDetectorResponsesSlot.java index 12993ec81e..25006c2ba1 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDetectorResponsesSlot.java +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDetectorResponsesSlot.java @@ -1,6 +1,6 @@ import com.azure.core.util.Context; -/** Samples for Diagnostics ListSiteDetectorResponses. */ +/** Samples for Diagnostics ListSiteDetectorResponsesSlot. */ public final class Main { /* * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/Diagnostics_ListSiteDetectorResponsesSlot.json @@ -16,6 +16,6 @@ public final class Main { .manager() .serviceClient() .getDiagnostics() - .listSiteDetectorResponses("Sample-WestUSResourceGroup", "SampleApp", Context.NONE); + .listSiteDetectorResponsesSlot("Sample-WestUSResourceGroup", "SampleApp", "staging", Context.NONE); } } diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDetectorResponsesSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDetectorResponsesSlot.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDetectorResponsesSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDetectorResponsesSlot.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDetectors.java b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDetectors.java index 0a1342d0d8..5731667796 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDetectors.java +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDetectors.java @@ -1,6 +1,6 @@ import com.azure.core.util.Context; -/** Samples for Diagnostics ListSiteDetectors. */ +/** Samples for Diagnostics ListSiteDetectorsSlot. */ public final class Main { /* * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/Diagnostics_ListSiteDetectors.json @@ -16,6 +16,7 @@ public final class Main { .manager() .serviceClient() .getDiagnostics() - .listSiteDetectors("Sample-WestUSResourceGroup", "SampleApp", "availability", Context.NONE); + .listSiteDetectorsSlot( + "Sample-WestUSResourceGroup", "SampleApp", "availability", "Production", Context.NONE); } } diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDetectors.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDetectors.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDetectors.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDetectors.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDetectorsSlot.java b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDetectorsSlot.java index af3443ba70..fee84ee32c 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDetectorsSlot.java +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDetectorsSlot.java @@ -1,6 +1,6 @@ import com.azure.core.util.Context; -/** Samples for Diagnostics ListSiteDetectors. */ +/** Samples for Diagnostics ListSiteDetectorsSlot. */ public final class Main { /* * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/Diagnostics_ListSiteDetectorsSlot.json @@ -16,6 +16,6 @@ public final class Main { .manager() .serviceClient() .getDiagnostics() - .listSiteDetectors("Sample-WestUSResourceGroup", "SampleApp", "availability", Context.NONE); + .listSiteDetectorsSlot("Sample-WestUSResourceGroup", "SampleApp", "availability", "staging", Context.NONE); } } diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDetectorsSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDetectorsSlot.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDetectorsSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDetectorsSlot.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDiagnosticCategories.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDiagnosticCategories.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDiagnosticCategories.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDiagnosticCategories.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDiagnosticCategoriesSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDiagnosticCategoriesSlot.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDiagnosticCategoriesSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Diagnostics_ListSiteDiagnosticCategoriesSlot.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GenerateStaticSiteWorkflowPreview.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GenerateStaticSiteWorkflowPreview.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GenerateStaticSiteWorkflowPreview.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GenerateStaticSiteWorkflowPreview.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetAllStaticSites.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetAllStaticSites.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetAllStaticSites.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetAllStaticSites.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetAppServicePlan.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetAppServicePlan.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetAppServicePlan.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetAppServicePlan.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetAseCustomDnsSuffixConfiguration.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetAseCustomDnsSuffixConfiguration.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetAseCustomDnsSuffixConfiguration.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetAseCustomDnsSuffixConfiguration.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetCertificate.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetCertificate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetCertificate.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetCertificate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetContainerApp.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetContainerApp.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetContainerApp.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetContainerApp.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetDeletedWebApp.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetDeletedWebApp.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetDeletedWebApp.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetDeletedWebApp.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetDeletedWebAppByLocation.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetDeletedWebAppByLocation.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetDeletedWebAppByLocation.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetDeletedWebAppByLocation.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetDeletedWebAppSnapshots.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetDeletedWebAppSnapshots.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetDeletedWebAppSnapshots.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetDeletedWebAppSnapshots.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetFunctionAppStacks.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetFunctionAppStacks.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetFunctionAppStacks.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetFunctionAppStacks.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetFunctionAppStacksForLocation.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetFunctionAppStacksForLocation.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetFunctionAppStacksForLocation.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetFunctionAppStacksForLocation.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetInboundNetworkDependenciesEndpoints.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetInboundNetworkDependenciesEndpoints.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetInboundNetworkDependenciesEndpoints.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetInboundNetworkDependenciesEndpoints.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetKeyVaultReferencesForAppSetting.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetKeyVaultReferencesForAppSetting.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetKeyVaultReferencesForAppSetting.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetKeyVaultReferencesForAppSetting.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetKeyVaultReferencesForAppSettingSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetKeyVaultReferencesForAppSettingSlot.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetKeyVaultReferencesForAppSettingSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetKeyVaultReferencesForAppSettingSlot.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetKeyVaultReferencesForAppSettings.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetKeyVaultReferencesForAppSettings.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetKeyVaultReferencesForAppSettings.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetKeyVaultReferencesForAppSettings.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetKeyVaultReferencesForAppSettingsSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetKeyVaultReferencesForAppSettingsSlot.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetKeyVaultReferencesForAppSettingsSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetKeyVaultReferencesForAppSettingsSlot.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetLinkedBackendForStaticSite.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetLinkedBackendForStaticSite.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetLinkedBackendForStaticSite.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetLinkedBackendForStaticSite.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetLinkedBackendForStaticSiteBuild.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetLinkedBackendForStaticSiteBuild.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetLinkedBackendForStaticSiteBuild.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetLinkedBackendForStaticSiteBuild.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetLinkedBackendsForStaticSite.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetLinkedBackendsForStaticSite.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetLinkedBackendsForStaticSite.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetLinkedBackendsForStaticSite.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetLinkedBackendsForStaticSiteBuild.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetLinkedBackendsForStaticSiteBuild.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetLinkedBackendsForStaticSiteBuild.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetLinkedBackendsForStaticSiteBuild.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetOutboundNetworkDependenciesEndpoints.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetOutboundNetworkDependenciesEndpoints.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetOutboundNetworkDependenciesEndpoints.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetOutboundNetworkDependenciesEndpoints.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetPublishingCredentialsPolicy.java b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetPublishingCredentialsPolicy.java index 9f115df2f4..e921e06524 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetPublishingCredentialsPolicy.java +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetPublishingCredentialsPolicy.java @@ -1,21 +1,21 @@ import com.azure.core.util.Context; -/** Samples for WebApps GetFtpAllowed. */ +/** Samples for WebApps GetScmAllowed. */ public final class Main { /* * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/GetPublishingCredentialsPolicy.json */ /** - * Sample code: Get FTP Allowed. + * Sample code: Get SCM Allowed. * * @param azure The entry point for accessing resource management APIs in Azure. */ - public static void getFTPAllowed(com.azure.resourcemanager.AzureResourceManager azure) { + public static void getSCMAllowed(com.azure.resourcemanager.AzureResourceManager azure) { azure .webApps() .manager() .serviceClient() .getWebApps() - .getFtpAllowedWithResponse("rg", "testSite", Context.NONE); + .getScmAllowedWithResponse("rg", "testSite", Context.NONE); } } diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetPublishingCredentialsPolicy.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetPublishingCredentialsPolicy.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetPublishingCredentialsPolicy.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetPublishingCredentialsPolicy.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetPublishingCredentialsPolicySlot.java b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetPublishingCredentialsPolicySlot.java index b6def85750..1834e6c5e8 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetPublishingCredentialsPolicySlot.java +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetPublishingCredentialsPolicySlot.java @@ -1,21 +1,21 @@ import com.azure.core.util.Context; -/** Samples for WebApps GetFtpAllowedSlot. */ +/** Samples for WebApps GetScmAllowedSlot. */ public final class Main { /* * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/GetPublishingCredentialsPolicySlot.json */ /** - * Sample code: Get FTP Allowed. + * Sample code: Get SCM Allowed. * * @param azure The entry point for accessing resource management APIs in Azure. */ - public static void getFTPAllowed(com.azure.resourcemanager.AzureResourceManager azure) { + public static void getSCMAllowed(com.azure.resourcemanager.AzureResourceManager azure) { azure .webApps() .manager() .serviceClient() .getWebApps() - .getFtpAllowedSlotWithResponse("rg", "testSite", "stage", Context.NONE); + .getScmAllowedSlotWithResponse("rg", "testSite", "stage", Context.NONE); } } diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetPublishingCredentialsPolicySlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetPublishingCredentialsPolicySlot.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetPublishingCredentialsPolicySlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetPublishingCredentialsPolicySlot.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetResourceHealthMetadataBySite.java b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetResourceHealthMetadataBySite.java index c3a6483bf4..bf470dfd31 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetResourceHealthMetadataBySite.java +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetResourceHealthMetadataBySite.java @@ -1,6 +1,6 @@ import com.azure.core.util.Context; -/** Samples for ResourceHealthMetadata GetBySiteSlot. */ +/** Samples for ResourceHealthMetadata GetBySite. */ public final class Main { /* * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/GetResourceHealthMetadataBySite.json @@ -16,7 +16,6 @@ public final class Main { .manager() .serviceClient() .getResourceHealthMetadatas() - .getBySiteSlotWithResponse( - "Default-Web-NorthCentralUS", "newsiteinnewASE-NCUS", "Production", Context.NONE); + .getBySiteWithResponse("Default-Web-NorthCentralUS", "newsiteinnewASE-NCUS", Context.NONE); } } diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetResourceHealthMetadataBySite.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetResourceHealthMetadataBySite.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetResourceHealthMetadataBySite.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetResourceHealthMetadataBySite.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetRevision.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetRevision.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetRevision.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetRevision.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSiteDeploymentStatus.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSiteDeploymentStatus.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSiteDeploymentStatus.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSiteDeploymentStatus.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSiteDeploymentStatusSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSiteDeploymentStatusSlot.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSiteDeploymentStatusSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSiteDeploymentStatusSlot.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSiteInstanceInfo.java b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSiteInstanceInfo.java index 4bc0f0a603..36d36caf7f 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSiteInstanceInfo.java +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSiteInstanceInfo.java @@ -1,6 +1,6 @@ import com.azure.core.util.Context; -/** Samples for WebApps GetInstanceInfoSlot. */ +/** Samples for WebApps GetInstanceInfo. */ public final class Main { /* * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/GetSiteInstanceInfo.json @@ -16,6 +16,6 @@ public final class Main { .manager() .serviceClient() .getWebApps() - .getInstanceInfoSlotWithResponse("testrg123", "tests346", "134987120", "staging", Context.NONE); + .getInstanceInfoWithResponse("testrg123", "tests346", "134987120", Context.NONE); } } diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSiteInstanceInfo.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSiteInstanceInfo.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSiteInstanceInfo.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSiteInstanceInfo.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSitePrivateEndpointConnection.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSitePrivateEndpointConnection.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSitePrivateEndpointConnection.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSitePrivateEndpointConnection.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSitePrivateEndpointConnectionList.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSitePrivateEndpointConnectionList.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSitePrivateEndpointConnectionList.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSitePrivateEndpointConnectionList.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSitePrivateEndpointConnectionSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSitePrivateEndpointConnectionSlot.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSitePrivateEndpointConnectionSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSitePrivateEndpointConnectionSlot.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSitePrivateLinkResources.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSitePrivateLinkResources.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSitePrivateLinkResources.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSitePrivateLinkResources.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSitePrivateLinkResourcesSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSitePrivateLinkResourcesSlot.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSitePrivateLinkResourcesSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSitePrivateLinkResourcesSlot.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetStaticSite.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetStaticSite.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetStaticSite.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetStaticSite.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetStaticSiteBuild.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetStaticSiteBuild.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetStaticSiteBuild.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetStaticSiteBuild.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetStaticSiteBuilds.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetStaticSiteBuilds.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetStaticSiteBuilds.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetStaticSiteBuilds.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetStaticSiteCustomDomain.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetStaticSiteCustomDomain.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetStaticSiteCustomDomain.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetStaticSiteCustomDomain.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetStaticSiteCustomDomains.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetStaticSiteCustomDomains.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetStaticSiteCustomDomains.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetStaticSiteCustomDomains.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetStaticSites.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetStaticSites.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetStaticSites.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetStaticSites.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSubscriptionOperationWithAsyncResponse.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSubscriptionOperationWithAsyncResponse.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSubscriptionOperationWithAsyncResponse.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetSubscriptionOperationWithAsyncResponse.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetUserProvidedFunctionAppForStaticSite.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetUserProvidedFunctionAppForStaticSite.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetUserProvidedFunctionAppForStaticSite.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetUserProvidedFunctionAppForStaticSite.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetUserProvidedFunctionAppForStaticSiteBuild.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetUserProvidedFunctionAppForStaticSiteBuild.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetUserProvidedFunctionAppForStaticSiteBuild.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetUserProvidedFunctionAppForStaticSiteBuild.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetUserProvidedFunctionAppsForStaticSite.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetUserProvidedFunctionAppsForStaticSite.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetUserProvidedFunctionAppsForStaticSite.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetUserProvidedFunctionAppsForStaticSite.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetUserProvidedFunctionAppsForStaticSiteBuild.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetUserProvidedFunctionAppsForStaticSiteBuild.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetUserProvidedFunctionAppsForStaticSiteBuild.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetUserProvidedFunctionAppsForStaticSiteBuild.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetWebAppStacks.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetWebAppStacks.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetWebAppStacks.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetWebAppStacks.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetWebAppStacksForLocation.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetWebAppStacksForLocation.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetWebAppStacksForLocation.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetWebAppStacksForLocation.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetWebSiteNetworkTraceOperation.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetWebSiteNetworkTraceOperation.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetWebSiteNetworkTraceOperation.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetWebSiteNetworkTraceOperation.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetWebSiteNetworkTraces.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetWebSiteNetworkTraces.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetWebSiteNetworkTraces.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/GetWebSiteNetworkTraces.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/KubeEnvironments_CreateOrUpdate.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/KubeEnvironments_CreateOrUpdate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/KubeEnvironments_CreateOrUpdate.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/KubeEnvironments_CreateOrUpdate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/KubeEnvironments_Delete.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/KubeEnvironments_Delete.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/KubeEnvironments_Delete.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/KubeEnvironments_Delete.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/KubeEnvironments_Get.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/KubeEnvironments_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/KubeEnvironments_Get.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/KubeEnvironments_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/KubeEnvironments_ListByResourceGroup.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/KubeEnvironments_ListByResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/KubeEnvironments_ListByResourceGroup.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/KubeEnvironments_ListByResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/KubeEnvironments_ListBySubscription.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/KubeEnvironments_ListBySubscription.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/KubeEnvironments_ListBySubscription.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/KubeEnvironments_ListBySubscription.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/KubeEnvironments_Update.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/KubeEnvironments_Update.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/KubeEnvironments_Update.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/KubeEnvironments_Update.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/LinkBackendToStaticSite.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/LinkBackendToStaticSite.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/LinkBackendToStaticSite.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/LinkBackendToStaticSite.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/LinkBackendToStaticSiteBuild.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/LinkBackendToStaticSiteBuild.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/LinkBackendToStaticSiteBuild.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/LinkBackendToStaticSiteBuild.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListAppServicePlans.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListAppServicePlans.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListAppServicePlans.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListAppServicePlans.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListAppServicePlansByResourceGroup.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListAppServicePlansByResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListAppServicePlansByResourceGroup.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListAppServicePlansByResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListCertificates.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListCertificates.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListCertificates.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListCertificates.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListCertificatesByResourceGroup.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListCertificatesByResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListCertificatesByResourceGroup.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListCertificatesByResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListContainerAppSecrets.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListContainerAppSecrets.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListContainerAppSecrets.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListContainerAppSecrets.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListContainerAppsByResourceGroup.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListContainerAppsByResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListContainerAppsByResourceGroup.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListContainerAppsByResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListContainerAppsBySubscription.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListContainerAppsBySubscription.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListContainerAppsBySubscription.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListContainerAppsBySubscription.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListCustomHostNameSites.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListCustomHostNameSites.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListCustomHostNameSites.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListCustomHostNameSites.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListCustomSpecificHostNameSites.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListCustomSpecificHostNameSites.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListCustomSpecificHostNameSites.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListCustomSpecificHostNameSites.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListDeletedWebAppsByLocation.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListDeletedWebAppsByLocation.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListDeletedWebAppsByLocation.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListDeletedWebAppsByLocation.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListOperations.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListOperations.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListOperations.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListOperations.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListPublishingCredentialsPolicies.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListPublishingCredentialsPolicies.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListPublishingCredentialsPolicies.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListPublishingCredentialsPolicies.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListPublishingCredentialsPoliciesSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListPublishingCredentialsPoliciesSlot.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListPublishingCredentialsPoliciesSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListPublishingCredentialsPoliciesSlot.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListResourceHealthMetadataByResourceGroup.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListResourceHealthMetadataByResourceGroup.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListResourceHealthMetadataByResourceGroup.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListResourceHealthMetadataByResourceGroup.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListResourceHealthMetadataBySite.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListResourceHealthMetadataBySite.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListResourceHealthMetadataBySite.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListResourceHealthMetadataBySite.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListResourceHealthMetadataBySubscription.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListResourceHealthMetadataBySubscription.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListResourceHealthMetadataBySubscription.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListResourceHealthMetadataBySubscription.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListRevisions.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListRevisions.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListRevisions.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListRevisions.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListSiteDeploymentStatus.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListSiteDeploymentStatus.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListSiteDeploymentStatus.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListSiteDeploymentStatus.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListSiteDeploymentStatusSlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListSiteDeploymentStatusSlot.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListSiteDeploymentStatusSlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListSiteDeploymentStatusSlot.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListSlotBackups.java b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListSlotBackups.java index e248907b02..62db1476bc 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListSlotBackups.java +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListSlotBackups.java @@ -1,6 +1,6 @@ import com.azure.core.util.Context; -/** Samples for WebApps ListSiteBackups. */ +/** Samples for WebApps ListSiteBackupsSlot. */ public final class Main { /* * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/ListSlotBackups.json @@ -11,6 +11,11 @@ public final class Main { * @param azure The entry point for accessing resource management APIs in Azure. */ public static void listBackups(com.azure.resourcemanager.AzureResourceManager azure) { - azure.webApps().manager().serviceClient().getWebApps().listSiteBackups("testrg123", "tests346", Context.NONE); + azure + .webApps() + .manager() + .serviceClient() + .getWebApps() + .listSiteBackupsSlot("testrg123", "tests346", "staging", Context.NONE); } } diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListSlotBackups.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListSlotBackups.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListSlotBackups.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListSlotBackups.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteAppSettings.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteAppSettings.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteAppSettings.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteAppSettings.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteBuildAppSettings.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteBuildAppSettings.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteBuildAppSettings.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteBuildAppSettings.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteBuildFunctionAppSettings.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteBuildFunctionAppSettings.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteBuildFunctionAppSettings.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteBuildFunctionAppSettings.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteBuildFunctions.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteBuildFunctions.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteBuildFunctions.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteBuildFunctions.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteConfiguredRoles.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteConfiguredRoles.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteConfiguredRoles.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteConfiguredRoles.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteFunctionAppSettings.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteFunctionAppSettings.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteFunctionAppSettings.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteFunctionAppSettings.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteFunctions.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteFunctions.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteFunctions.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteFunctions.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteSecrets.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteSecrets.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteSecrets.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteSecrets.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteUsers.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteUsers.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteUsers.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ListStaticSiteUsers.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/PatchAppServicePlan.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/PatchAppServicePlan.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/PatchAppServicePlan.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/PatchAppServicePlan.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/PatchCertificate.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/PatchCertificate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/PatchCertificate.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/PatchCertificate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/PatchStaticSite.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/PatchStaticSite.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/PatchStaticSite.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/PatchStaticSite.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/RegisterUserProvidedFunctionAppWithStaticSite.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/RegisterUserProvidedFunctionAppWithStaticSite.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/RegisterUserProvidedFunctionAppWithStaticSite.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/RegisterUserProvidedFunctionAppWithStaticSite.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/RegisterUserProvidedFunctionAppWithStaticSiteBuild.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/RegisterUserProvidedFunctionAppWithStaticSiteBuild.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/RegisterUserProvidedFunctionAppWithStaticSiteBuild.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/RegisterUserProvidedFunctionAppWithStaticSiteBuild.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ResetStaticSiteApiKey.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ResetStaticSiteApiKey.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ResetStaticSiteApiKey.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ResetStaticSiteApiKey.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/RestartRevision.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/RestartRevision.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/RestartRevision.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/RestartRevision.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/StartWebSiteNetworkTraceOperation.java b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/StartWebSiteNetworkTraceOperation.java index 858c2e0684..9e50c6f233 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/StartWebSiteNetworkTraceOperation.java +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/StartWebSiteNetworkTraceOperation.java @@ -1,6 +1,6 @@ import com.azure.core.util.Context; -/** Samples for WebApps StartNetworkTrace. */ +/** Samples for WebApps StartWebSiteNetworkTraceOperationSlot. */ public final class Main { /* * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/StartWebSiteNetworkTraceOperation.json @@ -16,6 +16,7 @@ public final class Main { .manager() .serviceClient() .getWebApps() - .startNetworkTrace("testrg123", "SampleApp", 60, null, null, Context.NONE); + .startWebSiteNetworkTraceOperationSlot( + "testrg123", "SampleApp", "Production", 60, null, null, Context.NONE); } } diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/StartWebSiteNetworkTraceOperation.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/StartWebSiteNetworkTraceOperation.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/StartWebSiteNetworkTraceOperation.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/StartWebSiteNetworkTraceOperation.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/StaticSiteBuildZipDeploy.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/StaticSiteBuildZipDeploy.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/StaticSiteBuildZipDeploy.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/StaticSiteBuildZipDeploy.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/StaticSiteZipDeploy.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/StaticSiteZipDeploy.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/StaticSiteZipDeploy.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/StaticSiteZipDeploy.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/StopWebSiteNetworkTrace.java b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/StopWebSiteNetworkTrace.java index 3ca5feef07..4adfa8e01b 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/StopWebSiteNetworkTrace.java +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/StopWebSiteNetworkTrace.java @@ -1,6 +1,6 @@ import com.azure.core.util.Context; -/** Samples for WebApps StopWebSiteNetworkTrace. */ +/** Samples for WebApps StopNetworkTraceSlot. */ public final class Main { /* * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/StopWebSiteNetworkTrace.json @@ -17,6 +17,6 @@ public final class Main { .manager() .serviceClient() .getWebApps() - .stopWebSiteNetworkTraceWithResponse("testrg123", "SampleApp", Context.NONE); + .stopNetworkTraceSlotWithResponse("testrg123", "SampleApp", "Production", Context.NONE); } } diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/StopWebSiteNetworkTrace.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/StopWebSiteNetworkTrace.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/StopWebSiteNetworkTrace.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/StopWebSiteNetworkTrace.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/UnlinkBackendFromStaticSite.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/UnlinkBackendFromStaticSite.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/UnlinkBackendFromStaticSite.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/UnlinkBackendFromStaticSite.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/UnlinkBackendFromStaticSiteBuild.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/UnlinkBackendFromStaticSiteBuild.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/UnlinkBackendFromStaticSiteBuild.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/UnlinkBackendFromStaticSiteBuild.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/UpdateAseCustomDnsSuffixConfiguration.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/UpdateAseCustomDnsSuffixConfiguration.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/UpdateAseCustomDnsSuffixConfiguration.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/UpdateAseCustomDnsSuffixConfiguration.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/UpdatePublishingCredentialsPolicy.java b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/UpdatePublishingCredentialsPolicy.java index 878a6ceb33..86f79e1e92 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/UpdatePublishingCredentialsPolicy.java +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/UpdatePublishingCredentialsPolicy.java @@ -1,23 +1,23 @@ import com.azure.core.util.Context; import com.azure.resourcemanager.appservice.fluent.models.CsmPublishingCredentialsPoliciesEntityInner; -/** Samples for WebApps UpdateScmAllowed. */ +/** Samples for WebApps UpdateFtpAllowed. */ public final class Main { /* * x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/UpdatePublishingCredentialsPolicy.json */ /** - * Sample code: Update SCM Allowed. + * Sample code: Update FTP Allowed. * * @param azure The entry point for accessing resource management APIs in Azure. */ - public static void updateSCMAllowed(com.azure.resourcemanager.AzureResourceManager azure) { + public static void updateFTPAllowed(com.azure.resourcemanager.AzureResourceManager azure) { azure .webApps() .manager() .serviceClient() .getWebApps() - .updateScmAllowedWithResponse( + .updateFtpAllowedWithResponse( "rg", "testSite", new CsmPublishingCredentialsPoliciesEntityInner().withAllow(true), Context.NONE); } } diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/UpdatePublishingCredentialsPolicy.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/UpdatePublishingCredentialsPolicy.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/UpdatePublishingCredentialsPolicy.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/UpdatePublishingCredentialsPolicy.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/UpdatePublishingCredentialsPolicySlot.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/UpdatePublishingCredentialsPolicySlot.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/UpdatePublishingCredentialsPolicySlot.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/UpdatePublishingCredentialsPolicySlot.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/UpdateStaticSiteUser.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/UpdateStaticSiteUser.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/UpdateStaticSiteUser.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/UpdateStaticSiteUser.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ValidateLinkedBackendForStaticSite.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ValidateLinkedBackendForStaticSite.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ValidateLinkedBackendForStaticSite.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ValidateLinkedBackendForStaticSite.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ValidateLinkedBackendForStaticSiteBuild.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ValidateLinkedBackendForStaticSiteBuild.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ValidateLinkedBackendForStaticSiteBuild.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ValidateLinkedBackendForStaticSiteBuild.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ValidateStaticSiteCustomDomain.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ValidateStaticSiteCustomDomain.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ValidateStaticSiteCustomDomain.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/ValidateStaticSiteCustomDomain.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/VerifyHostingEnvironmentVnet.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/VerifyHostingEnvironmentVnet.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/VerifyHostingEnvironmentVnet.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/VerifyHostingEnvironmentVnet.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActionRepetitionsRequestHistories_Get.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActionRepetitionsRequestHistories_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActionRepetitionsRequestHistories_Get.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActionRepetitionsRequestHistories_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActionRepetitionsRequestHistories_List.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActionRepetitionsRequestHistories_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActionRepetitionsRequestHistories_List.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActionRepetitionsRequestHistories_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActionRepetitions_Get.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActionRepetitions_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActionRepetitions_Get.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActionRepetitions_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActionRepetitions_List.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActionRepetitions_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActionRepetitions_List.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActionRepetitions_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActionRepetitions_ListExpressionTraces.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActionRepetitions_ListExpressionTraces.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActionRepetitions_ListExpressionTraces.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActionRepetitions_ListExpressionTraces.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActionScopeRepetitions_Get.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActionScopeRepetitions_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActionScopeRepetitions_Get.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActionScopeRepetitions_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActionScopeRepetitions_List.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActionScopeRepetitions_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActionScopeRepetitions_List.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActionScopeRepetitions_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActions_Get.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActions_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActions_Get.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActions_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActions_List.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActions_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActions_List.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActions_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActions_ListExpressionTraces.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActions_ListExpressionTraces.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActions_ListExpressionTraces.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRunActions_ListExpressionTraces.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRuns_Cancel.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRuns_Cancel.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRuns_Cancel.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRuns_Cancel.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRuns_Get.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRuns_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRuns_Get.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRuns_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRuns_List.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRuns_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRuns_List.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowRuns_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowTriggerHistories_Get.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowTriggerHistories_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowTriggerHistories_Get.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowTriggerHistories_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowTriggerHistories_List.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowTriggerHistories_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowTriggerHistories_List.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowTriggerHistories_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowTriggerHistories_Resubmit.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowTriggerHistories_Resubmit.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowTriggerHistories_Resubmit.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowTriggerHistories_Resubmit.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowTriggers_Get.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowTriggers_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowTriggers_Get.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowTriggers_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowTriggers_GetSchemaJson.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowTriggers_GetSchemaJson.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowTriggers_GetSchemaJson.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowTriggers_GetSchemaJson.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowTriggers_List.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowTriggers_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowTriggers_List.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowTriggers_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowTriggers_ListCallbackUrl.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowTriggers_ListCallbackUrl.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowTriggers_ListCallbackUrl.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowTriggers_ListCallbackUrl.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowTriggers_Run.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowTriggers_Run.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowTriggers_Run.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowTriggers_Run.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowVersions_Get.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowVersions_Get.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowVersions_Get.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowVersions_Get.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowVersions_List.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowVersions_List.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowVersions_List.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/WorkflowVersions_List.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Workflows_RegenerateAccessKey.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Workflows_RegenerateAccessKey.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Workflows_RegenerateAccessKey.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Workflows_RegenerateAccessKey.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Workflows_Validate.json b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Workflows_Validate.json index 04d1f96f67..1c2f329976 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Workflows_Validate.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples-java/Workflows_Validate.json @@ -1 +1 @@ -{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.17.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file +{"sdkUrl": "https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager_2.18.0/sdk/resourcemanager/azure-resourcemanager/README.md"} \ No newline at end of file