From f7cc973f892344a536fe0ea6a26878879871cf4b Mon Sep 17 00:00:00 2001 From: Sandeep Prakash Date: Thu, 12 Jan 2023 03:41:11 -0800 Subject: [PATCH 1/3] Fixing Linter Validation Error --- .../examples/listAllOperations.json | 490 ++++++++++++++++++ .../examples/secrets/values/create.json | 1 - .../2018-09-01-preview/servicefabricmesh.json | 5 + 3 files changed, 495 insertions(+), 1 deletion(-) create mode 100644 specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/listAllOperations.json diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/listAllOperations.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/listAllOperations.json new file mode 100644 index 000000000000..83b36b7373b7 --- /dev/null +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/listAllOperations.json @@ -0,0 +1,490 @@ +{ + "operationId": "Operations_List", + "description": "This example shows how to list all supported operations.", + "parameters": { + "api-version": "2018-09-01-privatepreview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.ServiceFabric/clusters/read", + "display": { + "provider": "Microsoft ServiceFabricMesh", + "resource": "Clusters" + } + }, + { + "name": "Microsoft.ServiceFabric/clusters/write", + "display": { + "provider": "Microsoft ServiceFabricMesh", + "resource": "Clusters" + } + }, + { + "name": "Microsoft.ServiceFabric/clusters/delete", + "display": { + "provider": "Microsoft ServiceFabricMesh", + "resource": "Clusters" + } + }, + { + "name": "Microsoft.ServiceFabric/clusters/statuses/read", + "display": { + "provider": "Microsoft ServiceFabricMesh" + } + }, + { + "name": "Microsoft.ServiceFabric/clusters/nodes/read", + "display": { + "provider": "Microsoft ServiceFabricMesh" + } + }, + { + "name": "Microsoft.ServiceFabric/clusters/applications/read", + "display": { + "provider": "Microsoft ServiceFabricMesh", + "resource": "Applications" + } + }, + { + "name": "Microsoft.ServiceFabric/clusters/applications/services/read", + "display": { + "provider": "Microsoft ServiceFabricMesh" + } + }, + { + "name": "Microsoft.ServiceFabric/clusters/applications/services/statuses/read", + "display": { + "provider": "Microsoft ServiceFabricMesh" + } + }, + { + "name": "Microsoft.ServiceFabric/clusters/applications/services/partitions/read", + "display": { + "provider": "Microsoft ServiceFabricMesh" + } + }, + { + "name": "Microsoft.ServiceFabric/clusters/applications/services/partitions/replicas/read", + "display": { + "provider": "Microsoft ServiceFabricMesh" + } + }, + { + "name": "Microsoft.ServiceFabric/environments/clusterVersions/read", + "display": { + "provider": "Microsoft ServiceFabricMesh" + } + }, + { + "name": "Microsoft.ServiceFabricMesh/applications/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "provider": "Microsoft ServiceFabricMesh", + "resource": "Applications", + "operation": "Read Microsoft Service Fabric Mesh metric definitions", + "description": "Gets the available metrics for Microsoft Service Fabric Mesh" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "AllocatedCpu", + "displayName": "AllocatedCpu", + "displayDescription": "Cpu allocated to this container in milli cores", + "unit": "Count", + "aggregationType": "Average", + "lockAggregationType": "Total", + "supportedAggregationTypes": [ + "Average" + ], + "enableRegionalMdmAccount": true, + "dimensions": [ + { + "name": "ApplicationName", + "displayName": "ApplicationName", + "toBeExportedForShoebox": true + }, + { + "name": "ServiceName", + "displayName": "ServiceName", + "toBeExportedForShoebox": true + }, + { + "name": "CodePackageName", + "displayName": "CodePackageName", + "toBeExportedForShoebox": true + }, + { + "name": "ServiceReplicaName", + "displayName": "ServiceReplicaName", + "toBeExportedForShoebox": true + } + ] + }, + { + "name": "AllocatedMemory", + "displayName": "AllocatedMemory", + "displayDescription": "Memory allocated to this container in MB", + "unit": "Bytes", + "aggregationType": "Average", + "lockAggregationType": "Total", + "supportedAggregationTypes": [ + "Average" + ], + "enableRegionalMdmAccount": true, + "dimensions": [ + { + "name": "ApplicationName", + "displayName": "ApplicationName", + "toBeExportedForShoebox": true + }, + { + "name": "ServiceName", + "displayName": "ServiceName", + "toBeExportedForShoebox": true + }, + { + "name": "CodePackageName", + "displayName": "CodePackageName", + "toBeExportedForShoebox": true + }, + { + "name": "ServiceReplicaName", + "displayName": "ServiceReplicaName", + "toBeExportedForShoebox": true + } + ] + }, + { + "name": "ActualCpu", + "displayName": "ActualCpu", + "displayDescription": "Actual CPU usage in milli cores", + "unit": "Count", + "aggregationType": "Average", + "lockAggregationType": "Total", + "supportedAggregationTypes": [ + "Average" + ], + "enableRegionalMdmAccount": true, + "dimensions": [ + { + "name": "ApplicationName", + "displayName": "ApplicationName", + "toBeExportedForShoebox": true + }, + { + "name": "ServiceName", + "displayName": "ServiceName", + "toBeExportedForShoebox": true + }, + { + "name": "CodePackageName", + "displayName": "CodePackageName", + "toBeExportedForShoebox": true + }, + { + "name": "ServiceReplicaName", + "displayName": "ServiceReplicaName", + "toBeExportedForShoebox": true + } + ] + }, + { + "name": "ActualMemory", + "displayName": "ActualMemory", + "displayDescription": "Actual memory usage in MB", + "unit": "Bytes", + "aggregationType": "Average", + "lockAggregationType": "Total", + "supportedAggregationTypes": [ + "Average" + ], + "enableRegionalMdmAccount": true, + "dimensions": [ + { + "name": "ApplicationName", + "displayName": "ApplicationName", + "toBeExportedForShoebox": true + }, + { + "name": "ServiceName", + "displayName": "ServiceName", + "toBeExportedForShoebox": true + }, + { + "name": "CodePackageName", + "displayName": "CodePackageName", + "toBeExportedForShoebox": true + }, + { + "name": "ServiceReplicaName", + "displayName": "ServiceReplicaName", + "toBeExportedForShoebox": true + } + ] + }, + { + "name": "CpuUtilization", + "displayName": "CpuUtilization", + "displayDescription": "Utilization of CPU for this container as percentage of AllocatedCpu", + "unit": "Percent", + "aggregationType": "Average", + "lockAggregationType": "Average", + "supportedAggregationTypes": [ + "Average" + ], + "enableRegionalMdmAccount": true, + "dimensions": [ + { + "name": "ApplicationName", + "displayName": "ApplicationName", + "toBeExportedForShoebox": true + }, + { + "name": "ServiceName", + "displayName": "ServiceName", + "toBeExportedForShoebox": true + }, + { + "name": "CodePackageName", + "displayName": "CodePackageName", + "toBeExportedForShoebox": true + }, + { + "name": "ServiceReplicaName", + "displayName": "ServiceReplicaName", + "toBeExportedForShoebox": true + } + ] + }, + { + "name": "MemoryUtilization", + "displayName": "MemoryUtilization", + "displayDescription": "Utilization of CPU for this container as percentage of AllocatedCpu", + "unit": "Percent", + "aggregationType": "Average", + "lockAggregationType": "Average", + "supportedAggregationTypes": [ + "Average" + ], + "enableRegionalMdmAccount": true, + "dimensions": [ + { + "name": "ApplicationName", + "displayName": "ApplicationName", + "toBeExportedForShoebox": true + }, + { + "name": "ServiceName", + "displayName": "ServiceName", + "toBeExportedForShoebox": true + }, + { + "name": "CodePackageName", + "displayName": "CodePackageName", + "toBeExportedForShoebox": true + }, + { + "name": "ServiceReplicaName", + "displayName": "ServiceReplicaName", + "toBeExportedForShoebox": true + } + ] + }, + { + "name": "ApplicationStatus", + "displayName": "ApplicationStatus", + "displayDescription": "Status of Service Fabric Mesh application", + "unit": "Count", + "aggregationType": "Average", + "lockAggregationType": "Total", + "supportedAggregationTypes": [ + "Average" + ], + "enableRegionalMdmAccount": true, + "dimensions": [ + { + "name": "ApplicationName", + "displayName": "ApplicationName", + "toBeExportedForShoebox": true + }, + { + "name": "Status", + "displayName": "Status", + "toBeExportedForShoebox": true + } + ] + }, + { + "name": "ServiceStatus", + "displayName": "ServiceStatus", + "displayDescription": "Health Status of a service in Service Fabric Mesh application", + "unit": "Count", + "aggregationType": "Average", + "lockAggregationType": "Total", + "supportedAggregationTypes": [ + "Average" + ], + "enableRegionalMdmAccount": true, + "dimensions": [ + { + "name": "ApplicationName", + "displayName": "ApplicationName", + "toBeExportedForShoebox": true + }, + { + "name": "Status", + "displayName": "Status", + "toBeExportedForShoebox": true + }, + { + "name": "ServiceName", + "displayName": "ServiceName", + "toBeExportedForShoebox": true + } + ] + }, + { + "name": "ServiceReplicaStatus", + "displayName": "ServiceReplicaStatus", + "displayDescription": "Health Status of a service replica in Service Fabric Mesh application", + "unit": "Count", + "aggregationType": "Average", + "lockAggregationType": "Total", + "supportedAggregationTypes": [ + "Average" + ], + "enableRegionalMdmAccount": true, + "dimensions": [ + { + "name": "ApplicationName", + "displayName": "ApplicationName", + "toBeExportedForShoebox": true + }, + { + "name": "Status", + "displayName": "Status", + "toBeExportedForShoebox": true + }, + { + "name": "ServiceName", + "displayName": "ServiceName", + "toBeExportedForShoebox": true + }, + { + "name": "ServiceReplicaName", + "displayName": "ServiceReplicaName", + "toBeExportedForShoebox": true + } + ] + }, + { + "name": "ContainerStatus", + "displayName": "ContainerStatus", + "displayDescription": "Status of the container in Service Fabric Mesh application", + "unit": "Count", + "aggregationType": "Average", + "lockAggregationType": "Total", + "supportedAggregationTypes": [ + "Average" + ], + "enableRegionalMdmAccount": true, + "dimensions": [ + { + "name": "ApplicationName", + "displayName": "ApplicationName", + "toBeExportedForShoebox": true + }, + { + "name": "ServiceName", + "displayName": "ServiceName", + "toBeExportedForShoebox": true + }, + { + "name": "CodePackageName", + "displayName": "CodePackageName", + "toBeExportedForShoebox": true + }, + { + "name": "ServiceReplicaName", + "displayName": "ServiceReplicaName", + "toBeExportedForShoebox": true + }, + { + "name": "Status", + "displayName": "Status", + "toBeExportedForShoebox": true + } + ] + }, + { + "name": "RestartCount", + "displayName": "RestartCount", + "displayDescription": "Restart count of a container in Service Fabric Mesh application", + "unit": "Count", + "aggregationType": "Average", + "lockAggregationType": "Total", + "supportedAggregationTypes": [ + "Average" + ], + "enableRegionalMdmAccount": true, + "dimensions": [ + { + "name": "ApplicationName", + "displayName": "ApplicationName", + "toBeExportedForShoebox": true + }, + { + "name": "Status", + "displayName": "Status", + "toBeExportedForShoebox": true + }, + { + "name": "ServiceName", + "displayName": "ServiceName", + "toBeExportedForShoebox": true + }, + { + "name": "ServiceReplicaName", + "displayName": "ServiceReplicaName", + "toBeExportedForShoebox": true + }, + { + "name": "CodePackageName", + "displayName": "CodePackageName", + "toBeExportedForShoebox": true + } + ] + } + ] + } + } + }, + { + "name": "Microsoft.ServiceFabricMesh/applications/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "provider": "Microsoft ServiceFabricMesh", + "resource": "Applications", + "operation": "Read diagnostic setting", + "description": "Gets the diagnostic setting for the resource" + }, + "origin": "system" + }, + { + "name": "Microsoft.ServiceFabricMesh/applications/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "provider": "Microsoft ServiceFabricMesh", + "resource": "Applications", + "operation": "Write diagnostic setting", + "description": "Creates or updates the diagnostic setting for the resource" + }, + "origin": "system" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/create.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/create.json index 6e4a3cd0e7db..928c5aba9f44 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/create.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/create.json @@ -9,7 +9,6 @@ "secretValueResourceName": "v1", "secretValueResourceDescription": { "location": "West US", - "name": "v1", "properties": { "value": "mongodb://contoso123:0Fc3IolnL12312asdfawejunASDF@asdfYXX2t8a97kghVcUzcDv98hawelufhawefafnoQRGwNj2nMPL1Y9qsIr9Srdw==@contoso123.documents.azure.com:10255/mydatabase?ssl=true" } diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json index faf677b96523..2d2939a6f485 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json @@ -39,6 +39,11 @@ "tags": [ "Operations" ], + "x-ms-examples": { + "ListAllOperations": { + "$ref": "./examples/listAllOperations.json" + } + }, "summary": "Lists all of the available operations.", "description": "Lists all the available operations provided by Service Fabric SeaBreeze resource provider.", "operationId": "Operations_List", From fb99409593cd376d0039122ab4cbc4107f9116f4 Mon Sep 17 00:00:00 2001 From: Sandeep Prakash Date: Thu, 12 Jan 2023 04:35:39 -0800 Subject: [PATCH 2/3] Fixing Model Validation errors --- .../examples/applications/create_update.json | 2 +- .../examples/applications/delete.json | 2 +- .../examples/applications/get.json | 2 +- .../applications/list_byResourceGroup.json | 2 +- .../applications/list_bySubscriptionId.json | 2 +- .../examples/applications/services/get.json | 2 +- .../examples/applications/services/list.json | 2 +- .../replicas/codepackages/get_logs.json | 2 +- .../applications/services/replicas/get.json | 2 +- .../applications/services/replicas/list.json | 2 +- .../examples/gateways/create_update.json | 2 +- .../examples/gateways/delete.json | 2 +- .../examples/gateways/get.json | 2 +- .../gateways/list_byResourceGroup.json | 2 +- .../gateways/list_bySubscriptionId.json | 2 +- .../examples/listAllOperations.json | 381 +----------------- .../examples/networks/create_update.json | 2 +- .../examples/networks/delete.json | 2 +- .../examples/networks/get.json | 2 +- .../networks/list_byResourceGroup.json | 2 +- .../networks/list_bySubscriptionId.json | 2 +- .../examples/secrets/create_update.json | 2 +- .../examples/secrets/delete.json | 2 +- .../examples/secrets/get.json | 2 +- .../secrets/list_byResourceGroup.json | 2 +- .../secrets/list_bySubscriptionId.json | 2 +- .../examples/secrets/values/create.json | 2 +- .../examples/secrets/values/delete.json | 2 +- .../examples/secrets/values/get.json | 2 +- .../examples/secrets/values/list.json | 2 +- .../examples/secrets/values/list_value.json | 2 +- .../examples/volumes/create_update.json | 2 +- .../examples/volumes/delete.json | 2 +- .../examples/volumes/get.json | 2 +- .../volumes/list_byResourceGroup.json | 2 +- .../volumes/list_bySubscriptionId.json | 2 +- 36 files changed, 38 insertions(+), 413 deletions(-) diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/create_update.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/create_update.json index 6b6ac3c3cc27..d9071440de89 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/create_update.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/create_update.json @@ -2,7 +2,7 @@ "operationId": "Application_Create", "description": "This example shows how to create or update a application resource.", "parameters": { - "api-version": "2018-09-01-privatepreview", + "api-version": "2018-09-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "sbz_demo", "applicationResourceName": "sampleApplication", diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/delete.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/delete.json index b27b102b9032..63785c82be8c 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/delete.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/delete.json @@ -2,7 +2,7 @@ "operationId": "Application_Delete", "description": "This example shows how to delete an existing application resource. If the application resource exists and is deleted successfully, an empty response with 200 status code is returned. If the application resource does not exit, an empty response with 204 status code is returned.", "parameters": { - "api-version": "2018-09-01-privatepreview", + "api-version": "2018-09-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "sbz_demo", "applicationResourceName": "sampleApplication" diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/get.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/get.json index 6d831fa754df..9b8a31ac7744 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/get.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/get.json @@ -2,7 +2,7 @@ "operationId": "Application_Get", "description": "This example shows how to get a application resource. If the application resource exists, its description is returned along with an OK (200) status code. If the application resource does not exist, an error is returned with an appropriate status code.", "parameters": { - "api-version": "2018-09-01-privatepreview", + "api-version": "2018-09-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "sbz_demo", "applicationResourceName": "sampleApplication" diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/list_byResourceGroup.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/list_byResourceGroup.json index 41af6f7168db..acb08aaa2749 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/list_byResourceGroup.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/list_byResourceGroup.json @@ -2,7 +2,7 @@ "operationId": "Application_ListByResourceGroup", "description": "This example shows how to list all application resources within a specified resource group.", "parameters": { - "api-version": "2018-09-01-privatepreview", + "api-version": "2018-09-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "sbz_demo" }, diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/list_bySubscriptionId.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/list_bySubscriptionId.json index eaff9cc00ec5..80a9baca2cfd 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/list_bySubscriptionId.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/list_bySubscriptionId.json @@ -2,7 +2,7 @@ "operationId": "Application_ListBySubscriptionId", "description": "This example shows how to list all application resources for a specified subscription.", "parameters": { - "api-version": "2018-09-01-privatepreview", + "api-version": "2018-09-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/get.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/get.json index 9c08ad25157f..e818ccd00daf 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/get.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/get.json @@ -2,7 +2,7 @@ "operationId": "Service_Get", "description": "This example shows how to get a service resource for a given application. If the service resource exists, its description is returned along with an OK (200) status code. If the service resource does not exist, an error is returned with an appropriate status code.", "parameters": { - "api-version": "2018-09-01-privatepreview", + "api-version": "2018-09-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "sbz_demo", "applicationResourceName": "sampleApplication", diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/list.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/list.json index 93189437ee77..6d25094590a9 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/list.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/list.json @@ -2,7 +2,7 @@ "operationId": "Service_List", "description": "This example shows how to list all services of a given application.", "parameters": { - "api-version": "2018-09-01-privatepreview", + "api-version": "2018-09-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "sbz_demo", "applicationResourceName": "sampleApplication" diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/replicas/codepackages/get_logs.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/replicas/codepackages/get_logs.json index 9d53a1b7d94b..8627a38d2ce0 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/replicas/codepackages/get_logs.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/replicas/codepackages/get_logs.json @@ -4,7 +4,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "sbz_demo", - "api-version": "6.4-preview", + "api-version": "2018-09-01-preview", "applicationResourceName": "sbzDocApp", "serviceResourceName": "sbzDocService", "replicaName": "0", diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/replicas/get.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/replicas/get.json index 4ed376b7724d..4333a24a375a 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/replicas/get.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/replicas/get.json @@ -4,7 +4,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "sbz_demo", - "api-version": "2018-09-01-privatepreview", + "api-version": "2018-09-01-preview", "applicationResourceName": "helloWorldApp", "serviceResourceName": "helloWorldService", "replicaName": "0" diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/replicas/list.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/replicas/list.json index 4de430d6ef8b..584c4068eadf 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/replicas/list.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/applications/services/replicas/list.json @@ -4,7 +4,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "sbz_demo", - "api-version": "2018-09-01-privatepreview", + "api-version": "2018-09-01-preview", "applicationResourceName": "sampleApplication", "serviceResourceName": "helloWorldService" }, diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/create_update.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/create_update.json index f7ae9364fc54..ee44eade6c96 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/create_update.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/create_update.json @@ -2,7 +2,7 @@ "operationId": "Gateway_Create", "description": "This example shows how to create or update a gateway resource.", "parameters": { - "api-version": "2018-09-01-privatepreview", + "api-version": "2018-09-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "sbz_demo", "gatewayResourceName": "sampleGateway", diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/delete.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/delete.json index f40498990359..f02c0963d48d 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/delete.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/delete.json @@ -2,7 +2,7 @@ "operationId": "Gateway_Delete", "description": "This example shows how to delete an existing gateway resource. If the gateway resource exists and is deleted successfully, an empty response with 200 status code is returned. If the gateway resource does not exist, an empty response with 204 status code is returned.", "parameters": { - "api-version": "2018-09-01-privatepreview", + "api-version": "2018-09-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "sbz_demo", "gatewayResourceName": "sampleGateway" diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/get.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/get.json index a3a77e567420..7e9c9881467e 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/get.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/get.json @@ -2,7 +2,7 @@ "operationId": "Gateway_Get", "description": "This example shows how to get a gateway resource. If the gateway resource exists, its description is returned along with an OK (200) status code. If the gateway resource does not exist, an error is returned with an appropriate status code.", "parameters": { - "api-version": "2018-09-01-privatepreview", + "api-version": "2018-09-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "sbz_demo", "gatewayResourceName": "sampleGateway" diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/list_byResourceGroup.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/list_byResourceGroup.json index dab12ae7ed4c..d6aeffba1b41 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/list_byResourceGroup.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/list_byResourceGroup.json @@ -2,7 +2,7 @@ "operationId": "Gateway_ListByResourceGroup", "description": "This example shows how to list all gateway resources within a specified resource group.", "parameters": { - "api-version": "2018-09-01-privatepreview", + "api-version": "2018-09-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "sbz_demo" }, diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/list_bySubscriptionId.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/list_bySubscriptionId.json index c0eaee7ad713..e0280bdca04e 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/list_bySubscriptionId.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/gateways/list_bySubscriptionId.json @@ -2,7 +2,7 @@ "operationId": "Gateway_ListBySubscriptionId", "description": "This example shows how to list all gateway resources for a specified subscription.", "parameters": { - "api-version": "2018-09-01-privatepreview", + "api-version": "2018-09-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/listAllOperations.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/listAllOperations.json index 83b36b7373b7..27fdcfa97789 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/listAllOperations.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/listAllOperations.json @@ -2,7 +2,7 @@ "operationId": "Operations_List", "description": "This example shows how to list all supported operations.", "parameters": { - "api-version": "2018-09-01-privatepreview" + "api-version": "2018-09-01-preview" }, "responses": { "200": { @@ -86,382 +86,7 @@ "operation": "Read Microsoft Service Fabric Mesh metric definitions", "description": "Gets the available metrics for Microsoft Service Fabric Mesh" }, - "origin": "system", - "properties": { - "serviceSpecification": { - "metricSpecifications": [ - { - "name": "AllocatedCpu", - "displayName": "AllocatedCpu", - "displayDescription": "Cpu allocated to this container in milli cores", - "unit": "Count", - "aggregationType": "Average", - "lockAggregationType": "Total", - "supportedAggregationTypes": [ - "Average" - ], - "enableRegionalMdmAccount": true, - "dimensions": [ - { - "name": "ApplicationName", - "displayName": "ApplicationName", - "toBeExportedForShoebox": true - }, - { - "name": "ServiceName", - "displayName": "ServiceName", - "toBeExportedForShoebox": true - }, - { - "name": "CodePackageName", - "displayName": "CodePackageName", - "toBeExportedForShoebox": true - }, - { - "name": "ServiceReplicaName", - "displayName": "ServiceReplicaName", - "toBeExportedForShoebox": true - } - ] - }, - { - "name": "AllocatedMemory", - "displayName": "AllocatedMemory", - "displayDescription": "Memory allocated to this container in MB", - "unit": "Bytes", - "aggregationType": "Average", - "lockAggregationType": "Total", - "supportedAggregationTypes": [ - "Average" - ], - "enableRegionalMdmAccount": true, - "dimensions": [ - { - "name": "ApplicationName", - "displayName": "ApplicationName", - "toBeExportedForShoebox": true - }, - { - "name": "ServiceName", - "displayName": "ServiceName", - "toBeExportedForShoebox": true - }, - { - "name": "CodePackageName", - "displayName": "CodePackageName", - "toBeExportedForShoebox": true - }, - { - "name": "ServiceReplicaName", - "displayName": "ServiceReplicaName", - "toBeExportedForShoebox": true - } - ] - }, - { - "name": "ActualCpu", - "displayName": "ActualCpu", - "displayDescription": "Actual CPU usage in milli cores", - "unit": "Count", - "aggregationType": "Average", - "lockAggregationType": "Total", - "supportedAggregationTypes": [ - "Average" - ], - "enableRegionalMdmAccount": true, - "dimensions": [ - { - "name": "ApplicationName", - "displayName": "ApplicationName", - "toBeExportedForShoebox": true - }, - { - "name": "ServiceName", - "displayName": "ServiceName", - "toBeExportedForShoebox": true - }, - { - "name": "CodePackageName", - "displayName": "CodePackageName", - "toBeExportedForShoebox": true - }, - { - "name": "ServiceReplicaName", - "displayName": "ServiceReplicaName", - "toBeExportedForShoebox": true - } - ] - }, - { - "name": "ActualMemory", - "displayName": "ActualMemory", - "displayDescription": "Actual memory usage in MB", - "unit": "Bytes", - "aggregationType": "Average", - "lockAggregationType": "Total", - "supportedAggregationTypes": [ - "Average" - ], - "enableRegionalMdmAccount": true, - "dimensions": [ - { - "name": "ApplicationName", - "displayName": "ApplicationName", - "toBeExportedForShoebox": true - }, - { - "name": "ServiceName", - "displayName": "ServiceName", - "toBeExportedForShoebox": true - }, - { - "name": "CodePackageName", - "displayName": "CodePackageName", - "toBeExportedForShoebox": true - }, - { - "name": "ServiceReplicaName", - "displayName": "ServiceReplicaName", - "toBeExportedForShoebox": true - } - ] - }, - { - "name": "CpuUtilization", - "displayName": "CpuUtilization", - "displayDescription": "Utilization of CPU for this container as percentage of AllocatedCpu", - "unit": "Percent", - "aggregationType": "Average", - "lockAggregationType": "Average", - "supportedAggregationTypes": [ - "Average" - ], - "enableRegionalMdmAccount": true, - "dimensions": [ - { - "name": "ApplicationName", - "displayName": "ApplicationName", - "toBeExportedForShoebox": true - }, - { - "name": "ServiceName", - "displayName": "ServiceName", - "toBeExportedForShoebox": true - }, - { - "name": "CodePackageName", - "displayName": "CodePackageName", - "toBeExportedForShoebox": true - }, - { - "name": "ServiceReplicaName", - "displayName": "ServiceReplicaName", - "toBeExportedForShoebox": true - } - ] - }, - { - "name": "MemoryUtilization", - "displayName": "MemoryUtilization", - "displayDescription": "Utilization of CPU for this container as percentage of AllocatedCpu", - "unit": "Percent", - "aggregationType": "Average", - "lockAggregationType": "Average", - "supportedAggregationTypes": [ - "Average" - ], - "enableRegionalMdmAccount": true, - "dimensions": [ - { - "name": "ApplicationName", - "displayName": "ApplicationName", - "toBeExportedForShoebox": true - }, - { - "name": "ServiceName", - "displayName": "ServiceName", - "toBeExportedForShoebox": true - }, - { - "name": "CodePackageName", - "displayName": "CodePackageName", - "toBeExportedForShoebox": true - }, - { - "name": "ServiceReplicaName", - "displayName": "ServiceReplicaName", - "toBeExportedForShoebox": true - } - ] - }, - { - "name": "ApplicationStatus", - "displayName": "ApplicationStatus", - "displayDescription": "Status of Service Fabric Mesh application", - "unit": "Count", - "aggregationType": "Average", - "lockAggregationType": "Total", - "supportedAggregationTypes": [ - "Average" - ], - "enableRegionalMdmAccount": true, - "dimensions": [ - { - "name": "ApplicationName", - "displayName": "ApplicationName", - "toBeExportedForShoebox": true - }, - { - "name": "Status", - "displayName": "Status", - "toBeExportedForShoebox": true - } - ] - }, - { - "name": "ServiceStatus", - "displayName": "ServiceStatus", - "displayDescription": "Health Status of a service in Service Fabric Mesh application", - "unit": "Count", - "aggregationType": "Average", - "lockAggregationType": "Total", - "supportedAggregationTypes": [ - "Average" - ], - "enableRegionalMdmAccount": true, - "dimensions": [ - { - "name": "ApplicationName", - "displayName": "ApplicationName", - "toBeExportedForShoebox": true - }, - { - "name": "Status", - "displayName": "Status", - "toBeExportedForShoebox": true - }, - { - "name": "ServiceName", - "displayName": "ServiceName", - "toBeExportedForShoebox": true - } - ] - }, - { - "name": "ServiceReplicaStatus", - "displayName": "ServiceReplicaStatus", - "displayDescription": "Health Status of a service replica in Service Fabric Mesh application", - "unit": "Count", - "aggregationType": "Average", - "lockAggregationType": "Total", - "supportedAggregationTypes": [ - "Average" - ], - "enableRegionalMdmAccount": true, - "dimensions": [ - { - "name": "ApplicationName", - "displayName": "ApplicationName", - "toBeExportedForShoebox": true - }, - { - "name": "Status", - "displayName": "Status", - "toBeExportedForShoebox": true - }, - { - "name": "ServiceName", - "displayName": "ServiceName", - "toBeExportedForShoebox": true - }, - { - "name": "ServiceReplicaName", - "displayName": "ServiceReplicaName", - "toBeExportedForShoebox": true - } - ] - }, - { - "name": "ContainerStatus", - "displayName": "ContainerStatus", - "displayDescription": "Status of the container in Service Fabric Mesh application", - "unit": "Count", - "aggregationType": "Average", - "lockAggregationType": "Total", - "supportedAggregationTypes": [ - "Average" - ], - "enableRegionalMdmAccount": true, - "dimensions": [ - { - "name": "ApplicationName", - "displayName": "ApplicationName", - "toBeExportedForShoebox": true - }, - { - "name": "ServiceName", - "displayName": "ServiceName", - "toBeExportedForShoebox": true - }, - { - "name": "CodePackageName", - "displayName": "CodePackageName", - "toBeExportedForShoebox": true - }, - { - "name": "ServiceReplicaName", - "displayName": "ServiceReplicaName", - "toBeExportedForShoebox": true - }, - { - "name": "Status", - "displayName": "Status", - "toBeExportedForShoebox": true - } - ] - }, - { - "name": "RestartCount", - "displayName": "RestartCount", - "displayDescription": "Restart count of a container in Service Fabric Mesh application", - "unit": "Count", - "aggregationType": "Average", - "lockAggregationType": "Total", - "supportedAggregationTypes": [ - "Average" - ], - "enableRegionalMdmAccount": true, - "dimensions": [ - { - "name": "ApplicationName", - "displayName": "ApplicationName", - "toBeExportedForShoebox": true - }, - { - "name": "Status", - "displayName": "Status", - "toBeExportedForShoebox": true - }, - { - "name": "ServiceName", - "displayName": "ServiceName", - "toBeExportedForShoebox": true - }, - { - "name": "ServiceReplicaName", - "displayName": "ServiceReplicaName", - "toBeExportedForShoebox": true - }, - { - "name": "CodePackageName", - "displayName": "CodePackageName", - "toBeExportedForShoebox": true - } - ] - } - ] - } - } + "origin": "system" }, { "name": "Microsoft.ServiceFabricMesh/applications/providers/Microsoft.Insights/diagnosticSettings/read", @@ -487,4 +112,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/create_update.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/create_update.json index f712e98b39bf..fd6c7334d378 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/create_update.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/create_update.json @@ -2,7 +2,7 @@ "operationId": "Network_Create", "description": "This example shows how to create or update a network resource.", "parameters": { - "api-version": "2018-09-01-privatepreview", + "api-version": "2018-09-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "sbz_demo", "networkResourceName": "sampleNetwork", diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/delete.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/delete.json index 08b106455a70..536cc5125410 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/delete.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/delete.json @@ -2,7 +2,7 @@ "operationId": "Network_Delete", "description": "This example shows how to delete an existing network resource. If the network resource exists and is deleted successfully, an empty response with 200 status code is returned. If the network resource does not exist, an empty response with 204 status code is returned.", "parameters": { - "api-version": "2018-09-01-privatepreview", + "api-version": "2018-09-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "sbz_demo", "networkResourceName": "sampleNetwork" diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/get.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/get.json index 9430c777d304..f93534abf925 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/get.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/get.json @@ -2,7 +2,7 @@ "operationId": "Network_Get", "description": "This example shows how to get a network resource. If the network resource exists, its description is returned along with an OK (200) status code. If the network resource does not exist, an error is returned with an appropriate status code.", "parameters": { - "api-version": "2018-09-01-privatepreview", + "api-version": "2018-09-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "sbz_demo", "networkResourceName": "sampleNetwork" diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/list_byResourceGroup.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/list_byResourceGroup.json index 289d34d092ba..e1a304693c66 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/list_byResourceGroup.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/list_byResourceGroup.json @@ -2,7 +2,7 @@ "operationId": "Network_ListByResourceGroup", "description": "This example shows how to list all network resources within a specified resource group.", "parameters": { - "api-version": "2018-09-01-privatepreview", + "api-version": "2018-09-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "sbz_demo" }, diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/list_bySubscriptionId.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/list_bySubscriptionId.json index 09c18cbbe141..a0a2576de08f 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/list_bySubscriptionId.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/networks/list_bySubscriptionId.json @@ -2,7 +2,7 @@ "operationId": "Network_ListBySubscriptionId", "description": "This example shows how to list all network resources for a specified subscription.", "parameters": { - "api-version": "2018-09-01-privatepreview", + "api-version": "2018-09-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/create_update.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/create_update.json index 83d8c94e426a..fb65ee83039c 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/create_update.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/create_update.json @@ -2,7 +2,7 @@ "operationId": "Secret_Create", "description": "This example shows how to create or update a secret resource.", "parameters": { - "api-version": "2018-09-01-privatepreview", + "api-version": "2018-09-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "sbz_demo", "secretResourceName": "dbConnectionString", diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/delete.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/delete.json index 0788afd7ab2c..e5d992903a2f 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/delete.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/delete.json @@ -2,7 +2,7 @@ "operationId": "Secret_Delete", "description": "This example shows how to delete an existing secret resource. If the secret resource exists and is deleted successfully, an empty response with 200 status code is returned. If the secret resource does not exit, an empty response with 204 status code is returned.", "parameters": { - "api-version": "2018-09-01-privatepreview", + "api-version": "2018-09-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "sbz_demo", "secretResourceName": "dbConnectionString" diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/get.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/get.json index ed49a340b598..cfbbf45db6c0 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/get.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/get.json @@ -2,7 +2,7 @@ "operationId": "Secret_Get", "description": "This example shows how to get a secret resource. If the secret resource exists, its description is returned along with an OK (200) status code. If the secret resource does not exist, an error is returned with an appropriate status code.", "parameters": { - "api-version": "2018-09-01-privatepreview", + "api-version": "2018-09-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "sbz_demo", "secretResourceName": "dbConnectionString" diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/list_byResourceGroup.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/list_byResourceGroup.json index 756fd12f3586..5b28df9d9be5 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/list_byResourceGroup.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/list_byResourceGroup.json @@ -2,7 +2,7 @@ "operationId": "Secret_ListByResourceGroup", "description": "This example shows how to list all secret resources within a specified resource group.", "parameters": { - "api-version": "2018-09-01-privatepreview", + "api-version": "2018-09-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "sbz_demo" }, diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/list_bySubscriptionId.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/list_bySubscriptionId.json index f9c1b96a47f5..d298f0695851 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/list_bySubscriptionId.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/list_bySubscriptionId.json @@ -2,7 +2,7 @@ "operationId": "Secret_ListBySubscriptionId", "description": "This example shows how to list all secret resources for a specified subscription.", "parameters": { - "api-version": "2018-09-01-privatepreview", + "api-version": "2018-09-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/create.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/create.json index 928c5aba9f44..356521374c81 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/create.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/create.json @@ -2,7 +2,7 @@ "operationId": "SecretValue_Create", "description": "This example shows how to add a new value of a secret resource; the secret value is provided as plaintext.", "parameters": { - "api-version": "2018-09-01-privatepreview", + "api-version": "2018-09-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "sbz_demo", "secretResourceName": "dbConnectionString", diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/delete.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/delete.json index 36eff5a5f62a..a8475535216d 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/delete.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/delete.json @@ -2,7 +2,7 @@ "operationId": "SecretValue_Delete", "description": "This example shows how to delete a secret value. If the specified named value exists and is deleted successfully, an empty response with 200 status code is returned. If the specified named value does not exist, an empty response with 204 status code is returned.", "parameters": { - "api-version": "2018-09-01-privatepreview", + "api-version": "2018-09-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "sbz_demo", "secretResourceName": "dbConnectionString", diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/get.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/get.json index 0d6d08be4631..8f90f2b55608 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/get.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/get.json @@ -2,7 +2,7 @@ "operationId": "SecretValue_Get", "description": "This example shows how to get the specified secret value resource. If the specified named value exists, its information is returned along with status code 200. The information does not include the value. To get the unecnrypted value use SecretValue_ListValue operation. If the specified named value does not exist, an error is returned with an appropriate status code.", "parameters": { - "api-version": "2018-09-01-privatepreview", + "api-version": "2018-09-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "sbz_demo", "secretResourceName": "dbConnectionString", diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/list.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/list.json index cfce09bfdead..b06549039891 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/list.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/list.json @@ -2,7 +2,7 @@ "operationId": "SecretValue_List", "description": "This example shows how to list names of all values of a secret resource, not including their respective values.", "parameters": { - "api-version": "2018-09-01-privatepreview", + "api-version": "2018-09-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "sbz_demo", "secretResourceName": "dbConnectionString" diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/list_value.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/list_value.json index 4251a3e7ecbb..a03ed62132a6 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/list_value.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/secrets/values/list_value.json @@ -2,7 +2,7 @@ "operationId": "SecretValue_ListValue", "description": "This example shows how to get the unencrypted value of the secret. If the specified named value resource exists, its unencrypted value is returned along with status code 200. If the specified named value does not exist, an error is returned with an appropriate status code.", "parameters": { - "api-version": "2018-09-01-privatepreview", + "api-version": "2018-09-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "sbz_demo", "secretResourceName": "dbConnectionString", diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/volumes/create_update.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/volumes/create_update.json index 591d621602d9..b685c8ee70ae 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/volumes/create_update.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/volumes/create_update.json @@ -2,7 +2,7 @@ "operationId": "Volume_Create", "description": "This example shows how to create or update a volume resource.", "parameters": { - "api-version": "2018-09-01-privatepreview", + "api-version": "2018-09-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "sbz_demo", "volumeResourceName": "sampleVolume", diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/volumes/delete.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/volumes/delete.json index ac54d3b45588..d532f8e4a7b0 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/volumes/delete.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/volumes/delete.json @@ -2,7 +2,7 @@ "operationId": "Volume_Delete", "description": "This example shows how to delete an existing volume resource. If the volume resource exists and is deleted successfully, an empty response with 200 status code is returned. If the volume resource does not exit, an empty response with 204 status code is returned.", "parameters": { - "api-version": "2018-09-01-privatepreview", + "api-version": "2018-09-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "sbz_demo", "volumeResourceName": "sampleVolume" diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/volumes/get.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/volumes/get.json index fb3a69c9d84b..099fb7d04609 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/volumes/get.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/volumes/get.json @@ -2,7 +2,7 @@ "operationId": "Volume_Get", "description": "This example shows how to get a volume resource. If the volume resource exists, its description is returned along with an OK (200) status code. If the volume resource does not exist, an error is returned with an appropriate status code.", "parameters": { - "api-version": "2018-09-01-privatepreview", + "api-version": "2018-09-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "sbz_demo", "volumeResourceName": "sampleVolume" diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/volumes/list_byResourceGroup.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/volumes/list_byResourceGroup.json index e6ac3143e417..4309f28a9140 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/volumes/list_byResourceGroup.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/volumes/list_byResourceGroup.json @@ -2,7 +2,7 @@ "operationId": "Volume_ListByResourceGroup", "description": "This example shows how to list all volume resources within a specified resource group.", "parameters": { - "api-version": "2018-09-01-privatepreview", + "api-version": "2018-09-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "sbz_demo" }, diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/volumes/list_bySubscriptionId.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/volumes/list_bySubscriptionId.json index aa7e94bf8175..e724bbd6eaf8 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/volumes/list_bySubscriptionId.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/examples/volumes/list_bySubscriptionId.json @@ -2,7 +2,7 @@ "operationId": "Volume_ListBySubscriptionId", "description": "This example shows how to list all volume resources for a specified subscription.", "parameters": { - "api-version": "2018-09-01-privatepreview", + "api-version": "2018-09-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { From 6487f12e785bef547e478b0ea798aa46dc963c76 Mon Sep 17 00:00:00 2001 From: Sandeep Prakash Date: Fri, 13 Jan 2023 19:02:09 -0800 Subject: [PATCH 3/3] Incorporating review feedback. --- .../preview/2018-09-01-preview/servicefabricmesh.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json index 2d2939a6f485..cefeee2e3bb2 100644 --- a/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json +++ b/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json @@ -2018,7 +2018,7 @@ "modelAsString": true, "values": [ { - "value": "InlinedValue", + "value": "inlinedValue", "description": "A simple secret resource whose plaintext value is provided by the user." } ]