From 72a7125525cb979450b20ddbce628825eb554270 Mon Sep 17 00:00:00 2001 From: Arthur Ma Date: Tue, 3 Dec 2024 17:01:21 +0800 Subject: [PATCH 01/25] Update client settings --- .../DeviceRegistry.Management/tspconfig.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml b/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml index 03c74318c3e0..670851842ac6 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml +++ b/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml @@ -13,6 +13,13 @@ options: output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/deviceregistry.json" use-read-only-status-schema: true omit-unreachable-types: true + "@azure-tools/typespec-csharp": + package-dir: "Azure.ResourceManager.DeviceRegistry" + flavor: azure + clear-output-folder: true + use-write-core: true + namespace: "{package-dir}" + api-version: "2024-09-01-preview" "@azure-tools/typespec-java": package-dir: "azure-resourcemanager-deviceregistry" flavor: "azure" From a158ccea972f905aa4c0de7ddd8b2af78c2ca336 Mon Sep 17 00:00:00 2001 From: Arthur Ma Date: Tue, 3 Dec 2024 19:16:35 +0800 Subject: [PATCH 02/25] Update --- .../assetEndpointProfiles.tsp | 12 +++++--- .../DeviceRegistry.Management/assets.tsp | 19 +++++++------ .../DeviceRegistry.Management/billings.tsp | 2 +- .../DeviceRegistry.Management/client.tsp | 28 +++++++++++++++++++ .../discoveredAssetEndpointProfiles.tsp | 14 +++++++--- .../discoveredAssets.tsp | 21 ++++++++------ .../DeviceRegistry.Management/main.tsp | 3 ++ .../schemaRegistries.tsp | 19 +++++++------ .../2023-11-01-preview/deviceregistry.json | 8 ++++-- .../2024-09-01-preview/deviceregistry.json | 25 +++++++++++++---- .../stable/2024-11-01/deviceregistry.json | 14 ++++++++-- 11 files changed, 119 insertions(+), 46 deletions(-) diff --git a/specification/deviceregistry/DeviceRegistry.Management/assetEndpointProfiles.tsp b/specification/deviceregistry/DeviceRegistry.Management/assetEndpointProfiles.tsp index 1c932f32c9b9..ad03d6189a0e 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/assetEndpointProfiles.tsp +++ b/specification/deviceregistry/DeviceRegistry.Management/assetEndpointProfiles.tsp @@ -76,6 +76,13 @@ model AssetEndpointProfileProperties { provisioningState?: ProvisioningState; } +@doc("Defines the Asset Endpoint Profile properties for update operation.") +model AssetEndpointProfileUpdate + is Azure.ResourceManager.Foundations.ResourceUpdateModel< + AssetEndpointProfile, + AssetEndpointProfileProperties + >; + @doc("Definition of the client authentication mechanism to the server.") @renamedFrom(Versions.v2024_09_01_preview, "UserAuthentication") model Authentication { @@ -173,10 +180,7 @@ interface AssetEndpointProfiles { // since otherwise it extends the ARM TrackedResource type. update is ArmCustomPatchAsync< AssetEndpointProfile, - Azure.ResourceManager.Foundations.ResourceUpdateModel< - AssetEndpointProfile, - AssetEndpointProfileProperties - > + AssetEndpointProfileUpdate >; delete is ArmResourceDeleteWithoutOkAsync; listByResourceGroup is ArmResourceListByParent; diff --git a/specification/deviceregistry/DeviceRegistry.Management/assets.tsp b/specification/deviceregistry/DeviceRegistry.Management/assets.tsp index ffd77ae3ecd5..18e9e3dc8a13 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/assets.tsp +++ b/specification/deviceregistry/DeviceRegistry.Management/assets.tsp @@ -75,7 +75,7 @@ model AssetProperties { manufacturer?: string; @doc("Asset manufacturer URI.") - manufacturerUri?: string; + manufacturerUri?: url; @doc("Asset model name.") `model`?: string; @@ -90,7 +90,7 @@ model AssetProperties { softwareRevision?: string; @doc("Reference to the documentation.") - documentationUri?: string; + documentationUri?: url; @doc("Asset serial number.") serialNumber?: string; @@ -142,6 +142,13 @@ model AssetProperties { provisioningState?: ProvisioningState; } +@doc("Defines the asset properties for update operation.") +model AssetUpdate + is Azure.ResourceManager.Foundations.ResourceUpdateModel< + Asset, + AssetProperties + >; + @doc("Defines the dataset properties.") @added(Versions.v2024_09_01_preview) model Dataset { @@ -376,13 +383,7 @@ interface Assets { // Using 'ArmCustomPatchAsync' instead of 'ArmResourcePatchAsync' to define the correct patch payload for the resource. // This is a workaround to fix the patch payload that otherwise will expose the 'location' field (not present in patch), // since otherwise it extends the ARM TrackedResource type. - update is ArmCustomPatchAsync< - Asset, - Azure.ResourceManager.Foundations.ResourceUpdateModel< - Asset, - AssetProperties - > - >; + update is ArmCustomPatchAsync; delete is ArmResourceDeleteWithoutOkAsync; listByResourceGroup is ArmResourceListByParent; listBySubscription is ArmListBySubscription; diff --git a/specification/deviceregistry/DeviceRegistry.Management/billings.tsp b/specification/deviceregistry/DeviceRegistry.Management/billings.tsp index 94d03f4b5f16..27e77fafa3da 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/billings.tsp +++ b/specification/deviceregistry/DeviceRegistry.Management/billings.tsp @@ -31,7 +31,7 @@ model BillingContainer is ProxyResource { #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" @doc("Resource ETag") @visibility("read") - etag?: string; + etag?: Azure.Core.eTag; } @added(Versions.v2024_09_01_preview) diff --git a/specification/deviceregistry/DeviceRegistry.Management/client.tsp b/specification/deviceregistry/DeviceRegistry.Management/client.tsp index 73168e30aa9d..d4e729b1a502 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/client.tsp +++ b/specification/deviceregistry/DeviceRegistry.Management/client.tsp @@ -2,5 +2,33 @@ import "./main.tsp"; import "@azure-tools/typespec-client-generator-core"; using Azure.ClientGenerator.Core; +using Microsoft.DeviceRegistry; + +@@access(OperationStatus.get, Access.internal, "csharp"); @@clientName(Microsoft.DeviceRegistry, "DeviceRegistryMgmt", "python"); + +@@clientName(Asset, "DeviceRegistryAsset", "csharp"); +@@clientName(AssetStatus, "DeviceRegistryAssetStatus", "csharp"); +@@clientName(AssetStatusDataset, "DeviceRegistryAssetStatusDataset", "csharp"); +@@clientName(AssetStatusError, "DeviceRegistryAssetStatusError", "csharp"); +@@clientName(AssetStatusEvent, "DeviceRegistryAssetStatusEvent", "csharp"); +@@clientName(AssetEndpointProfile, + "DeviceRegistryAssetEndpointProfile", + "csharp" +); +@@clientName(DiscoveredAsset, "DeviceRegistryDiscoveredAsset", "csharp"); +@@clientName(DiscoveredAssetEndpointProfile, + "DeviceRegistryDiscoveredAssetEndpointProfile", + "csharp" +); +@@clientName(SchemaRegistry, "DeviceRegistrySchemaRegistry", "csharp"); +@@clientName(Schema, "DeviceRegistrySchema", "csharp"); +@@clientName(SchemaVersion, "DeviceRegistrySchemaVersion", "csharp"); +@@clientName(BillingContainer, "DeviceRegistryBillingContainer", "csharp"); +@@clientName(ExtendedLocation, "DeviceRegistryExtendedLocation", "csharp"); +@@clientName(ExtendedLocation.type, "ExtendedLocationType", "csharp"); +@@clientName(ProvisioningState, "DeviceRegistryProvisioningState", "csharp"); +@@clientName(Authentication, "DeviceRegistryUserAuthentication", "csharp"); +@@clientName(Authentication, "DeviceRegistryUserAuthentication", "csharp"); +@@clientName(Topic, "DeviceRegistryMqttTopic", "csharp"); diff --git a/specification/deviceregistry/DeviceRegistry.Management/discoveredAssetEndpointProfiles.tsp b/specification/deviceregistry/DeviceRegistry.Management/discoveredAssetEndpointProfiles.tsp index db54c1ea9248..30d17ba9ffdc 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/discoveredAssetEndpointProfiles.tsp +++ b/specification/deviceregistry/DeviceRegistry.Management/discoveredAssetEndpointProfiles.tsp @@ -64,6 +64,15 @@ model DiscoveredAssetEndpointProfileProperties { provisioningState?: ProvisioningState; } +@doc("Defines the Discovered Asset Endpoint Profile properties for update operation.") +@added(Versions.v2024_09_01_preview) +@removed(Versions.v2024_11_01) +model DiscoveredAssetEndpointProfileUpdate + is Azure.ResourceManager.Foundations.ResourceUpdateModel< + DiscoveredAssetEndpointProfile, + DiscoveredAssetEndpointProfileProperties + >; + @armResourceOperations @added(Versions.v2024_09_01_preview) @removed(Versions.v2024_11_01) @@ -75,10 +84,7 @@ interface DiscoveredAssetEndpointProfiles { // since otherwise it extends the ARM TrackedResource type. update is ArmCustomPatchAsync< DiscoveredAssetEndpointProfile, - Azure.ResourceManager.Foundations.ResourceUpdateModel< - DiscoveredAssetEndpointProfile, - DiscoveredAssetEndpointProfileProperties - > + DiscoveredAssetEndpointProfileUpdate >; delete is ArmResourceDeleteWithoutOkAsync; listByResourceGroup is ArmResourceListByParent; diff --git a/specification/deviceregistry/DeviceRegistry.Management/discoveredAssets.tsp b/specification/deviceregistry/DeviceRegistry.Management/discoveredAssets.tsp index c2e5f972ca26..956f880f5452 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/discoveredAssets.tsp +++ b/specification/deviceregistry/DeviceRegistry.Management/discoveredAssets.tsp @@ -53,7 +53,7 @@ model DiscoveredAssetProperties { manufacturer?: string; @doc("Asset manufacturer URI.") - manufacturerUri?: string; + manufacturerUri?: url; @doc("Asset model name.") `model`?: string; @@ -68,7 +68,7 @@ model DiscoveredAssetProperties { softwareRevision?: string; @doc("Reference to the documentation.") - documentationUri?: string; + documentationUri?: url; @doc("Asset serial number.") serialNumber?: string; @@ -95,6 +95,15 @@ model DiscoveredAssetProperties { provisioningState?: ProvisioningState; } +@doc("Defines the discovered asset properties for update operation.") +@added(Versions.v2024_09_01_preview) +@removed(Versions.v2024_11_01) +model DiscoveredAssetUpdate + is Azure.ResourceManager.Foundations.ResourceUpdateModel< + DiscoveredAsset, + DiscoveredAssetProperties + >; + @doc("Defines the dataset properties.") @added(Versions.v2024_09_01_preview) @removed(Versions.v2024_11_01) @@ -159,13 +168,7 @@ interface DiscoveredAssets { // Using 'ArmCustomPatchAsync' instead of 'ArmResourcePatchAsync' to define the correct patch payload for the resource. // This is a workaround to fix the patch payload that otherwise will expose the 'location' field (not present in patch), // since otherwise it extends the ARM TrackedResource type. - update is ArmCustomPatchAsync< - DiscoveredAsset, - Azure.ResourceManager.Foundations.ResourceUpdateModel< - DiscoveredAsset, - DiscoveredAssetProperties - > - >; + update is ArmCustomPatchAsync; delete is ArmResourceDeleteWithoutOkAsync; listByResourceGroup is ArmResourceListByParent; listBySubscription is ArmListBySubscription; diff --git a/specification/deviceregistry/DeviceRegistry.Management/main.tsp b/specification/deviceregistry/DeviceRegistry.Management/main.tsp index 844832210cca..2ad32ec367fa 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/main.tsp +++ b/specification/deviceregistry/DeviceRegistry.Management/main.tsp @@ -29,16 +29,19 @@ namespace Microsoft.DeviceRegistry; enum Versions { @doc("Microsoft.DeviceRegistry Resource Provider management API version 2023-11-01-preview.") @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + @useDependency(Azure.Core.Versions.v1_0_Preview_2) @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v3) v2023_11_01_preview: "2023-11-01-preview", @doc("Microsoft.DeviceRegistry Resource Provider management API version 2024-09-01-preview.") @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + @useDependency(Azure.Core.Versions.v1_0_Preview_2) @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) v2024_09_01_preview: "2024-09-01-preview", @doc("Microsoft.DeviceRegistry Resource Provider management API version 2024-11-01.") @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + @useDependency(Azure.Core.Versions.v1_0_Preview_2) @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) v2024_11_01: "2024-11-01", } diff --git a/specification/deviceregistry/DeviceRegistry.Management/schemaRegistries.tsp b/specification/deviceregistry/DeviceRegistry.Management/schemaRegistries.tsp index c2829fe04fc9..1ad36e2f748e 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/schemaRegistries.tsp +++ b/specification/deviceregistry/DeviceRegistry.Management/schemaRegistries.tsp @@ -51,13 +51,22 @@ model SchemaRegistryProperties { @doc("The Storage Account's Container URL where schemas will be stored.") @visibility("read", "create") - storageAccountContainerUrl: string; + storageAccountContainerUrl: url; @doc("Provisioning state of the resource.") @visibility("read") provisioningState?: ProvisioningState; } +@added(Versions.v2024_09_01_preview) +@removed(Versions.v2024_11_01) +@doc("Defines the schema registry properties for update operation.") +model SchemaRegistryUpdate + is Azure.ResourceManager.Foundations.ResourceUpdateModel< + SchemaRegistry, + SchemaRegistryProperties + >; + @added(Versions.v2024_09_01_preview) @removed(Versions.v2024_11_01) @parentResource(SchemaRegistry) @@ -176,13 +185,7 @@ interface SchemaRegistries { // Using 'ArmCustomPatchAsync' instead of 'ArmResourcePatchAsync' to define the correct patch payload for the resource. // This is a workaround to fix the patch payload that otherwise will expose the 'location' field (not present in patch), // since otherwise it extends the ARM TrackedResource type. - update is ArmCustomPatchAsync< - SchemaRegistry, - Azure.ResourceManager.Foundations.ResourceUpdateModel< - SchemaRegistry, - SchemaRegistryProperties - > - >; + update is ArmCustomPatchAsync; delete is ArmResourceDeleteWithoutOkAsync; listByResourceGroup is ArmResourceListByParent; listBySubscription is ArmListBySubscription; diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/deviceregistry.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/deviceregistry.json index 5deaf0af7915..5e1480e83513 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/deviceregistry.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/deviceregistry.json @@ -941,7 +941,7 @@ }, "AssetEndpointProfileUpdate": { "type": "object", - "description": "The type used for update operations of the AssetEndpointProfile.", + "description": "Defines the Asset Endpoint Profile properties for update operation.", "properties": { "tags": { "type": "object", @@ -1054,6 +1054,7 @@ }, "manufacturerUri": { "type": "string", + "format": "uri", "description": "Asset manufacturer URI." }, "model": { @@ -1074,6 +1075,7 @@ }, "documentationUri": { "type": "string", + "format": "uri", "description": "Reference to the documentation." }, "serialNumber": { @@ -1164,7 +1166,7 @@ }, "AssetUpdate": { "type": "object", - "description": "The type used for update operations of the Asset.", + "description": "Defines the asset properties for update operation.", "properties": { "tags": { "type": "object", @@ -1206,6 +1208,7 @@ }, "manufacturerUri": { "type": "string", + "format": "uri", "description": "Asset manufacturer URI." }, "model": { @@ -1226,6 +1229,7 @@ }, "documentationUri": { "type": "string", + "format": "uri", "description": "Reference to the documentation." }, "serialNumber": { diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/deviceregistry.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/deviceregistry.json index 3a4b127055f5..3051ab3ab352 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/deviceregistry.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/deviceregistry.json @@ -2648,7 +2648,7 @@ }, "AssetEndpointProfileUpdate": { "type": "object", - "description": "The type used for update operations of the AssetEndpointProfile.", + "description": "Defines the Asset Endpoint Profile properties for update operation.", "properties": { "tags": { "type": "object", @@ -2757,6 +2757,7 @@ }, "manufacturerUri": { "type": "string", + "format": "uri", "description": "Asset manufacturer URI." }, "model": { @@ -2777,6 +2778,7 @@ }, "documentationUri": { "type": "string", + "format": "uri", "description": "Reference to the documentation." }, "serialNumber": { @@ -2938,7 +2940,7 @@ }, "AssetUpdate": { "type": "object", - "description": "The type used for update operations of the Asset.", + "description": "Defines the asset properties for update operation.", "properties": { "tags": { "type": "object", @@ -2976,6 +2978,7 @@ }, "manufacturerUri": { "type": "string", + "format": "uri", "description": "Asset manufacturer URI." }, "model": { @@ -2996,6 +2999,7 @@ }, "documentationUri": { "type": "string", + "format": "uri", "description": "Reference to the documentation." }, "serialNumber": { @@ -3160,6 +3164,10 @@ } } }, + "Azure.Core.eTag": { + "type": "string", + "description": "The ETag (or entity tag) HTTP response header is an identifier for a specific version of a resource.\nIt lets caches be more efficient and save bandwidth, as a web server does not need to resend a full response if the content was not changed.\n\nIt is a string of ASCII characters placed between double quotes, like \"675af34563dc-tr34\"." + }, "BillingContainer": { "type": "object", "description": "billingContainer Model as Azure resource whose sole purpose is to keep track of billables resources under a subscription.", @@ -3170,7 +3178,7 @@ "x-ms-client-flatten": true }, "etag": { - "type": "string", + "$ref": "#/definitions/Azure.Core.eTag", "description": "Resource ETag", "readOnly": true } @@ -3442,7 +3450,7 @@ }, "DiscoveredAssetEndpointProfileUpdate": { "type": "object", - "description": "The type used for update operations of the DiscoveredAssetEndpointProfile.", + "description": "Defines the Discovered Asset Endpoint Profile properties for update operation.", "properties": { "tags": { "type": "object", @@ -3542,6 +3550,7 @@ }, "manufacturerUri": { "type": "string", + "format": "uri", "description": "Asset manufacturer URI." }, "model": { @@ -3562,6 +3571,7 @@ }, "documentationUri": { "type": "string", + "format": "uri", "description": "Reference to the documentation." }, "serialNumber": { @@ -3610,7 +3620,7 @@ }, "DiscoveredAssetUpdate": { "type": "object", - "description": "The type used for update operations of the DiscoveredAsset.", + "description": "Defines the discovered asset properties for update operation.", "properties": { "tags": { "type": "object", @@ -3645,6 +3655,7 @@ }, "manufacturerUri": { "type": "string", + "format": "uri", "description": "Asset manufacturer URI." }, "model": { @@ -3665,6 +3676,7 @@ }, "documentationUri": { "type": "string", + "format": "uri", "description": "Reference to the documentation." }, "serialNumber": { @@ -4119,6 +4131,7 @@ }, "storageAccountContainerUrl": { "type": "string", + "format": "uri", "description": "The Storage Account's Container URL where schemas will be stored.", "x-ms-mutability": [ "read", @@ -4138,7 +4151,7 @@ }, "SchemaRegistryUpdate": { "type": "object", - "description": "The type used for update operations of the SchemaRegistry.", + "description": "Defines the schema registry properties for update operation.", "properties": { "identity": { "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/SystemAssignedServiceIdentity", diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/deviceregistry.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/deviceregistry.json index 9864c4dc523c..743358b59b93 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/deviceregistry.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/deviceregistry.json @@ -1084,7 +1084,7 @@ }, "AssetEndpointProfileUpdate": { "type": "object", - "description": "The type used for update operations of the AssetEndpointProfile.", + "description": "Defines the Asset Endpoint Profile properties for update operation.", "properties": { "tags": { "type": "object", @@ -1193,6 +1193,7 @@ }, "manufacturerUri": { "type": "string", + "format": "uri", "description": "Asset manufacturer URI." }, "model": { @@ -1213,6 +1214,7 @@ }, "documentationUri": { "type": "string", + "format": "uri", "description": "Reference to the documentation." }, "serialNumber": { @@ -1374,7 +1376,7 @@ }, "AssetUpdate": { "type": "object", - "description": "The type used for update operations of the Asset.", + "description": "Defines the asset properties for update operation.", "properties": { "tags": { "type": "object", @@ -1412,6 +1414,7 @@ }, "manufacturerUri": { "type": "string", + "format": "uri", "description": "Asset manufacturer URI." }, "model": { @@ -1432,6 +1435,7 @@ }, "documentationUri": { "type": "string", + "format": "uri", "description": "Reference to the documentation." }, "serialNumber": { @@ -1566,6 +1570,10 @@ } } }, + "Azure.Core.eTag": { + "type": "string", + "description": "The ETag (or entity tag) HTTP response header is an identifier for a specific version of a resource.\nIt lets caches be more efficient and save bandwidth, as a web server does not need to resend a full response if the content was not changed.\n\nIt is a string of ASCII characters placed between double quotes, like \"675af34563dc-tr34\"." + }, "BillingContainer": { "type": "object", "description": "billingContainer Model as Azure resource whose sole purpose is to keep track of billables resources under a subscription.", @@ -1576,7 +1584,7 @@ "x-ms-client-flatten": true }, "etag": { - "type": "string", + "$ref": "#/definitions/Azure.Core.eTag", "description": "Resource ETag", "readOnly": true } From 2de5c28b87cea63143101785bc9c7483364cdf67 Mon Sep 17 00:00:00 2001 From: Arthur Ma Date: Wed, 4 Dec 2024 13:08:05 +0800 Subject: [PATCH 03/25] update --- .../assetEndpointProfiles.tsp | 12 +++---- .../DeviceRegistry.Management/assets.tsp | 15 ++++----- .../DeviceRegistry.Management/client.tsp | 32 ++++++++++++++++++- .../discoveredAssetEndpointProfiles.tsp | 14 +++----- .../discoveredAssets.tsp | 17 ++++------ .../schemaRegistries.tsp | 17 ++++------ 6 files changed, 60 insertions(+), 47 deletions(-) diff --git a/specification/deviceregistry/DeviceRegistry.Management/assetEndpointProfiles.tsp b/specification/deviceregistry/DeviceRegistry.Management/assetEndpointProfiles.tsp index ad03d6189a0e..1c932f32c9b9 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/assetEndpointProfiles.tsp +++ b/specification/deviceregistry/DeviceRegistry.Management/assetEndpointProfiles.tsp @@ -76,13 +76,6 @@ model AssetEndpointProfileProperties { provisioningState?: ProvisioningState; } -@doc("Defines the Asset Endpoint Profile properties for update operation.") -model AssetEndpointProfileUpdate - is Azure.ResourceManager.Foundations.ResourceUpdateModel< - AssetEndpointProfile, - AssetEndpointProfileProperties - >; - @doc("Definition of the client authentication mechanism to the server.") @renamedFrom(Versions.v2024_09_01_preview, "UserAuthentication") model Authentication { @@ -180,7 +173,10 @@ interface AssetEndpointProfiles { // since otherwise it extends the ARM TrackedResource type. update is ArmCustomPatchAsync< AssetEndpointProfile, - AssetEndpointProfileUpdate + Azure.ResourceManager.Foundations.ResourceUpdateModel< + AssetEndpointProfile, + AssetEndpointProfileProperties + > >; delete is ArmResourceDeleteWithoutOkAsync; listByResourceGroup is ArmResourceListByParent; diff --git a/specification/deviceregistry/DeviceRegistry.Management/assets.tsp b/specification/deviceregistry/DeviceRegistry.Management/assets.tsp index 18e9e3dc8a13..c36cc3596a33 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/assets.tsp +++ b/specification/deviceregistry/DeviceRegistry.Management/assets.tsp @@ -142,13 +142,6 @@ model AssetProperties { provisioningState?: ProvisioningState; } -@doc("Defines the asset properties for update operation.") -model AssetUpdate - is Azure.ResourceManager.Foundations.ResourceUpdateModel< - Asset, - AssetProperties - >; - @doc("Defines the dataset properties.") @added(Versions.v2024_09_01_preview) model Dataset { @@ -383,7 +376,13 @@ interface Assets { // Using 'ArmCustomPatchAsync' instead of 'ArmResourcePatchAsync' to define the correct patch payload for the resource. // This is a workaround to fix the patch payload that otherwise will expose the 'location' field (not present in patch), // since otherwise it extends the ARM TrackedResource type. - update is ArmCustomPatchAsync; + update is ArmCustomPatchAsync< + Asset, + Azure.ResourceManager.Foundations.ResourceUpdateModel< + Asset, + AssetProperties + > + >; delete is ArmResourceDeleteWithoutOkAsync; listByResourceGroup is ArmResourceListByParent; listBySubscription is ArmListBySubscription; diff --git a/specification/deviceregistry/DeviceRegistry.Management/client.tsp b/specification/deviceregistry/DeviceRegistry.Management/client.tsp index d4e729b1a502..824afe3f6cee 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/client.tsp +++ b/specification/deviceregistry/DeviceRegistry.Management/client.tsp @@ -17,18 +17,48 @@ using Microsoft.DeviceRegistry; "DeviceRegistryAssetEndpointProfile", "csharp" ); +@@clientName(AssetEndpointProfileProperties, + "DeviceRegistryAssetEndpointProfileProperties", + "csharp" +); +@@clientName(DataPoint, "DeviceRegistryDataPoint", "csharp"); +@@clientName(DataPointBase, "DeviceRegistryDataPointBase", "csharp"); +@@clientName(Dataset, "DeviceRegistryDataset", "csharp"); @@clientName(DiscoveredAsset, "DeviceRegistryDiscoveredAsset", "csharp"); +@@clientName(DiscoveredAssetProperties, + "DeviceRegistryDiscoveredAssetProperties", + "csharp" +); @@clientName(DiscoveredAssetEndpointProfile, "DeviceRegistryDiscoveredAssetEndpointProfile", "csharp" ); -@@clientName(SchemaRegistry, "DeviceRegistrySchemaRegistry", "csharp"); +@@clientName(Event, "DeviceRegistryEvent", "csharp"); +@@clientName(EventBase, "DeviceRegistryEventBase", "csharp"); +@@clientName(Format, "DeviceRegistrySchemaFormat", "csharp"); @@clientName(Schema, "DeviceRegistrySchema", "csharp"); +@@clientName(SchemaProperties, "DeviceRegistrySchemaProperties", "csharp"); +@@clientName(SchemaRegistry, "DeviceRegistrySchemaRegistry", "csharp"); +@@clientName(SchemaRegistryProperties, + "DeviceRegistrySchemaRegistryProperties", + "csharp" +); +@@clientName(SchemaType, "DeviceRegistrySchemaType", "csharp"); @@clientName(SchemaVersion, "DeviceRegistrySchemaVersion", "csharp"); +@@clientName(SchemaVersionProperties, + "DeviceRegistrySchemaVersionProperties", + "csharp" +); @@clientName(BillingContainer, "DeviceRegistryBillingContainer", "csharp"); @@clientName(ExtendedLocation, "DeviceRegistryExtendedLocation", "csharp"); @@clientName(ExtendedLocation.type, "ExtendedLocationType", "csharp"); +@@clientName(TopicRetainType, "DeviceRegistryTopicRetainType", "csharp"); @@clientName(ProvisioningState, "DeviceRegistryProvisioningState", "csharp"); @@clientName(Authentication, "DeviceRegistryUserAuthentication", "csharp"); @@clientName(Authentication, "DeviceRegistryUserAuthentication", "csharp"); @@clientName(Topic, "DeviceRegistryMqttTopic", "csharp"); +@@clientName(UsernamePasswordCredentials, + "DeviceRegistryUsernamePasswordCredentials", + "csharp" +); +@@clientName(X509Credentials, "DeviceRegistryX509Credentials", "csharp"); diff --git a/specification/deviceregistry/DeviceRegistry.Management/discoveredAssetEndpointProfiles.tsp b/specification/deviceregistry/DeviceRegistry.Management/discoveredAssetEndpointProfiles.tsp index 30d17ba9ffdc..db54c1ea9248 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/discoveredAssetEndpointProfiles.tsp +++ b/specification/deviceregistry/DeviceRegistry.Management/discoveredAssetEndpointProfiles.tsp @@ -64,15 +64,6 @@ model DiscoveredAssetEndpointProfileProperties { provisioningState?: ProvisioningState; } -@doc("Defines the Discovered Asset Endpoint Profile properties for update operation.") -@added(Versions.v2024_09_01_preview) -@removed(Versions.v2024_11_01) -model DiscoveredAssetEndpointProfileUpdate - is Azure.ResourceManager.Foundations.ResourceUpdateModel< - DiscoveredAssetEndpointProfile, - DiscoveredAssetEndpointProfileProperties - >; - @armResourceOperations @added(Versions.v2024_09_01_preview) @removed(Versions.v2024_11_01) @@ -84,7 +75,10 @@ interface DiscoveredAssetEndpointProfiles { // since otherwise it extends the ARM TrackedResource type. update is ArmCustomPatchAsync< DiscoveredAssetEndpointProfile, - DiscoveredAssetEndpointProfileUpdate + Azure.ResourceManager.Foundations.ResourceUpdateModel< + DiscoveredAssetEndpointProfile, + DiscoveredAssetEndpointProfileProperties + > >; delete is ArmResourceDeleteWithoutOkAsync; listByResourceGroup is ArmResourceListByParent; diff --git a/specification/deviceregistry/DeviceRegistry.Management/discoveredAssets.tsp b/specification/deviceregistry/DeviceRegistry.Management/discoveredAssets.tsp index 956f880f5452..3162a3c3c696 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/discoveredAssets.tsp +++ b/specification/deviceregistry/DeviceRegistry.Management/discoveredAssets.tsp @@ -95,15 +95,6 @@ model DiscoveredAssetProperties { provisioningState?: ProvisioningState; } -@doc("Defines the discovered asset properties for update operation.") -@added(Versions.v2024_09_01_preview) -@removed(Versions.v2024_11_01) -model DiscoveredAssetUpdate - is Azure.ResourceManager.Foundations.ResourceUpdateModel< - DiscoveredAsset, - DiscoveredAssetProperties - >; - @doc("Defines the dataset properties.") @added(Versions.v2024_09_01_preview) @removed(Versions.v2024_11_01) @@ -168,7 +159,13 @@ interface DiscoveredAssets { // Using 'ArmCustomPatchAsync' instead of 'ArmResourcePatchAsync' to define the correct patch payload for the resource. // This is a workaround to fix the patch payload that otherwise will expose the 'location' field (not present in patch), // since otherwise it extends the ARM TrackedResource type. - update is ArmCustomPatchAsync; + update is ArmCustomPatchAsync< + DiscoveredAsset, + Azure.ResourceManager.Foundations.ResourceUpdateModel< + DiscoveredAsset, + DiscoveredAssetProperties + > + >; delete is ArmResourceDeleteWithoutOkAsync; listByResourceGroup is ArmResourceListByParent; listBySubscription is ArmListBySubscription; diff --git a/specification/deviceregistry/DeviceRegistry.Management/schemaRegistries.tsp b/specification/deviceregistry/DeviceRegistry.Management/schemaRegistries.tsp index 1ad36e2f748e..dba73ed0c2db 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/schemaRegistries.tsp +++ b/specification/deviceregistry/DeviceRegistry.Management/schemaRegistries.tsp @@ -58,15 +58,6 @@ model SchemaRegistryProperties { provisioningState?: ProvisioningState; } -@added(Versions.v2024_09_01_preview) -@removed(Versions.v2024_11_01) -@doc("Defines the schema registry properties for update operation.") -model SchemaRegistryUpdate - is Azure.ResourceManager.Foundations.ResourceUpdateModel< - SchemaRegistry, - SchemaRegistryProperties - >; - @added(Versions.v2024_09_01_preview) @removed(Versions.v2024_11_01) @parentResource(SchemaRegistry) @@ -185,7 +176,13 @@ interface SchemaRegistries { // Using 'ArmCustomPatchAsync' instead of 'ArmResourcePatchAsync' to define the correct patch payload for the resource. // This is a workaround to fix the patch payload that otherwise will expose the 'location' field (not present in patch), // since otherwise it extends the ARM TrackedResource type. - update is ArmCustomPatchAsync; + update is ArmCustomPatchAsync< + SchemaRegistry, + Azure.ResourceManager.Foundations.ResourceUpdateModel< + SchemaRegistry, + SchemaRegistryProperties + > + >; delete is ArmResourceDeleteWithoutOkAsync; listByResourceGroup is ArmResourceListByParent; listBySubscription is ArmListBySubscription; From 09d79677729c79a6b6b847249c6e8d5f76b58fdc Mon Sep 17 00:00:00 2001 From: Arthur Ma Date: Wed, 4 Dec 2024 13:11:11 +0800 Subject: [PATCH 04/25] update --- .../preview/2023-11-01-preview/deviceregistry.json | 4 ++-- .../preview/2024-09-01-preview/deviceregistry.json | 10 +++++----- .../stable/2024-11-01/deviceregistry.json | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/deviceregistry.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/deviceregistry.json index 5e1480e83513..9053d0fe125d 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/deviceregistry.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/deviceregistry.json @@ -941,7 +941,7 @@ }, "AssetEndpointProfileUpdate": { "type": "object", - "description": "Defines the Asset Endpoint Profile properties for update operation.", + "description": "The type used for update operations of the AssetEndpointProfile.", "properties": { "tags": { "type": "object", @@ -1166,7 +1166,7 @@ }, "AssetUpdate": { "type": "object", - "description": "Defines the asset properties for update operation.", + "description": "The type used for update operations of the Asset.", "properties": { "tags": { "type": "object", diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/deviceregistry.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/deviceregistry.json index 3051ab3ab352..168cf7565377 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/deviceregistry.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/deviceregistry.json @@ -2648,7 +2648,7 @@ }, "AssetEndpointProfileUpdate": { "type": "object", - "description": "Defines the Asset Endpoint Profile properties for update operation.", + "description": "The type used for update operations of the AssetEndpointProfile.", "properties": { "tags": { "type": "object", @@ -2940,7 +2940,7 @@ }, "AssetUpdate": { "type": "object", - "description": "Defines the asset properties for update operation.", + "description": "The type used for update operations of the Asset.", "properties": { "tags": { "type": "object", @@ -3450,7 +3450,7 @@ }, "DiscoveredAssetEndpointProfileUpdate": { "type": "object", - "description": "Defines the Discovered Asset Endpoint Profile properties for update operation.", + "description": "The type used for update operations of the DiscoveredAssetEndpointProfile.", "properties": { "tags": { "type": "object", @@ -3620,7 +3620,7 @@ }, "DiscoveredAssetUpdate": { "type": "object", - "description": "Defines the discovered asset properties for update operation.", + "description": "The type used for update operations of the DiscoveredAsset.", "properties": { "tags": { "type": "object", @@ -4151,7 +4151,7 @@ }, "SchemaRegistryUpdate": { "type": "object", - "description": "Defines the schema registry properties for update operation.", + "description": "The type used for update operations of the SchemaRegistry.", "properties": { "identity": { "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/SystemAssignedServiceIdentity", diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/deviceregistry.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/deviceregistry.json index 743358b59b93..1d83929e0c8f 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/deviceregistry.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/deviceregistry.json @@ -1084,7 +1084,7 @@ }, "AssetEndpointProfileUpdate": { "type": "object", - "description": "Defines the Asset Endpoint Profile properties for update operation.", + "description": "The type used for update operations of the AssetEndpointProfile.", "properties": { "tags": { "type": "object", @@ -1376,7 +1376,7 @@ }, "AssetUpdate": { "type": "object", - "description": "Defines the asset properties for update operation.", + "description": "The type used for update operations of the Asset.", "properties": { "tags": { "type": "object", From d2448b060ad5a91d8396f205fcede7b093c35b7a Mon Sep 17 00:00:00 2001 From: Arthur Ma Date: Wed, 4 Dec 2024 20:37:00 +0800 Subject: [PATCH 05/25] Remove Operations operation sample --- .../Get_OperationStatus.json | 23 ------------------- .../Get_OperationStatus.json | 23 ------------------- .../2024-11-01/Get_OperationStatus.json | 23 ------------------- 3 files changed, 69 deletions(-) delete mode 100644 specification/deviceregistry/DeviceRegistry.Management/examples/2023-11-01-preview/Get_OperationStatus.json delete mode 100644 specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Get_OperationStatus.json delete mode 100644 specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Get_OperationStatus.json diff --git a/specification/deviceregistry/DeviceRegistry.Management/examples/2023-11-01-preview/Get_OperationStatus.json b/specification/deviceregistry/DeviceRegistry.Management/examples/2023-11-01-preview/Get_OperationStatus.json deleted file mode 100644 index 05e3059f8725..000000000000 --- a/specification/deviceregistry/DeviceRegistry.Management/examples/2023-11-01-preview/Get_OperationStatus.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "title": "Get_OperationStatus", - "operationId": "OperationStatus_Get", - "description": "Get the status of an async operation", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "operationId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", - "location": "testLocation" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DeviceRegistry/locations/testLocation/operationStatuses/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", - "name": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", - "status": "Succeeded", - "percentComplete": 100, - "startTime": "2022-11-21T13:27:03.8980869Z", - "endTime": "2022-11-21T13:28:03.8980869Z" - } - } - } -} diff --git a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Get_OperationStatus.json b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Get_OperationStatus.json deleted file mode 100644 index d3598d233dbb..000000000000 --- a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Get_OperationStatus.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "title": "Get_OperationStatus", - "operationId": "OperationStatus_Get", - "description": "Get the status of an async operation", - "parameters": { - "api-version": "2024-09-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "operationId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", - "location": "testLocation" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DeviceRegistry/locations/testLocation/operationStatuses/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", - "name": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", - "status": "Succeeded", - "percentComplete": 100, - "startTime": "2022-11-21T13:27:03.8980869Z", - "endTime": "2022-11-21T13:28:03.8980869Z" - } - } - } -} diff --git a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Get_OperationStatus.json b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Get_OperationStatus.json deleted file mode 100644 index 21aa928fc8d9..000000000000 --- a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Get_OperationStatus.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "title": "Get_OperationStatus", - "operationId": "OperationStatus_Get", - "description": "Get the status of an async operation", - "parameters": { - "api-version": "2024-11-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "operationId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", - "location": "testLocation" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DeviceRegistry/locations/testLocation/operationStatuses/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", - "name": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", - "status": "Succeeded", - "percentComplete": 100, - "startTime": "2022-11-21T13:27:03.8980869Z", - "endTime": "2022-11-21T13:28:03.8980869Z" - } - } - } -} From f918f55463d4dcf118c5974439ff5aaf35d08994 Mon Sep 17 00:00:00 2001 From: Arthur Ma Date: Fri, 6 Dec 2024 17:45:10 +0800 Subject: [PATCH 06/25] Update PlaywrightTesting client settings for .Net SDK release --- .../PlaywrightTesting.Management/client.tsp | 46 +++++++++++++++++++ .../tspconfig.yaml | 6 +++ 2 files changed, 52 insertions(+) diff --git a/specification/playwrighttesting/PlaywrightTesting.Management/client.tsp b/specification/playwrighttesting/PlaywrightTesting.Management/client.tsp index cf450f6d3704..cfc0d0b53b2d 100644 --- a/specification/playwrighttesting/PlaywrightTesting.Management/client.tsp +++ b/specification/playwrighttesting/PlaywrightTesting.Management/client.tsp @@ -1,9 +1,55 @@ import "./main.tsp"; import "@azure-tools/typespec-client-generator-core"; +import "@azure-tools/typespec-azure-resource-manager"; using Azure.ClientGenerator.Core; +using Microsoft.AzurePlaywrightService; @@clientName(Microsoft.AzurePlaywrightService, "PlaywrightTestingMgmt", "python" ); + +@@clientName(Azure.ResourceManager.CommonTypes.CheckNameAvailabilityResponse, + "PlaywrightTestingNameAvailabilityResult", + "csharp" +); +@@clientName(Azure.ResourceManager.CommonTypes.CheckNameAvailabilityResponse.nameAvailable, + "IsNameAvailable", + "csharp" +); +@@clientName(Azure.ResourceManager.CommonTypes.CheckNameAvailabilityRequest, + "PlaywrightTestingNameAvailabilityRequest", + "csharp" +); +@@clientName(Azure.ResourceManager.CommonTypes.CheckNameAvailabilityReason, + "PlaywrightTestingNameUnavailableReason", + "csharp" +); +@@clientName(Accounts.checkNameAvailability, + "CheckPlaywrightTestingNameAvailability", + "csharp" +); + +@@clientName(Quota, "PlaywrightTestingQuotas", "csharp"); +@@clientName(QuotaProperties, "PlaywrightTestingQuotaProperties", "csharp"); +@@clientName(QuotaNames, "PlaywrightTestingQuotaNames", "csharp"); +@@clientName(Account, "PlaywrightTestingAccount", "csharp"); +@@clientName(AccountProperties, "PlaywrightTestingAccountProperties", "csharp"); +@@clientName(AccountFreeTrialProperties, + "PlaywrightTestingAccountFreeTrialProperties", + "csharp" +); +@@clientName(AccountQuota, "PlaywrightTestingAccountQuotas", "csharp"); +@@clientName(AccountQuotaProperties, + "PlaywrightTestingAccountQuotaProperties", + "csharp" +); +@@clientName(ProvisioningState, "PlaywrightTestingProvisioningState", "csharp"); +@@clientName(EnablementStatus, "PlaywrightTestingEnablementStatus", "csharp"); +@@clientName(FreeTrialProperties, + "PlaywrightTestingFreeTrialProperties", + "csharp" +); +@@clientName(FreeTrialState, "PlaywrightTestingFreeTrialState", "csharp"); +@@clientName(OfferingType, "PlaywrightTestingOfferingType", "csharp"); diff --git a/specification/playwrighttesting/PlaywrightTesting.Management/tspconfig.yaml b/specification/playwrighttesting/PlaywrightTesting.Management/tspconfig.yaml index e6cec2cb0794..fd95779476c6 100644 --- a/specification/playwrighttesting/PlaywrightTesting.Management/tspconfig.yaml +++ b/specification/playwrighttesting/PlaywrightTesting.Management/tspconfig.yaml @@ -42,3 +42,9 @@ options: flavor: "azure" generate-test: true generate-sample: true + "@azure-tools/typespec-csharp": + package-dir: "Azure.ResourceManager.PlaywrightTesting" + flavor: azure + clear-output-folder: true + use-write-core: true + namespace: "{package-dir}" \ No newline at end of file From d8d08dece0670395767f3546404755366e0b938b Mon Sep 17 00:00:00 2001 From: Arthur Ma Date: Fri, 6 Dec 2024 18:15:21 +0800 Subject: [PATCH 07/25] update --- .../deviceregistry/DeviceRegistry.Management/tspconfig.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml b/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml index 670851842ac6..67130d901326 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml +++ b/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml @@ -45,4 +45,4 @@ options: api-version: "2024-09-01-preview" linter: extends: - - "@azure-tools/typespec-azure-rulesets/resource-manager" + - "@azure-tools/typespec-azure-rulesets/resource-manager" \ No newline at end of file From c2e66b3ddd63d85dacd655f8c82533096eff5d0d Mon Sep 17 00:00:00 2001 From: Arthur Ma Date: Wed, 11 Dec 2024 18:00:50 +0800 Subject: [PATCH 08/25] update --- .../DeviceRegistry.Management/assets.tsp | 2 +- .../DeviceRegistry.Management/billings.tsp | 2 +- .../discoveredAssets.tsp | 2 +- .../2023-11-01-preview/deviceregistry.json | 7 ------- .../2024-09-01-preview/deviceregistry.json | 15 +-------------- .../stable/2024-11-01/deviceregistry.json | 13 +------------ 6 files changed, 5 insertions(+), 36 deletions(-) diff --git a/specification/deviceregistry/DeviceRegistry.Management/assets.tsp b/specification/deviceregistry/DeviceRegistry.Management/assets.tsp index c36cc3596a33..cb57ef566a0e 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/assets.tsp +++ b/specification/deviceregistry/DeviceRegistry.Management/assets.tsp @@ -75,7 +75,7 @@ model AssetProperties { manufacturer?: string; @doc("Asset manufacturer URI.") - manufacturerUri?: url; + manufacturerUri?: string; @doc("Asset model name.") `model`?: string; diff --git a/specification/deviceregistry/DeviceRegistry.Management/billings.tsp b/specification/deviceregistry/DeviceRegistry.Management/billings.tsp index 27e77fafa3da..94d03f4b5f16 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/billings.tsp +++ b/specification/deviceregistry/DeviceRegistry.Management/billings.tsp @@ -31,7 +31,7 @@ model BillingContainer is ProxyResource { #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" @doc("Resource ETag") @visibility("read") - etag?: Azure.Core.eTag; + etag?: string; } @added(Versions.v2024_09_01_preview) diff --git a/specification/deviceregistry/DeviceRegistry.Management/discoveredAssets.tsp b/specification/deviceregistry/DeviceRegistry.Management/discoveredAssets.tsp index 3162a3c3c696..895e8cbb1829 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/discoveredAssets.tsp +++ b/specification/deviceregistry/DeviceRegistry.Management/discoveredAssets.tsp @@ -53,7 +53,7 @@ model DiscoveredAssetProperties { manufacturer?: string; @doc("Asset manufacturer URI.") - manufacturerUri?: url; + manufacturerUri?: string; @doc("Asset model name.") `model`?: string; diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/deviceregistry.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/deviceregistry.json index 9053d0fe125d..6cb46a8871bc 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/deviceregistry.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/deviceregistry.json @@ -201,11 +201,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Get_OperationStatus": { - "$ref": "./examples/Get_OperationStatus.json" - } } } }, @@ -1054,7 +1049,6 @@ }, "manufacturerUri": { "type": "string", - "format": "uri", "description": "Asset manufacturer URI." }, "model": { @@ -1208,7 +1202,6 @@ }, "manufacturerUri": { "type": "string", - "format": "uri", "description": "Asset manufacturer URI." }, "model": { diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/deviceregistry.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/deviceregistry.json index 168cf7565377..7f944d84ddaa 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/deviceregistry.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/deviceregistry.json @@ -382,11 +382,6 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Get_OperationStatus": { - "$ref": "./examples/Get_OperationStatus.json" - } } } }, @@ -2757,7 +2752,6 @@ }, "manufacturerUri": { "type": "string", - "format": "uri", "description": "Asset manufacturer URI." }, "model": { @@ -2978,7 +2972,6 @@ }, "manufacturerUri": { "type": "string", - "format": "uri", "description": "Asset manufacturer URI." }, "model": { @@ -3164,10 +3157,6 @@ } } }, - "Azure.Core.eTag": { - "type": "string", - "description": "The ETag (or entity tag) HTTP response header is an identifier for a specific version of a resource.\nIt lets caches be more efficient and save bandwidth, as a web server does not need to resend a full response if the content was not changed.\n\nIt is a string of ASCII characters placed between double quotes, like \"675af34563dc-tr34\"." - }, "BillingContainer": { "type": "object", "description": "billingContainer Model as Azure resource whose sole purpose is to keep track of billables resources under a subscription.", @@ -3178,7 +3167,7 @@ "x-ms-client-flatten": true }, "etag": { - "$ref": "#/definitions/Azure.Core.eTag", + "type": "string", "description": "Resource ETag", "readOnly": true } @@ -3550,7 +3539,6 @@ }, "manufacturerUri": { "type": "string", - "format": "uri", "description": "Asset manufacturer URI." }, "model": { @@ -3655,7 +3643,6 @@ }, "manufacturerUri": { "type": "string", - "format": "uri", "description": "Asset manufacturer URI." }, "model": { diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/deviceregistry.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/deviceregistry.json index 1d83929e0c8f..1998e8811bc7 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/deviceregistry.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/deviceregistry.json @@ -289,11 +289,6 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Get_OperationStatus": { - "$ref": "./examples/Get_OperationStatus.json" - } } } }, @@ -1193,7 +1188,6 @@ }, "manufacturerUri": { "type": "string", - "format": "uri", "description": "Asset manufacturer URI." }, "model": { @@ -1414,7 +1408,6 @@ }, "manufacturerUri": { "type": "string", - "format": "uri", "description": "Asset manufacturer URI." }, "model": { @@ -1570,10 +1563,6 @@ } } }, - "Azure.Core.eTag": { - "type": "string", - "description": "The ETag (or entity tag) HTTP response header is an identifier for a specific version of a resource.\nIt lets caches be more efficient and save bandwidth, as a web server does not need to resend a full response if the content was not changed.\n\nIt is a string of ASCII characters placed between double quotes, like \"675af34563dc-tr34\"." - }, "BillingContainer": { "type": "object", "description": "billingContainer Model as Azure resource whose sole purpose is to keep track of billables resources under a subscription.", @@ -1584,7 +1573,7 @@ "x-ms-client-flatten": true }, "etag": { - "$ref": "#/definitions/Azure.Core.eTag", + "type": "string", "description": "Resource ETag", "readOnly": true } From 7f09da0fe0659330ac897b9b3fbe2e70e1ea99af Mon Sep 17 00:00:00 2001 From: Arthur Ma Date: Wed, 11 Dec 2024 18:02:35 +0800 Subject: [PATCH 09/25] update --- .../deviceregistry/DeviceRegistry.Management/assets.tsp | 2 +- .../DeviceRegistry.Management/discoveredAssets.tsp | 2 +- .../preview/2023-11-01-preview/deviceregistry.json | 2 -- .../preview/2024-09-01-preview/deviceregistry.json | 4 ---- .../stable/2024-11-01/deviceregistry.json | 2 -- 5 files changed, 2 insertions(+), 10 deletions(-) diff --git a/specification/deviceregistry/DeviceRegistry.Management/assets.tsp b/specification/deviceregistry/DeviceRegistry.Management/assets.tsp index cb57ef566a0e..ffd77ae3ecd5 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/assets.tsp +++ b/specification/deviceregistry/DeviceRegistry.Management/assets.tsp @@ -90,7 +90,7 @@ model AssetProperties { softwareRevision?: string; @doc("Reference to the documentation.") - documentationUri?: url; + documentationUri?: string; @doc("Asset serial number.") serialNumber?: string; diff --git a/specification/deviceregistry/DeviceRegistry.Management/discoveredAssets.tsp b/specification/deviceregistry/DeviceRegistry.Management/discoveredAssets.tsp index 895e8cbb1829..c2e5f972ca26 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/discoveredAssets.tsp +++ b/specification/deviceregistry/DeviceRegistry.Management/discoveredAssets.tsp @@ -68,7 +68,7 @@ model DiscoveredAssetProperties { softwareRevision?: string; @doc("Reference to the documentation.") - documentationUri?: url; + documentationUri?: string; @doc("Asset serial number.") serialNumber?: string; diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/deviceregistry.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/deviceregistry.json index 6cb46a8871bc..17bf25478d2a 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/deviceregistry.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/deviceregistry.json @@ -1069,7 +1069,6 @@ }, "documentationUri": { "type": "string", - "format": "uri", "description": "Reference to the documentation." }, "serialNumber": { @@ -1222,7 +1221,6 @@ }, "documentationUri": { "type": "string", - "format": "uri", "description": "Reference to the documentation." }, "serialNumber": { diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/deviceregistry.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/deviceregistry.json index 7f944d84ddaa..9ced639fae99 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/deviceregistry.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/deviceregistry.json @@ -2772,7 +2772,6 @@ }, "documentationUri": { "type": "string", - "format": "uri", "description": "Reference to the documentation." }, "serialNumber": { @@ -2992,7 +2991,6 @@ }, "documentationUri": { "type": "string", - "format": "uri", "description": "Reference to the documentation." }, "serialNumber": { @@ -3559,7 +3557,6 @@ }, "documentationUri": { "type": "string", - "format": "uri", "description": "Reference to the documentation." }, "serialNumber": { @@ -3663,7 +3660,6 @@ }, "documentationUri": { "type": "string", - "format": "uri", "description": "Reference to the documentation." }, "serialNumber": { diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/deviceregistry.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/deviceregistry.json index 1998e8811bc7..90343c824e83 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/deviceregistry.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/deviceregistry.json @@ -1208,7 +1208,6 @@ }, "documentationUri": { "type": "string", - "format": "uri", "description": "Reference to the documentation." }, "serialNumber": { @@ -1428,7 +1427,6 @@ }, "documentationUri": { "type": "string", - "format": "uri", "description": "Reference to the documentation." }, "serialNumber": { From a9205fe8d4fcc8fa3bbe23914902f3f0a829d9c1 Mon Sep 17 00:00:00 2001 From: Arthur Ma Date: Wed, 11 Dec 2024 18:33:32 +0800 Subject: [PATCH 10/25] update --- .../Get_OperationStatus.json | 23 +++++++++++++++++++ .../Get_OperationStatus.json | 23 +++++++++++++++++++ .../2024-11-01/Get_OperationStatus.json | 23 +++++++++++++++++++ .../schemaRegistries.tsp | 2 +- .../2024-09-01-preview/deviceregistry.json | 1 - 5 files changed, 70 insertions(+), 2 deletions(-) create mode 100644 specification/deviceregistry/DeviceRegistry.Management/examples/2023-11-01-preview/Get_OperationStatus.json create mode 100644 specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Get_OperationStatus.json create mode 100644 specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Get_OperationStatus.json diff --git a/specification/deviceregistry/DeviceRegistry.Management/examples/2023-11-01-preview/Get_OperationStatus.json b/specification/deviceregistry/DeviceRegistry.Management/examples/2023-11-01-preview/Get_OperationStatus.json new file mode 100644 index 000000000000..f0cce6cc3d21 --- /dev/null +++ b/specification/deviceregistry/DeviceRegistry.Management/examples/2023-11-01-preview/Get_OperationStatus.json @@ -0,0 +1,23 @@ +{ + "title": "Get_OperationStatus", + "operationId": "OperationStatus__Get", + "description": "Get the status of an async operation", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "operationId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", + "location": "testLocation" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DeviceRegistry/locations/testLocation/operationStatuses/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", + "name": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", + "status": "Succeeded", + "percentComplete": 100, + "startTime": "2022-11-21T13:27:03.8980869Z", + "endTime": "2022-11-21T13:28:03.8980869Z" + } + } + } +} \ No newline at end of file diff --git a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Get_OperationStatus.json b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Get_OperationStatus.json new file mode 100644 index 000000000000..5a492e4fc514 --- /dev/null +++ b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Get_OperationStatus.json @@ -0,0 +1,23 @@ +{ + "title": "Get_OperationStatus", + "operationId": "OperationStatus__Get", + "description": "Get the status of an async operation", + "parameters": { + "api-version": "2024-09-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "operationId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", + "location": "testLocation" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DeviceRegistry/locations/testLocation/operationStatuses/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", + "name": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", + "status": "Succeeded", + "percentComplete": 100, + "startTime": "2022-11-21T13:27:03.8980869Z", + "endTime": "2022-11-21T13:28:03.8980869Z" + } + } + } +} \ No newline at end of file diff --git a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Get_OperationStatus.json b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Get_OperationStatus.json new file mode 100644 index 000000000000..dc1a8d2c3a4b --- /dev/null +++ b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Get_OperationStatus.json @@ -0,0 +1,23 @@ +{ + "title": "Get_OperationStatus", + "operationId": "OperationStatus__Get", + "description": "Get the status of an async operation", + "parameters": { + "api-version": "2024-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "operationId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", + "location": "testLocation" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DeviceRegistry/locations/testLocation/operationStatuses/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", + "name": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", + "status": "Succeeded", + "percentComplete": 100, + "startTime": "2022-11-21T13:27:03.8980869Z", + "endTime": "2022-11-21T13:28:03.8980869Z" + } + } + } +} diff --git a/specification/deviceregistry/DeviceRegistry.Management/schemaRegistries.tsp b/specification/deviceregistry/DeviceRegistry.Management/schemaRegistries.tsp index dba73ed0c2db..c2829fe04fc9 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/schemaRegistries.tsp +++ b/specification/deviceregistry/DeviceRegistry.Management/schemaRegistries.tsp @@ -51,7 +51,7 @@ model SchemaRegistryProperties { @doc("The Storage Account's Container URL where schemas will be stored.") @visibility("read", "create") - storageAccountContainerUrl: url; + storageAccountContainerUrl: string; @doc("Provisioning state of the resource.") @visibility("read") diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/deviceregistry.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/deviceregistry.json index 9ced639fae99..d81f5245d27e 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/deviceregistry.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/deviceregistry.json @@ -4114,7 +4114,6 @@ }, "storageAccountContainerUrl": { "type": "string", - "format": "uri", "description": "The Storage Account's Container URL where schemas will be stored.", "x-ms-mutability": [ "read", From f50dc6ab636edb13532a05ee77235fb692a4c325 Mon Sep 17 00:00:00 2001 From: Arthur Ma Date: Wed, 11 Dec 2024 19:01:53 +0800 Subject: [PATCH 11/25] update --- .../PlaywrightTesting.Management/tspconfig.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/playwrighttesting/PlaywrightTesting.Management/tspconfig.yaml b/specification/playwrighttesting/PlaywrightTesting.Management/tspconfig.yaml index fd95779476c6..70ea56495714 100644 --- a/specification/playwrighttesting/PlaywrightTesting.Management/tspconfig.yaml +++ b/specification/playwrighttesting/PlaywrightTesting.Management/tspconfig.yaml @@ -47,4 +47,4 @@ options: flavor: azure clear-output-folder: true use-write-core: true - namespace: "{package-dir}" \ No newline at end of file + namespace: "{package-dir}" From 2314303390c4ce46e7a502b82f98cdb3d17c11ce Mon Sep 17 00:00:00 2001 From: Arthur Ma Date: Wed, 11 Dec 2024 19:11:39 +0800 Subject: [PATCH 12/25] update --- .../examples/2023-11-01-preview/Get_OperationStatus.json | 2 +- .../examples/2024-09-01-preview/Get_OperationStatus.json | 1 - .../examples/2024-11-01/Get_OperationStatus.json | 2 +- .../preview/2023-11-01-preview/deviceregistry.json | 5 +++++ .../2023-11-01-preview/examples/Get_OperationStatus.json | 2 +- .../stable/2024-11-01/deviceregistry.json | 5 +++++ 6 files changed, 13 insertions(+), 4 deletions(-) diff --git a/specification/deviceregistry/DeviceRegistry.Management/examples/2023-11-01-preview/Get_OperationStatus.json b/specification/deviceregistry/DeviceRegistry.Management/examples/2023-11-01-preview/Get_OperationStatus.json index f0cce6cc3d21..26404d938422 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/examples/2023-11-01-preview/Get_OperationStatus.json +++ b/specification/deviceregistry/DeviceRegistry.Management/examples/2023-11-01-preview/Get_OperationStatus.json @@ -1,6 +1,6 @@ { "title": "Get_OperationStatus", - "operationId": "OperationStatus__Get", + "operationId": "OperationStatus_Get", "description": "Get the status of an async operation", "parameters": { "api-version": "2023-11-01-preview", diff --git a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Get_OperationStatus.json b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Get_OperationStatus.json index 5a492e4fc514..7f109d7342c3 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Get_OperationStatus.json +++ b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Get_OperationStatus.json @@ -1,6 +1,5 @@ { "title": "Get_OperationStatus", - "operationId": "OperationStatus__Get", "description": "Get the status of an async operation", "parameters": { "api-version": "2024-09-01-preview", diff --git a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Get_OperationStatus.json b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Get_OperationStatus.json index dc1a8d2c3a4b..21aa928fc8d9 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Get_OperationStatus.json +++ b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Get_OperationStatus.json @@ -1,6 +1,6 @@ { "title": "Get_OperationStatus", - "operationId": "OperationStatus__Get", + "operationId": "OperationStatus_Get", "description": "Get the status of an async operation", "parameters": { "api-version": "2024-11-01", diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/deviceregistry.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/deviceregistry.json index 17bf25478d2a..5deaf0af7915 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/deviceregistry.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/deviceregistry.json @@ -201,6 +201,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Get_OperationStatus": { + "$ref": "./examples/Get_OperationStatus.json" + } } } }, diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/examples/Get_OperationStatus.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/examples/Get_OperationStatus.json index 05e3059f8725..26404d938422 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/examples/Get_OperationStatus.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/examples/Get_OperationStatus.json @@ -20,4 +20,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/deviceregistry.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/deviceregistry.json index 90343c824e83..9864c4dc523c 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/deviceregistry.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/deviceregistry.json @@ -289,6 +289,11 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Get_OperationStatus": { + "$ref": "./examples/Get_OperationStatus.json" + } } } }, From be248e954b25d94b67cb51746ded79ac76cce782 Mon Sep 17 00:00:00 2001 From: Arthur Ma Date: Wed, 11 Dec 2024 19:23:51 +0800 Subject: [PATCH 13/25] update --- .../Get_OperationStatus.json | 2 +- .../Get_OperationStatus.json | 2 +- .../examples/Get_OperationStatus.json | 2 +- .../examples/Get_OperationStatus.json | 23 ------------------- 4 files changed, 3 insertions(+), 26 deletions(-) delete mode 100644 specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Get_OperationStatus.json diff --git a/specification/deviceregistry/DeviceRegistry.Management/examples/2023-11-01-preview/Get_OperationStatus.json b/specification/deviceregistry/DeviceRegistry.Management/examples/2023-11-01-preview/Get_OperationStatus.json index 26404d938422..05e3059f8725 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/examples/2023-11-01-preview/Get_OperationStatus.json +++ b/specification/deviceregistry/DeviceRegistry.Management/examples/2023-11-01-preview/Get_OperationStatus.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Get_OperationStatus.json b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Get_OperationStatus.json index 7f109d7342c3..8376dd1e864b 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Get_OperationStatus.json +++ b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Get_OperationStatus.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/examples/Get_OperationStatus.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/examples/Get_OperationStatus.json index 26404d938422..05e3059f8725 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/examples/Get_OperationStatus.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/examples/Get_OperationStatus.json @@ -20,4 +20,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Get_OperationStatus.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Get_OperationStatus.json deleted file mode 100644 index d3598d233dbb..000000000000 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Get_OperationStatus.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "title": "Get_OperationStatus", - "operationId": "OperationStatus_Get", - "description": "Get the status of an async operation", - "parameters": { - "api-version": "2024-09-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "operationId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", - "location": "testLocation" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DeviceRegistry/locations/testLocation/operationStatuses/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", - "name": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", - "status": "Succeeded", - "percentComplete": 100, - "startTime": "2022-11-21T13:27:03.8980869Z", - "endTime": "2022-11-21T13:28:03.8980869Z" - } - } - } -} From 90e2e964465aa26c669d7eb7de5a26a747350e92 Mon Sep 17 00:00:00 2001 From: Arthur Ma Date: Fri, 13 Dec 2024 17:07:01 +0800 Subject: [PATCH 14/25] update --- ... Create_Asset_WithDiscoveredAssetRef.json} | 2 +- ... => Create_Asset_WithExternalAssetId.json} | 2 +- .../Create_Asset_WithoutDisplayName.json} | 2 +- .../Create_Asset_WithoutExternalAssetId.json} | 2 +- .../Get_OperationStatus.json | 1 + .../Create_Asset_WithDiscoveredAssetRef.json} | 2 +- ... => Create_Asset_WithExternalAssetId.json} | 2 +- .../Create_Asset_WithoutDisplayName.json} | 2 +- .../Create_Asset_WithoutExternalAssetId.json} | 2 +- .../2024-09-01-preview/deviceregistry.json | 21 ++++++++++------- ... Create_Asset_WithDiscoveredAssetRef.json} | 2 +- ... => Create_Asset_WithExternalAssetId.json} | 2 +- .../Create_Asset_WithoutDisplayName.json} | 2 +- .../Create_Asset_WithoutExternalAssetId.json} | 2 +- .../examples/Get_OperationStatus.json | 23 +++++++++++++++++++ .../stable/2024-11-01/deviceregistry.json | 16 ++++++------- .../Create_Asset_WithDiscoveredAssetRef.json} | 2 +- ... => Create_Asset_WithExternalAssetId.json} | 2 +- .../Create_Asset_WithoutDisplayName.json} | 2 +- .../Create_Asset_WithoutExternalAssetId.json} | 2 +- 20 files changed, 61 insertions(+), 32 deletions(-) rename specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/{Create_Asset_With_DiscoveredAssetRef.json => Create_Asset_WithDiscoveredAssetRef.json} (99%) rename specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/{Create_Asset_With_ExternalAssetId.json => Create_Asset_WithExternalAssetId.json} (99%) rename specification/deviceregistry/{resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_Without_DisplayName.json => DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_WithoutDisplayName.json} (99%) rename specification/deviceregistry/{resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_Without_ExternalAssetId.json => DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_WithoutExternalAssetId.json} (99%) rename specification/deviceregistry/{resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_With_DiscoveredAssetRef.json => DeviceRegistry.Management/examples/2024-11-01/Create_Asset_WithDiscoveredAssetRef.json} (99%) rename specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/{Create_Asset_With_ExternalAssetId.json => Create_Asset_WithExternalAssetId.json} (99%) rename specification/deviceregistry/{resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_Without_DisplayName.json => DeviceRegistry.Management/examples/2024-11-01/Create_Asset_WithoutDisplayName.json} (99%) rename specification/deviceregistry/{resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_Without_ExternalAssetId.json => DeviceRegistry.Management/examples/2024-11-01/Create_Asset_WithoutExternalAssetId.json} (99%) rename specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/{Create_Asset_With_DiscoveredAssetRef.json => Create_Asset_WithDiscoveredAssetRef.json} (99%) rename specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/{Create_Asset_With_ExternalAssetId.json => Create_Asset_WithExternalAssetId.json} (99%) rename specification/deviceregistry/{DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_Without_DisplayName.json => resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_WithoutDisplayName.json} (99%) rename specification/deviceregistry/{DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_Without_ExternalAssetId.json => resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_WithoutExternalAssetId.json} (99%) create mode 100644 specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Get_OperationStatus.json rename specification/deviceregistry/{DeviceRegistry.Management/examples/2024-11-01/Create_Asset_With_DiscoveredAssetRef.json => resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_WithDiscoveredAssetRef.json} (99%) rename specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/{Create_Asset_With_ExternalAssetId.json => Create_Asset_WithExternalAssetId.json} (99%) rename specification/deviceregistry/{DeviceRegistry.Management/examples/2024-11-01/Create_Asset_Without_DisplayName.json => resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_WithoutDisplayName.json} (99%) rename specification/deviceregistry/{DeviceRegistry.Management/examples/2024-11-01/Create_Asset_Without_ExternalAssetId.json => resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_WithoutExternalAssetId.json} (99%) diff --git a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_With_DiscoveredAssetRef.json b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_WithDiscoveredAssetRef.json similarity index 99% rename from specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_With_DiscoveredAssetRef.json rename to specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_WithDiscoveredAssetRef.json index 4da674cb90d5..47ea47f2ddde 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_With_DiscoveredAssetRef.json +++ b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_WithDiscoveredAssetRef.json @@ -1,5 +1,5 @@ { - "title": "Create_Asset_With_DiscoveredAssetRefs", + "title": "Create_Asset_WithDiscoveredAssetRefs", "operationId": "Assets_CreateOrReplace", "description": "Create an Asset With Discovered Asset References", "parameters": { diff --git a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_With_ExternalAssetId.json b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_WithExternalAssetId.json similarity index 99% rename from specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_With_ExternalAssetId.json rename to specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_WithExternalAssetId.json index 5e94e21e83dc..ab367763a09d 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_With_ExternalAssetId.json +++ b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_WithExternalAssetId.json @@ -1,5 +1,5 @@ { - "title": "Create_Asset_With_ExternalAssetId", + "title": "Create_Asset_WithExternalAssetId", "operationId": "Assets_CreateOrReplace", "description": "Create an Asset With External Asset Id", "parameters": { diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_Without_DisplayName.json b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_WithoutDisplayName.json similarity index 99% rename from specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_Without_DisplayName.json rename to specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_WithoutDisplayName.json index b4a83a2e58cf..303873708f17 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_Without_DisplayName.json +++ b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_WithoutDisplayName.json @@ -1,5 +1,5 @@ { - "title": "Create_Asset_Without_DisplayName", + "title": "Create_Asset_WithoutDisplayName", "operationId": "Assets_CreateOrReplace", "description": "Create an Asset Without Display Name", "parameters": { diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_Without_ExternalAssetId.json b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_WithoutExternalAssetId.json similarity index 99% rename from specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_Without_ExternalAssetId.json rename to specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_WithoutExternalAssetId.json index 004be5ba7a88..a2d6c4b2b6e0 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_Without_ExternalAssetId.json +++ b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_WithoutExternalAssetId.json @@ -1,5 +1,5 @@ { - "title": "Create_Asset_Without_ExternalAssetId", + "title": "Create_Asset_WithoutExternalAssetId", "operationId": "Assets_CreateOrReplace", "description": "Create an Asset Without External Asset Id", "parameters": { diff --git a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Get_OperationStatus.json b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Get_OperationStatus.json index 8376dd1e864b..d3598d233dbb 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Get_OperationStatus.json +++ b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Get_OperationStatus.json @@ -1,5 +1,6 @@ { "title": "Get_OperationStatus", + "operationId": "OperationStatus_Get", "description": "Get the status of an async operation", "parameters": { "api-version": "2024-09-01-preview", diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_With_DiscoveredAssetRef.json b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_WithDiscoveredAssetRef.json similarity index 99% rename from specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_With_DiscoveredAssetRef.json rename to specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_WithDiscoveredAssetRef.json index d7c5eb0850f0..8fe2c194c3ca 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_With_DiscoveredAssetRef.json +++ b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_WithDiscoveredAssetRef.json @@ -1,5 +1,5 @@ { - "title": "Create_Asset_With_DiscoveredAssetRefs", + "title": "Create_Asset_WithDiscoveredAssetRefs", "operationId": "Assets_CreateOrReplace", "description": "Create an Asset With Discovered Asset References", "parameters": { diff --git a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_With_ExternalAssetId.json b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_WithExternalAssetId.json similarity index 99% rename from specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_With_ExternalAssetId.json rename to specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_WithExternalAssetId.json index 610f99ea8d96..3c006ec42077 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_With_ExternalAssetId.json +++ b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_WithExternalAssetId.json @@ -1,5 +1,5 @@ { - "title": "Create_Asset_With_ExternalAssetId", + "title": "Create_Asset_WithExternalAssetId", "operationId": "Assets_CreateOrReplace", "description": "Create an Asset With External Asset Id", "parameters": { diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_Without_DisplayName.json b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_WithoutDisplayName.json similarity index 99% rename from specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_Without_DisplayName.json rename to specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_WithoutDisplayName.json index b652eec54714..1113f917fb2f 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_Without_DisplayName.json +++ b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_WithoutDisplayName.json @@ -1,5 +1,5 @@ { - "title": "Create_Asset_Without_DisplayName", + "title": "Create_Asset_WithoutDisplayName", "operationId": "Assets_CreateOrReplace", "description": "Create an Asset Without Display Name", "parameters": { diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_Without_ExternalAssetId.json b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_WithoutExternalAssetId.json similarity index 99% rename from specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_Without_ExternalAssetId.json rename to specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_WithoutExternalAssetId.json index 06eb23179e1a..be9d6a274d8b 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_Without_ExternalAssetId.json +++ b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_WithoutExternalAssetId.json @@ -1,5 +1,5 @@ { - "title": "Create_Asset_Without_ExternalAssetId", + "title": "Create_Asset_WithoutExternalAssetId", "operationId": "Assets_CreateOrReplace", "description": "Create an Asset Without External Asset Id", "parameters": { diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/deviceregistry.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/deviceregistry.json index d81f5245d27e..68d2b64ec37c 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/deviceregistry.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/deviceregistry.json @@ -382,6 +382,11 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Get_OperationStatus": { + "$ref": "./examples/Get_OperationStatus.json" + } } } }, @@ -895,17 +900,17 @@ } }, "x-ms-examples": { - "Create_Asset_With_DiscoveredAssetRefs": { - "$ref": "./examples/Create_Asset_With_DiscoveredAssetRef.json" + "Create_Asset_WithDiscoveredAssetRefs": { + "$ref": "./examples/Create_Asset_WithDiscoveredAssetRef.json" }, - "Create_Asset_With_ExternalAssetId": { - "$ref": "./examples/Create_Asset_With_ExternalAssetId.json" + "Create_Asset_WithExternalAssetId": { + "$ref": "./examples/Create_Asset_WithExternalAssetId.json" }, - "Create_Asset_Without_DisplayName": { - "$ref": "./examples/Create_Asset_Without_DisplayName.json" + "Create_Asset_WithoutDisplayName": { + "$ref": "./examples/Create_Asset_WithoutDisplayName.json" }, - "Create_Asset_Without_ExternalAssetId": { - "$ref": "./examples/Create_Asset_Without_ExternalAssetId.json" + "Create_Asset_WithoutExternalAssetId": { + "$ref": "./examples/Create_Asset_WithoutExternalAssetId.json" } }, "x-ms-long-running-operation-options": { diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_With_DiscoveredAssetRef.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_WithDiscoveredAssetRef.json similarity index 99% rename from specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_With_DiscoveredAssetRef.json rename to specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_WithDiscoveredAssetRef.json index 4da674cb90d5..47ea47f2ddde 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_With_DiscoveredAssetRef.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_WithDiscoveredAssetRef.json @@ -1,5 +1,5 @@ { - "title": "Create_Asset_With_DiscoveredAssetRefs", + "title": "Create_Asset_WithDiscoveredAssetRefs", "operationId": "Assets_CreateOrReplace", "description": "Create an Asset With Discovered Asset References", "parameters": { diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_With_ExternalAssetId.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_WithExternalAssetId.json similarity index 99% rename from specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_With_ExternalAssetId.json rename to specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_WithExternalAssetId.json index 5e94e21e83dc..ab367763a09d 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_With_ExternalAssetId.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_WithExternalAssetId.json @@ -1,5 +1,5 @@ { - "title": "Create_Asset_With_ExternalAssetId", + "title": "Create_Asset_WithExternalAssetId", "operationId": "Assets_CreateOrReplace", "description": "Create an Asset With External Asset Id", "parameters": { diff --git a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_Without_DisplayName.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_WithoutDisplayName.json similarity index 99% rename from specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_Without_DisplayName.json rename to specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_WithoutDisplayName.json index b4a83a2e58cf..303873708f17 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_Without_DisplayName.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_WithoutDisplayName.json @@ -1,5 +1,5 @@ { - "title": "Create_Asset_Without_DisplayName", + "title": "Create_Asset_WithoutDisplayName", "operationId": "Assets_CreateOrReplace", "description": "Create an Asset Without Display Name", "parameters": { diff --git a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_Without_ExternalAssetId.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_WithoutExternalAssetId.json similarity index 99% rename from specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_Without_ExternalAssetId.json rename to specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_WithoutExternalAssetId.json index 004be5ba7a88..a2d6c4b2b6e0 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_Without_ExternalAssetId.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_WithoutExternalAssetId.json @@ -1,5 +1,5 @@ { - "title": "Create_Asset_Without_ExternalAssetId", + "title": "Create_Asset_WithoutExternalAssetId", "operationId": "Assets_CreateOrReplace", "description": "Create an Asset Without External Asset Id", "parameters": { diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Get_OperationStatus.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Get_OperationStatus.json new file mode 100644 index 000000000000..d3598d233dbb --- /dev/null +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Get_OperationStatus.json @@ -0,0 +1,23 @@ +{ + "title": "Get_OperationStatus", + "operationId": "OperationStatus_Get", + "description": "Get the status of an async operation", + "parameters": { + "api-version": "2024-09-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "operationId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", + "location": "testLocation" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DeviceRegistry/locations/testLocation/operationStatuses/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", + "name": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", + "status": "Succeeded", + "percentComplete": 100, + "startTime": "2022-11-21T13:27:03.8980869Z", + "endTime": "2022-11-21T13:28:03.8980869Z" + } + } + } +} diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/deviceregistry.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/deviceregistry.json index 9864c4dc523c..9ed61e9fb00d 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/deviceregistry.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/deviceregistry.json @@ -768,17 +768,17 @@ } }, "x-ms-examples": { - "Create_Asset_With_DiscoveredAssetRefs": { - "$ref": "./examples/Create_Asset_With_DiscoveredAssetRef.json" + "Create_Asset_WithDiscoveredAssetRefs": { + "$ref": "./examples/Create_Asset_WithDiscoveredAssetRef.json" }, - "Create_Asset_With_ExternalAssetId": { - "$ref": "./examples/Create_Asset_With_ExternalAssetId.json" + "Create_Asset_WithExternalAssetId": { + "$ref": "./examples/Create_Asset_WithExternalAssetId.json" }, - "Create_Asset_Without_DisplayName": { - "$ref": "./examples/Create_Asset_Without_DisplayName.json" + "Create_Asset_WithoutDisplayName": { + "$ref": "./examples/Create_Asset_WithoutDisplayName.json" }, - "Create_Asset_Without_ExternalAssetId": { - "$ref": "./examples/Create_Asset_Without_ExternalAssetId.json" + "Create_Asset_WithoutExternalAssetId": { + "$ref": "./examples/Create_Asset_WithoutExternalAssetId.json" } }, "x-ms-long-running-operation-options": { diff --git a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_With_DiscoveredAssetRef.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_WithDiscoveredAssetRef.json similarity index 99% rename from specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_With_DiscoveredAssetRef.json rename to specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_WithDiscoveredAssetRef.json index d7c5eb0850f0..8fe2c194c3ca 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_With_DiscoveredAssetRef.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_WithDiscoveredAssetRef.json @@ -1,5 +1,5 @@ { - "title": "Create_Asset_With_DiscoveredAssetRefs", + "title": "Create_Asset_WithDiscoveredAssetRefs", "operationId": "Assets_CreateOrReplace", "description": "Create an Asset With Discovered Asset References", "parameters": { diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_With_ExternalAssetId.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_WithExternalAssetId.json similarity index 99% rename from specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_With_ExternalAssetId.json rename to specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_WithExternalAssetId.json index 610f99ea8d96..3c006ec42077 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_With_ExternalAssetId.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_WithExternalAssetId.json @@ -1,5 +1,5 @@ { - "title": "Create_Asset_With_ExternalAssetId", + "title": "Create_Asset_WithExternalAssetId", "operationId": "Assets_CreateOrReplace", "description": "Create an Asset With External Asset Id", "parameters": { diff --git a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_Without_DisplayName.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_WithoutDisplayName.json similarity index 99% rename from specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_Without_DisplayName.json rename to specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_WithoutDisplayName.json index b652eec54714..1113f917fb2f 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_Without_DisplayName.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_WithoutDisplayName.json @@ -1,5 +1,5 @@ { - "title": "Create_Asset_Without_DisplayName", + "title": "Create_Asset_WithoutDisplayName", "operationId": "Assets_CreateOrReplace", "description": "Create an Asset Without Display Name", "parameters": { diff --git a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_Without_ExternalAssetId.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_WithoutExternalAssetId.json similarity index 99% rename from specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_Without_ExternalAssetId.json rename to specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_WithoutExternalAssetId.json index 06eb23179e1a..be9d6a274d8b 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_Without_ExternalAssetId.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_WithoutExternalAssetId.json @@ -1,5 +1,5 @@ { - "title": "Create_Asset_Without_ExternalAssetId", + "title": "Create_Asset_WithoutExternalAssetId", "operationId": "Assets_CreateOrReplace", "description": "Create an Asset Without External Asset Id", "parameters": { From ae079c6ea7b9ff8fa8dbb5b218ea0ece35745e79 Mon Sep 17 00:00:00 2001 From: Arthur Ma Date: Fri, 13 Dec 2024 17:09:41 +0800 Subject: [PATCH 15/25] update --- .../deviceregistry/DeviceRegistry.Management/tspconfig.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml b/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml index bcef0bf533b4..bbdc0be07fe5 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml +++ b/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml @@ -45,4 +45,4 @@ options: api-version: "2024-09-01-preview" linter: extends: - - "@azure-tools/typespec-azure-rulesets/resource-manager" \ No newline at end of file + - "@azure-tools/typespec-azure-rulesets/resource-manager" From 636a9b3fd4d10d5cead26b1920b59a38bdabc024 Mon Sep 17 00:00:00 2001 From: Arthur Ma Date: Mon, 16 Dec 2024 16:03:33 +0800 Subject: [PATCH 16/25] Temporary disable sampel generation. --- .../deviceregistry/DeviceRegistry.Management/tspconfig.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml b/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml index bbdc0be07fe5..ace4ebc7e1e4 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml +++ b/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml @@ -20,6 +20,8 @@ options: use-write-core: true namespace: "{package-dir}" api-version: "2024-09-01-preview" + # Disable generate samples untile CodGen support remove operation https://github.com/Azure/autorest.csharp/issues/5191 + generate-sample-project: false "@azure-tools/typespec-java": package-dir: "azure-resourcemanager-deviceregistry" flavor: "azure" From caecf72221b0acfe7c15d974505824198c83d359 Mon Sep 17 00:00:00 2001 From: Arthur Ma Date: Mon, 16 Dec 2024 17:55:10 +0800 Subject: [PATCH 17/25] update --- .../deviceregistry/DeviceRegistry.Management/tspconfig.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml b/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml index ace4ebc7e1e4..b80adfef5d72 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml +++ b/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml @@ -20,7 +20,7 @@ options: use-write-core: true namespace: "{package-dir}" api-version: "2024-09-01-preview" - # Disable generate samples untile CodGen support remove operation https://github.com/Azure/autorest.csharp/issues/5191 + # Disable generate samples until CodGen support remove operation https://github.com/Azure/autorest.csharp/issues/5191 generate-sample-project: false "@azure-tools/typespec-java": package-dir: "azure-resourcemanager-deviceregistry" From 579a37cd08d085ccdb5afc6ac9920b10590be44c Mon Sep 17 00:00:00 2001 From: Arthur Ma Date: Tue, 14 Jan 2025 17:37:30 +0800 Subject: [PATCH 18/25] revert sample changes --- ...=> Create_Asset_With_DiscoveredAssetRef.json} | 2 +- ...on => Create_Asset_With_ExternalAssetId.json} | 2 +- .../Create_Asset_Without_DisplayName.json} | 2 +- .../Create_Asset_Without_ExternalAssetId.json} | 2 +- .../Create_Asset_With_DiscoveredAssetRef.json} | 2 +- ...on => Create_Asset_With_ExternalAssetId.json} | 2 +- .../Create_Asset_Without_DisplayName.json} | 2 +- .../Create_Asset_Without_ExternalAssetId.json} | 2 +- .../2024-09-01-preview/deviceregistry.json | 16 ++++++++-------- ...=> Create_Asset_With_DiscoveredAssetRef.json} | 2 +- ...on => Create_Asset_With_ExternalAssetId.json} | 2 +- .../Create_Asset_Without_DisplayName.json} | 2 +- .../Create_Asset_Without_ExternalAssetId.json} | 2 +- .../stable/2024-11-01/deviceregistry.json | 16 ++++++++-------- .../Create_Asset_With_DiscoveredAssetRef.json} | 2 +- ...on => Create_Asset_With_ExternalAssetId.json} | 2 +- .../Create_Asset_Without_DisplayName.json} | 2 +- .../Create_Asset_Without_ExternalAssetId.json} | 2 +- 18 files changed, 32 insertions(+), 32 deletions(-) rename specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/{Create_Asset_WithDiscoveredAssetRef.json => Create_Asset_With_DiscoveredAssetRef.json} (99%) rename specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/{Create_Asset_WithExternalAssetId.json => Create_Asset_With_ExternalAssetId.json} (99%) rename specification/deviceregistry/{resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_WithoutDisplayName.json => DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_Without_DisplayName.json} (99%) rename specification/deviceregistry/{resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_WithoutExternalAssetId.json => DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_Without_ExternalAssetId.json} (99%) rename specification/deviceregistry/{resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_WithDiscoveredAssetRef.json => DeviceRegistry.Management/examples/2024-11-01/Create_Asset_With_DiscoveredAssetRef.json} (99%) rename specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/{Create_Asset_WithExternalAssetId.json => Create_Asset_With_ExternalAssetId.json} (99%) rename specification/deviceregistry/{resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_WithoutDisplayName.json => DeviceRegistry.Management/examples/2024-11-01/Create_Asset_Without_DisplayName.json} (99%) rename specification/deviceregistry/{resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_WithoutExternalAssetId.json => DeviceRegistry.Management/examples/2024-11-01/Create_Asset_Without_ExternalAssetId.json} (99%) rename specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/{Create_Asset_WithDiscoveredAssetRef.json => Create_Asset_With_DiscoveredAssetRef.json} (99%) rename specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/{Create_Asset_WithExternalAssetId.json => Create_Asset_With_ExternalAssetId.json} (99%) rename specification/deviceregistry/{DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_WithoutDisplayName.json => resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_Without_DisplayName.json} (99%) rename specification/deviceregistry/{DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_WithoutExternalAssetId.json => resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_Without_ExternalAssetId.json} (99%) rename specification/deviceregistry/{DeviceRegistry.Management/examples/2024-11-01/Create_Asset_WithDiscoveredAssetRef.json => resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_With_DiscoveredAssetRef.json} (99%) rename specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/{Create_Asset_WithExternalAssetId.json => Create_Asset_With_ExternalAssetId.json} (99%) rename specification/deviceregistry/{DeviceRegistry.Management/examples/2024-11-01/Create_Asset_WithoutDisplayName.json => resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_Without_DisplayName.json} (99%) rename specification/deviceregistry/{DeviceRegistry.Management/examples/2024-11-01/Create_Asset_WithoutExternalAssetId.json => resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_Without_ExternalAssetId.json} (99%) diff --git a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_WithDiscoveredAssetRef.json b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_With_DiscoveredAssetRef.json similarity index 99% rename from specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_WithDiscoveredAssetRef.json rename to specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_With_DiscoveredAssetRef.json index 47ea47f2ddde..4da674cb90d5 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_WithDiscoveredAssetRef.json +++ b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_With_DiscoveredAssetRef.json @@ -1,5 +1,5 @@ { - "title": "Create_Asset_WithDiscoveredAssetRefs", + "title": "Create_Asset_With_DiscoveredAssetRefs", "operationId": "Assets_CreateOrReplace", "description": "Create an Asset With Discovered Asset References", "parameters": { diff --git a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_WithExternalAssetId.json b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_With_ExternalAssetId.json similarity index 99% rename from specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_WithExternalAssetId.json rename to specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_With_ExternalAssetId.json index ab367763a09d..5e94e21e83dc 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_WithExternalAssetId.json +++ b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_With_ExternalAssetId.json @@ -1,5 +1,5 @@ { - "title": "Create_Asset_WithExternalAssetId", + "title": "Create_Asset_With_ExternalAssetId", "operationId": "Assets_CreateOrReplace", "description": "Create an Asset With External Asset Id", "parameters": { diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_WithoutDisplayName.json b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_Without_DisplayName.json similarity index 99% rename from specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_WithoutDisplayName.json rename to specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_Without_DisplayName.json index 303873708f17..b4a83a2e58cf 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_WithoutDisplayName.json +++ b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_Without_DisplayName.json @@ -1,5 +1,5 @@ { - "title": "Create_Asset_WithoutDisplayName", + "title": "Create_Asset_Without_DisplayName", "operationId": "Assets_CreateOrReplace", "description": "Create an Asset Without Display Name", "parameters": { diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_WithoutExternalAssetId.json b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_Without_ExternalAssetId.json similarity index 99% rename from specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_WithoutExternalAssetId.json rename to specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_Without_ExternalAssetId.json index a2d6c4b2b6e0..004be5ba7a88 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_WithoutExternalAssetId.json +++ b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_Without_ExternalAssetId.json @@ -1,5 +1,5 @@ { - "title": "Create_Asset_WithoutExternalAssetId", + "title": "Create_Asset_Without_ExternalAssetId", "operationId": "Assets_CreateOrReplace", "description": "Create an Asset Without External Asset Id", "parameters": { diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_WithDiscoveredAssetRef.json b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_With_DiscoveredAssetRef.json similarity index 99% rename from specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_WithDiscoveredAssetRef.json rename to specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_With_DiscoveredAssetRef.json index 8fe2c194c3ca..d7c5eb0850f0 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_WithDiscoveredAssetRef.json +++ b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_With_DiscoveredAssetRef.json @@ -1,5 +1,5 @@ { - "title": "Create_Asset_WithDiscoveredAssetRefs", + "title": "Create_Asset_With_DiscoveredAssetRefs", "operationId": "Assets_CreateOrReplace", "description": "Create an Asset With Discovered Asset References", "parameters": { diff --git a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_WithExternalAssetId.json b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_With_ExternalAssetId.json similarity index 99% rename from specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_WithExternalAssetId.json rename to specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_With_ExternalAssetId.json index 3c006ec42077..610f99ea8d96 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_WithExternalAssetId.json +++ b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_With_ExternalAssetId.json @@ -1,5 +1,5 @@ { - "title": "Create_Asset_WithExternalAssetId", + "title": "Create_Asset_With_ExternalAssetId", "operationId": "Assets_CreateOrReplace", "description": "Create an Asset With External Asset Id", "parameters": { diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_WithoutDisplayName.json b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_Without_DisplayName.json similarity index 99% rename from specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_WithoutDisplayName.json rename to specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_Without_DisplayName.json index 1113f917fb2f..b652eec54714 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_WithoutDisplayName.json +++ b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_Without_DisplayName.json @@ -1,5 +1,5 @@ { - "title": "Create_Asset_WithoutDisplayName", + "title": "Create_Asset_Without_DisplayName", "operationId": "Assets_CreateOrReplace", "description": "Create an Asset Without Display Name", "parameters": { diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_WithoutExternalAssetId.json b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_Without_ExternalAssetId.json similarity index 99% rename from specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_WithoutExternalAssetId.json rename to specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_Without_ExternalAssetId.json index be9d6a274d8b..06eb23179e1a 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_WithoutExternalAssetId.json +++ b/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_Without_ExternalAssetId.json @@ -1,5 +1,5 @@ { - "title": "Create_Asset_WithoutExternalAssetId", + "title": "Create_Asset_Without_ExternalAssetId", "operationId": "Assets_CreateOrReplace", "description": "Create an Asset Without External Asset Id", "parameters": { diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/deviceregistry.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/deviceregistry.json index 68d2b64ec37c..3a4b127055f5 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/deviceregistry.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/deviceregistry.json @@ -900,17 +900,17 @@ } }, "x-ms-examples": { - "Create_Asset_WithDiscoveredAssetRefs": { - "$ref": "./examples/Create_Asset_WithDiscoveredAssetRef.json" + "Create_Asset_With_DiscoveredAssetRefs": { + "$ref": "./examples/Create_Asset_With_DiscoveredAssetRef.json" }, - "Create_Asset_WithExternalAssetId": { - "$ref": "./examples/Create_Asset_WithExternalAssetId.json" + "Create_Asset_With_ExternalAssetId": { + "$ref": "./examples/Create_Asset_With_ExternalAssetId.json" }, - "Create_Asset_WithoutDisplayName": { - "$ref": "./examples/Create_Asset_WithoutDisplayName.json" + "Create_Asset_Without_DisplayName": { + "$ref": "./examples/Create_Asset_Without_DisplayName.json" }, - "Create_Asset_WithoutExternalAssetId": { - "$ref": "./examples/Create_Asset_WithoutExternalAssetId.json" + "Create_Asset_Without_ExternalAssetId": { + "$ref": "./examples/Create_Asset_Without_ExternalAssetId.json" } }, "x-ms-long-running-operation-options": { diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_WithDiscoveredAssetRef.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_With_DiscoveredAssetRef.json similarity index 99% rename from specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_WithDiscoveredAssetRef.json rename to specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_With_DiscoveredAssetRef.json index 47ea47f2ddde..4da674cb90d5 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_WithDiscoveredAssetRef.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_With_DiscoveredAssetRef.json @@ -1,5 +1,5 @@ { - "title": "Create_Asset_WithDiscoveredAssetRefs", + "title": "Create_Asset_With_DiscoveredAssetRefs", "operationId": "Assets_CreateOrReplace", "description": "Create an Asset With Discovered Asset References", "parameters": { diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_WithExternalAssetId.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_With_ExternalAssetId.json similarity index 99% rename from specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_WithExternalAssetId.json rename to specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_With_ExternalAssetId.json index ab367763a09d..5e94e21e83dc 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_WithExternalAssetId.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_With_ExternalAssetId.json @@ -1,5 +1,5 @@ { - "title": "Create_Asset_WithExternalAssetId", + "title": "Create_Asset_With_ExternalAssetId", "operationId": "Assets_CreateOrReplace", "description": "Create an Asset With External Asset Id", "parameters": { diff --git a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_WithoutDisplayName.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_Without_DisplayName.json similarity index 99% rename from specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_WithoutDisplayName.json rename to specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_Without_DisplayName.json index 303873708f17..b4a83a2e58cf 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_WithoutDisplayName.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_Without_DisplayName.json @@ -1,5 +1,5 @@ { - "title": "Create_Asset_WithoutDisplayName", + "title": "Create_Asset_Without_DisplayName", "operationId": "Assets_CreateOrReplace", "description": "Create an Asset Without Display Name", "parameters": { diff --git a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_WithoutExternalAssetId.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_Without_ExternalAssetId.json similarity index 99% rename from specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_WithoutExternalAssetId.json rename to specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_Without_ExternalAssetId.json index a2d6c4b2b6e0..004be5ba7a88 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-09-01-preview/Create_Asset_WithoutExternalAssetId.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2024-09-01-preview/examples/Create_Asset_Without_ExternalAssetId.json @@ -1,5 +1,5 @@ { - "title": "Create_Asset_WithoutExternalAssetId", + "title": "Create_Asset_Without_ExternalAssetId", "operationId": "Assets_CreateOrReplace", "description": "Create an Asset Without External Asset Id", "parameters": { diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/deviceregistry.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/deviceregistry.json index 9ed61e9fb00d..9864c4dc523c 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/deviceregistry.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/deviceregistry.json @@ -768,17 +768,17 @@ } }, "x-ms-examples": { - "Create_Asset_WithDiscoveredAssetRefs": { - "$ref": "./examples/Create_Asset_WithDiscoveredAssetRef.json" + "Create_Asset_With_DiscoveredAssetRefs": { + "$ref": "./examples/Create_Asset_With_DiscoveredAssetRef.json" }, - "Create_Asset_WithExternalAssetId": { - "$ref": "./examples/Create_Asset_WithExternalAssetId.json" + "Create_Asset_With_ExternalAssetId": { + "$ref": "./examples/Create_Asset_With_ExternalAssetId.json" }, - "Create_Asset_WithoutDisplayName": { - "$ref": "./examples/Create_Asset_WithoutDisplayName.json" + "Create_Asset_Without_DisplayName": { + "$ref": "./examples/Create_Asset_Without_DisplayName.json" }, - "Create_Asset_WithoutExternalAssetId": { - "$ref": "./examples/Create_Asset_WithoutExternalAssetId.json" + "Create_Asset_Without_ExternalAssetId": { + "$ref": "./examples/Create_Asset_Without_ExternalAssetId.json" } }, "x-ms-long-running-operation-options": { diff --git a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_WithDiscoveredAssetRef.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_With_DiscoveredAssetRef.json similarity index 99% rename from specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_WithDiscoveredAssetRef.json rename to specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_With_DiscoveredAssetRef.json index 8fe2c194c3ca..d7c5eb0850f0 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_WithDiscoveredAssetRef.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_With_DiscoveredAssetRef.json @@ -1,5 +1,5 @@ { - "title": "Create_Asset_WithDiscoveredAssetRefs", + "title": "Create_Asset_With_DiscoveredAssetRefs", "operationId": "Assets_CreateOrReplace", "description": "Create an Asset With Discovered Asset References", "parameters": { diff --git a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_WithExternalAssetId.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_With_ExternalAssetId.json similarity index 99% rename from specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_WithExternalAssetId.json rename to specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_With_ExternalAssetId.json index 3c006ec42077..610f99ea8d96 100644 --- a/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_WithExternalAssetId.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_With_ExternalAssetId.json @@ -1,5 +1,5 @@ { - "title": "Create_Asset_WithExternalAssetId", + "title": "Create_Asset_With_ExternalAssetId", "operationId": "Assets_CreateOrReplace", "description": "Create an Asset With External Asset Id", "parameters": { diff --git a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_WithoutDisplayName.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_Without_DisplayName.json similarity index 99% rename from specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_WithoutDisplayName.json rename to specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_Without_DisplayName.json index 1113f917fb2f..b652eec54714 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_WithoutDisplayName.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_Without_DisplayName.json @@ -1,5 +1,5 @@ { - "title": "Create_Asset_WithoutDisplayName", + "title": "Create_Asset_Without_DisplayName", "operationId": "Assets_CreateOrReplace", "description": "Create an Asset Without Display Name", "parameters": { diff --git a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_WithoutExternalAssetId.json b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_Without_ExternalAssetId.json similarity index 99% rename from specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_WithoutExternalAssetId.json rename to specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_Without_ExternalAssetId.json index be9d6a274d8b..06eb23179e1a 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/examples/2024-11-01/Create_Asset_WithoutExternalAssetId.json +++ b/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/stable/2024-11-01/examples/Create_Asset_Without_ExternalAssetId.json @@ -1,5 +1,5 @@ { - "title": "Create_Asset_WithoutExternalAssetId", + "title": "Create_Asset_Without_ExternalAssetId", "operationId": "Assets_CreateOrReplace", "description": "Create an Asset Without External Asset Id", "parameters": { From c65ffba7142e19e7549cd9559e78ad4554c58986 Mon Sep 17 00:00:00 2001 From: Daniel Jurek Date: Tue, 14 Jan 2025 21:09:49 -0800 Subject: [PATCH 19/25] Remove an extra space in cSpell.json --- cSpell.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cSpell.json b/cSpell.json index 72a4cc10767d..d89e94acbcc5 100644 --- a/cSpell.json +++ b/cSpell.json @@ -13,7 +13,7 @@ "subchannel", "umls" ], - "allowCompoundWords ": true, + "allowCompoundWords": true, "dictionaryDefinitions": [ { "name": "custom-words", From 24bef5d4bef53e3ea9055368ea89af8995c9bd4b Mon Sep 17 00:00:00 2001 From: Arthur Ma Date: Wed, 15 Jan 2025 13:50:46 +0800 Subject: [PATCH 20/25] update cspell --- cSpell.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cSpell.json b/cSpell.json index d89e94acbcc5..aaf2b6445e42 100644 --- a/cSpell.json +++ b/cSpell.json @@ -51,6 +51,12 @@ "typescript" ], "overrides": [ + { + "filename": "**/specification/deviceregistry/**/*", + "words": [ + "mqtt" + ] + }, { "filename": "**/specification/playwrighttesting/**/*", "words": [ From 0715cb14163c05a30ae09cde688eb85f588da691 Mon Sep 17 00:00:00 2001 From: Arthur Ma Date: Fri, 17 Jan 2025 13:07:05 +0800 Subject: [PATCH 21/25] update --- cSpell.json | 1837 +-------------------------------------------------- cspell.yaml | 1 + 2 files changed, 5 insertions(+), 1833 deletions(-) diff --git a/cSpell.json b/cSpell.json index aaf2b6445e42..a956df2bfcdc 100644 --- a/cSpell.json +++ b/cSpell.json @@ -1,1836 +1,7 @@ { + "//purpose": "This file is needed for older spell check versions to specify the files to lint", "version": "0.2", - "language": "en", - "words": [ - "authnotrequired", - "azsdk", - "confidentialledger", - "Creds", - "fixdate", - "frontends", - "partiallycompleted", - "servicenetworking", - "subchannel", - "umls" - ], - "allowCompoundWords": true, - "dictionaryDefinitions": [ - { - "name": "custom-words", - "file": "./custom-words.txt", - "description": "Project Words" - } - ], - "flagWords": [ - "teh" - ], - "ignorePaths": [ - "**/examples/**", - "**/package-lock.json", - "cSpell.json", - "eng/**", - "node_modules/**", - "custom-words.txt" - ], - "ignoreRegExpList": [ - "v\\d", - "email", - "Base64" - ], - "minWordLength": 4, - "dictionaries": [ - "companies", - "csharp", - "custom-words", - "go", - "html", - "java", - "node", - "python", - "softwareTerms", - "typescript" - ], - "overrides": [ - { - "filename": "**/specification/deviceregistry/**/*", - "words": [ - "mqtt" - ] - }, - { - "filename": "**/specification/playwrighttesting/**/*", - "words": [ - "microsoftplaywrighttesting", - "playwrighttesting" - ] - }, - { - "filename": "**/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/**/*.json", - "words": [ - "azurearcdata" - ] - }, - { - "filename": "**/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/**/*.json", - "words": [ - "SSRS", - "SSAS", - "SSIS", - "PBIRS" - ] - }, - { - "filename": "**/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/databox.json", - "words": [ - "Tera" - ] - }, - { - "filename": "**/specification/databox/resource-manager/Microsoft.DataBox/stable/2019-09-01/databox.json", - "words": [ - "Tera" - ] - }, - { - "filename": "**/specification/databox/resource-manager/Microsoft.DataBox/stable/2020-04-01/databox.json", - "words": [ - "Tera" - ] - }, - { - "filename": "**/specification/databox/resource-manager/Microsoft.DataBox/stable/2020-11-01/databox.json", - "words": [ - "Tera" - ] - }, - { - "filename": "**/specification/databox/resource-manager/Microsoft.DataBox/stable/2021-03-01/databox.json", - "words": [ - "Tera" - ] - }, - { - "filename": "**/specification/databox/resource-manager/Microsoft.DataBox/stable/2021-05-01/databox.json", - "words": [ - "Tera" - ] - }, - { - "filename": "**/specification/databox/resource-manager/Microsoft.DataBox/preview/2021-08-01-preview/databox.json", - "words": [ - "Tera" - ] - }, - { - "filename": "**/specification/databox/resource-manager/Microsoft.DataBox/stable/2021-12-01/databox.json", - "words": [ - "Tera" - ] - }, - { - "filename": "**/specification/databox/resource-manager/Microsoft.DataBox/stable/2022-02-01/databox.json", - "words": [ - "Tera" - ] - }, - { - "filename": "**/specification/databox/resource-manager/Microsoft.DataBox/stable/2022-09-01/databox.json", - "words": [ - "Tera" - ] - }, - { - "filename": "**/specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/databox.json", - "words": [ - "Tera" - ] - }, - { - "filename": "**/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/Rules.json", - "words": [ - "Ruleproperties" - ] - }, - { - "filename": "**/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/Rules.json", - "words": [ - "Ruleproperties" - ] - }, - { - "filename": "**/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2021-01-01-preview/Rules.json", - "words": [ - "Ruleproperties" - ] - }, - { - "filename": "**/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2014-09-01/servicebus.json", - "words": [ - "Planproperties" - ] - }, - { - "filename": "**/specification/logic/resource-manager/Microsoft.Logic/preview/2015-02-01-preview/logic.json", - "words": [ - "Accesskey" - ] - }, - { - "filename": "**/specification/billing/**/*.json", - "words": [ - "mosp", - "resellee", - "cnpj" - ] - }, - { - "filename": "**/specification/compute/resource-manager/Microsoft.ContainerService/preview/2015-11-01-preview/containerService.json", - "words": [ - "Ochestrator" - ] - }, - { - "filename": "**/specification/compute/resource-manager/Microsoft.ContainerService/stable/2016-03-30/containerService.json", - "words": [ - "Ochestrator" - ] - }, - { - "filename": "**/specification/compute/resource-manager/Microsoft.ContainerService/stable/2016-09-30/containerService.json", - "words": [ - "Ochestrator" - ] - }, - { - "filename": "**/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2016-03-30/containerService.json", - "words": [ - "Ochestrator" - ] - }, - { - "filename": "**/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2016-09-30/containerService.json", - "words": [ - "Ochestrator" - ] - }, - { - "filename": "**/specification/containerservice/resource-manager/Microsoft.ContainerInstance/stable/2021-10-01/containerInstance.json", - "words": [ - "Noreuse" - ] - }, - { - "filename": "**/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/**/containerInstance.json", - "words": [ - "ngroups", - "TransactionOptimized" - ] - }, - { - "filename": "**/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/**/*json", - "words": [ - "vtpm", - "trustedlaunch", - "aksadvancednetworking", - "PDBs", - "undrainable", - "Undrainable", - "acnstls", - "kubeletIdentity", - "kubeletidentity" - ] - }, - { - "filename": "**/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2018-08-10/containerregistry.json", - "words": [ - "WGXM", - "EYWQ", - "EYWQ", - "LQUP", - "BCWG", - "VMQS", - "WWKZ", - "EWDG", - "Ywhk", - "Vfyc", - "Lfot", - "Sllb", - "EYWQ", - "LQUP", - "BCWG", - "VMQS", - "WWKZ", - "EWDG", - "Ywhk", - "Vfyc", - "Lfot", - "Sllb" - ] - }, - { - "filename": "**/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/softwareUpdateConfigurationRun.json", - "words": [ - "softare" - ] - }, - { - "filename": "**/specification/datacatalog/resource-manager/Microsoft.DataCatalog/stable/2016-03-30/datacatalog.json", - "words": [ - "Listt" - ] - }, - { - "filename": "**/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentFeaturesAndPricing_API.json", - "words": [ - "Resouce" - ] - }, - { - "filename": "**/specification/app/resource-manager/Microsoft.App/preview/2023-11-02-preview/ManagedEnvironments.json", - "words": [ - "otlp" - ] - }, - { - "filename": "**/specification/app/resource-manager/Microsoft.App/**/*.json", - "words": [ - "workflowapp" - ] - }, - { - "filename": "**/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/servicefabric.json", - "words": [ - "Qurum", - "Milli", - "Fautls" - ] - }, - { - "filename": "**/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/servicefabric.json", - "words": [ - "Qurum", - "Milli", - "Fautls" - ] - }, - { - "filename": "**/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/servicefabric.json", - "words": [ - "Qurum", - "Milli", - "Fautls" - ] - }, - { - "filename": "**/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/storsimple.json", - "words": [ - "Availablity", - "Remotemanagement" - ] - }, - { - "filename": "**/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2017-10-01/eaSubscriptionMigration_API.json", - "words": [ - "Migrationdate" - ] - }, - { - "filename": "**/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/backups.json", - "words": [ - "Droppeded" - ] - }, - { - "filename": "**/specification/sql/resource-manager/Microsoft.Sql/preview/**/DistributedAvailabilityGroups.json", - "words": [ - "freemium" - ] - }, - { - "filename": "**/specification/sql/resource-manager/Microsoft.Sql/preview/**/ManagedInstances.json", - "words": [ - "freemium" - ] - }, - { - "filename": "**/specification/sql/resource-manager/Microsoft.Sql/preview/**/ServerTrustCertificates.json", - "words": [ - "freemium" - ] - }, - { - "filename": "**/specification/sql/resource-manager/Microsoft.Sql/preview/**/ManagedInstanceDtcs.json", - "words": [ - "msdtcdns", - "msdtc's" - ] - }, - { - "filename": "**/specification/sql/resource-manager/Microsoft.Sql/preview/**/TimeZones.json", - "words": [ - "freemium" - ] - }, - { - "filename": "**/specification/sql/resource-manager/Microsoft.Sql/preview/**/ElasticPools.json", - "words": [ - "PRMS" - ] - }, - { - "filename": "**/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/IntegrationRuntime.json", - "words": [ - "Exprired" - ] - }, - { - "filename": "**/specification/synapse/resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/integrationRuntime.json", - "words": [ - "Exprired" - ] - }, - { - "filename": "**/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-04-01-preview/integrationRuntime.json", - "words": [ - "Exprired" - ] - }, - { - "filename": "**/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/TasksCommon.json", - "words": [ - "Miliseconds", - "INITIALIAZING" - ] - }, - { - "filename": "**/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2015-01-01/resourcehealth.json", - "words": [ - "occured" - ] - }, - { - "filename": "**/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/StorSimple.json", - "words": [ - "Availablity", - "Requestrequest" - ] - }, - { - "filename": "**/specification/keyvault/data-plane/Microsoft.KeyVault/**/keyvault.json", - "words": [ - "Regenerte" - ] - }, - { - "filename": "**/specification/keyvault/resource-manager/readme.go.md", - "words": [ - "modelerfour" - ] - }, - { - "filename": "**/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json", - "words": [ - "whatsapp" - ] - }, - { - "filename": "**/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/SystemEvents.json", - "words": [ - "clientsession" - ] - }, - { - "filename": "**/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2024-01-01/GeneratedSystemEvents.json", - "words": [ - "whatsapp" - ] - }, - { - "filename": "**/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/GeneratedSystemEvents.json", - "words": [ - "whatsapp" - ] - }, - { - "filename": "**/specification/eventgrid/data-plane/Microsoft.EventGrid/**/EventGrid.json", - "words": [ - "renewlock" - ] - }, - { - "filename": "**/specification/keyvault/data-plane/Microsoft.KeyVault/**/storage.json", - "words": [ - "Regenerte" - ] - }, - { - "filename": "**/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json", - "words": [ - "Availibility", - "Mpping", - "Occured", - "modififed", - "Addomain" - ] - }, - { - "filename": "**/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2017-03-01/apimapis.json", - "words": [ - "Commentss", - "Issu", - "Attachmentss" - ] - }, - { - "filename": "**/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/storagesync.json", - "words": [ - "Managementt" - ] - }, - { - "filename": "**/specification/netapp/**/*.json", - "words": [ - "SVMs", - "SVM's", - "kibibytes", - "transitiontocmk" - ] - }, - { - "filename": "**/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/webapplicationfirewall.json", - "words": [ - "Firewal" - ] - }, - { - "filename": "**/specification/web/resource-manager/Microsoft.Web/stable/2016-08-01/WebApps.json", - "words": [ - "priviledged" - ] - }, - { - "filename": "**/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/WebApps.json", - "words": [ - "priviledged" - ] - }, - { - "filename": "**/specification/web/resource-manager/Microsoft.Web/stable/2018-11-01/WebApps.json", - "words": [ - "priviledged" - ] - }, - { - "filename": "**/specification/web/resource-manager/Microsoft.Web/stable/**/WebApps.json", - "words": [ - "sitecontainers", - "updatemachinekey" - ] - }, - { - "filename": "**/specification/web/resource-manager/Microsoft.Web/stable/2015-08-01/service.json", - "words": [ - "Defintions", - "Availablility", - "Availabilily", - "diagnosics" - ] - }, - { - "filename": "**/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/customer-insights.json", - "words": [ - "thres" - ] - }, - { - "filename": "**/specification/keyvault/data-plane/Microsoft.KeyVault/stable/2016-10-01/keyvault.json", - "words": [ - "Regenerte" - ] - }, - { - "filename": "**/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/customer-insights.json", - "words": [ - "thres" - ] - }, - { - "filename": "**/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/baseline_API.json", - "words": [ - "metdata" - ] - }, - { - "filename": "**/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/storagesync.json", - "words": [ - "Managementt" - ] - }, - { - "filename": "**/specification/migrate/resource-manager/**/*.json", - "words": [ - "Occured", - "Assessible", - "sqlcollectors", - "Reasonings", - "Overcommit", - "overcommit", - "SSDE", - "Recieved", - "Ebds", - "idms", - "Idms", - "Cluter", - "Mfamily", - "Datacentre" - ] - }, - { - "filename": "**/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/ResourceHealth.json", - "words": [ - "occured" - ] - }, - { - "filename": "**/specification/storageimportexport/resource-manager/Microsoft.ImportExport/stable/2016-11-01/storageimportexport.json", - "words": [ - "Infomation" - ] - }, - { - "filename": "**/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2015-04-01/Domains.json", - "words": [ - "Availablility" - ] - }, - { - "filename": "**/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2018-02-01/Domains.json", - "words": [ - "Availablility" - ] - }, - { - "filename": "**/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-12-01-preview/costmanagement.json", - "words": [ - "Managment" - ] - }, - { - "filename": "**/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2018-08-31/costmanagement.json", - "words": [ - "Managment" - ] - }, - { - "filename": "**/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2024-08-01/costmanagement.pricesheets.json", - "words": [ - "unitofmeasure" - ] - }, - { - "filename": "**/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/preview/2017-08-21-preview/iotdps.json", - "words": [ - "Messsage" - ] - }, - { - "filename": "**/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2017-11-15/iotdps.json", - "words": [ - "Messsage" - ] - }, - { - "filename": "**/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2018-01-22/iotdps.json", - "words": [ - "Messsage" - ] - }, - { - "filename": "**/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/preview/2020-09-01-preview/iotdps.json", - "words": [ - "Messsage" - ] - }, - { - "filename": "**/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-01-01/iotdps.json", - "words": [ - "Messsage" - ] - }, - { - "filename": "**/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/iotdps.json", - "words": [ - "Messsage" - ] - }, - { - "filename": "**/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/storagesync.json", - "words": [ - "Managementt" - ] - }, - { - "filename": "**/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/AppServiceEnvironments.json", - "words": [ - "diagnosics", - "Availabilily", - "Accessable" - ] - }, - { - "filename": "**/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/notificationhubs.json", - "words": [ - "Availiable", - "Regenrate" - ] - }, - { - "filename": "**/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/AppServiceEnvironments.json", - "words": [ - "diagnosics", - "Availabilily" - ] - }, - { - "filename": "**/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/AppServicePlans.json", - "words": [ - "Defintions" - ] - }, - { - "filename": "**/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/AppServicePlans.json", - "words": [ - "Defintions" - ] - }, - { - "filename": "**/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2017-07-01/resourcehealth.json", - "words": [ - "occured" - ] - }, - { - "filename": "**/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2014-09-01/notificationhubs.json", - "words": [ - "Availiable" - ] - }, - { - "filename": "**/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2016-03-01/notificationhubs.json", - "words": [ - "Availiable" - ] - }, - { - "filename": "**/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/IntegrationRuntime.json", - "words": [ - "Exprired" - ] - }, - { - "filename": "**/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json", - "words": [ - "Multistatement" - ] - }, - { - "filename": "**/specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/entityTypes/Pipeline.json", - "words": [ - "Multistatement" - ] - }, - { - "filename": "**/specification/synapse/resource-manager/Microsoft.Synapse/stable/2020-12-01/integrationRuntime.json", - "words": [ - "Exprired" - ] - }, - { - "filename": "**/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-03-01/integrationRuntime.json", - "words": [ - "Exprired" - ] - }, - { - "filename": "**/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/definitions/TasksCommon.json", - "words": [ - "Miliseconds", - "INITIALIAZING" - ] - }, - { - "filename": "**/specification/cognitiveservices/data-plane/EntitySearch/stable/v1.0/EntitySearch.json", - "words": [ - "Speciality" - ] - }, - { - "filename": "**/specification/cognitiveservices/data-plane/Face/stable/v1.0/Face.json", - "words": [ - "addfacefromurl", - "deleteface", - "detectwithstream", - "detectwithurl", - "facelist", - "findsimilar", - "getface", - "largefacelist", - "largepersongroup", - "largepersongroupperson", - "persongroup", - "persongroupperson", - "verifyfacetoface" - ] - }, - { - "filename": "**/specification/storageimportexport/resource-manager/Microsoft.ImportExport/stable/2016-11-01/storageimportexport.json", - "words": [ - "Listblob" - ] - }, - { - "filename": "**/specification/cognitiveservices/data-plane/TextAnalytics/preview/v2.1/TextAnalytics.json", - "words": [ - "carretera", - "estaba", - "atascada", - "Había", - "mucho", - "tráfico", - "ayer", - "carretera", - "estaba", - "atascada", - "Había", - "mucho", - "tráfico", - "ayer" - ] - }, - { - "filename": "**/specification/cognitiveservices/data-plane/TextAnalytics/stable/v2.0/TextAnalytics.json", - "words": [ - "carretera", - "estaba", - "atascada", - "Había", - "mucho", - "tráfico", - "ayer", - "carretera", - "estaba", - "atascada", - "Había", - "mucho", - "tráfico", - "ayer" - ] - }, - { - "filename": "**/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/networkWatcher.json", - "words": [ - "Uknown" - ] - }, - { - "filename": "**/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/networkWatcher.json", - "words": [ - "Uknown" - ] - }, - { - "filename": "**/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/networkWatcher.json", - "words": [ - "Uknown" - ] - }, - { - "filename": "**/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/networkWatcher.json", - "words": [ - "Uknown" - ] - }, - { - "filename": "**/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/networkWatcher.json", - "words": [ - "Uknown" - ] - }, - { - "filename": "**/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/networkWatcher.json", - "words": [ - "Uknown" - ] - }, - { - "filename": "**/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/networkWatcher.json", - "words": [ - "Uknown" - ] - }, - { - "filename": "**/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/databoxedge.json", - "words": [ - "Fulfilment" - ] - }, - { - "filename": "**/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-07-01/databoxedge.json", - "words": [ - "Fulfilment" - ] - }, - { - "filename": "**/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2019-08-01/databoxedge.json", - "words": [ - "Fulfilment" - ] - }, - { - "filename": "**/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2020-09-01/databoxedge.json", - "words": [ - "Fulfilment" - ] - }, - { - "filename": "**/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/preview/2020-05-01-preview/databoxedge.json", - "words": [ - "Fulfilment" - ] - }, - { - "filename": "**/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/preview/2020-09-01-preview/databoxedge.json", - "words": [ - "Fulfilment" - ] - }, - { - "filename": "**/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2020-12-01/databoxedge.json", - "words": [ - "Fulfilment" - ] - }, - { - "filename": "**/specification/cognitiveservices/data-plane/TranslatorText/stable/v3.0/TranslatorText.json", - "words": [ - "mosca", - "Jpan", - "konnichiha", - "nein", - "bicho" - ] - }, - { - "filename": "**/specification/cognitiveservices/data-plane/Speech/VideoTranslation/preview/2024-05-20-preview/VideoTranslation.json", - "words": [ - "videotranslation", - "webvtt", - "Webvtt" - ] - }, - { - "filename": "**/specification/network/resource-manager/Microsoft.Network/stable/**/webapplicationfirewall.json", - "words": [ - "Conditon" - ] - }, - { - "filename": "**/specification/relay/resource-manager/Microsoft.Relay/stable/2016-07-01/relay.json", - "words": [ - "successfuly", - "Autorization", - "retirve", - "Regenrate", - "usermetadata", - "Relaytype", - "reponse", - "namespce" - ] - }, - { - "filename": "**/specification/relay/resource-manager/Microsoft.Relay/stable/2017-04-01/relay.json", - "words": [ - "successfuly", - "Autorization", - "retirve", - "butthe", - "Regenrate", - "usermetadata", - "Relaytype", - "neeeds", - "reponse" - ] - }, - { - "filename": "**/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-05-01-preview/machineLearningServices.json", - "words": [ - "mysqldb", - "psqldb" - ] - }, - { - "filename": "**/specification/maps/data-plane/Weather/stable/1.1/weather.json", - "words": [ - "locationally", - "unittype" - ] - }, - { - "filename": "**/specification/maps/data-plane/Microsoft.Maps/Render/preview/1.0/render.json", - "words": [ - "Chttp", - "Fcontoso", - "Fpushpins" - ] - }, - { - "filename": "**/specification/maps/data-plane/Render/preview/1.0/render.json", - "words": [ - "Chttp", - "Fcontoso", - "Fpushpins" - ] - }, - { - "filename": "**/specification/maps/data-plane/Render/stable/2022-08-01/render.json", - "words": [ - "maptileset" - ] - }, - { - "filename": "**/specification/maps/data-plane/Spatial/stable/2022-08-01/spatial.json", - "words": [ - "postbuffer", - "getbuffer", - "postclosestpoint", - "getclosestpoint" - ] - }, - { - "filename": "**/specification/maps/data-plane/Search/**", - "words": [ - "geocodingresponse", - "searchaddressresult", - "searchaddressreverseresponse" - ] - }, - { - "filename": "**/specification/maps/data-plane/Route/**", - "words": [ - "modelerfour" - ] - }, - { - "filename": "**/specification/communication/data-plane/Chat/**/communicationserviceschat.json", - "words": [ - "readreceipts", - "heic", - "webp" - ] - }, - { - "filename": "**/specification/saas/resource-manager/Microsoft.SaaS/preview/2018-03-01-beta/saas.json", - "words": [ - "saasresources" - ] - }, - { - "filename": "**/specification/hdinsight/hdinsight-kafka-rest-proxy/proxy.json", - "words": [ - "Metada" - ] - }, - { - "filename": "**/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json", - "words": [ - "saskey" - ] - }, - { - "filename": "**/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json", - "words": [ - "vmsize", - "vmsizes" - ] - }, - { - "filename": "**/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/cluster.json", - "words": [ - "azureasyncoperations", - "saskey" - ] - }, - { - "filename": "**/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/locations.json", - "words": [ - "vmsize", - "vmsizes" - ] - }, - { - "filename": "**/specification/web/resource-manager/Microsoft.Web/**/CommonDefinitions.json", - "words": [ - "Guage" - ] - }, - { - "filename": "**/specification/confluent/resource-manager/Microsoft.Confluent/**/confluent.json", - "words": [ - "orgvalidate", - "AZUREBLOBSOURCE", - "AZUREBLOBSINK" - ] - }, - { - "filename": "**/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/**/service.json", - "words": [ - "Orignal", - "Seleted", - "targetvCenterId", - "esxi" - ] - }, - { - "filename": "**/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/**/bms.json", - "words": [ - "xcool" - ] - }, - { - "filename": "**/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/**/bms.json", - "words": [ - "HanaScaleoutContainer" - ] - }, - { - "filename": "**/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2021-10-15/iotdps.json", - "words": [ - "Messsage" - ] - }, - { - "filename": "**/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/**/*json", - "words": [ - "automigration", - "apsaradb", - "supabase" - ] - }, - { - "filename": "**/specification/cognitiveservices/data-plane/FormRecognizer/**/FormRecognizer.json", - "words": [ - "heif", - "spreadsheetml", - "presentationml", - "barcodes", - "UPCA", - "UPCE", - "Codabar", - "rrggbb" - ] - }, - { - "filename": "**/specification/ai/data-plane/DocumentIntelligence/**/DocumentIntelligence.json", - "words": [ - "documentintelligence", - "heif", - "spreadsheetml", - "presentationml", - "barcodes", - "UPCA", - "UPCE", - "Codabar", - "rrggbb" - ] - }, - { - "filename": "**/specification/cognitiveservices/data-plane/UnifiedVision/**/UnifiedVision.json", - "words": [ - "planogram", - "Planogram", - "productrecognition", - "imagecomposition", - "planogramcompliance" - ] - }, - { - "filename": "**/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-*/modelManagement.json", - "words": [ - "UNKNOWON" - ] - }, - { - "filename": "**/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2022-*-preview/machineLearningServices.json", - "words": [ - "Tmpfs", - "tmpfs", - "npipe" - ] - }, - { - "filename": "**/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/20*-preview/azure-ai-assets.json", - "words": [ - "genericasset" - ] - }, - { - "filename": "**/specification/dataprotection/resource-manager/Microsoft.DataProtection/**/dataprotection.json", - "words": [ - "PrepareTimedout", - "CommitTimedout" - ] - }, - { - "filename": "**/specification/purview/data-plane/Azure.Analytics.Purview.Workflow/preview/**/purviewWorkflow.json", - "words": [ - "userrequests", - "DSAR", - "dsar", - "workflowruns", - "workflowtasks" - ] - }, - { - "filename": "**/specification/translation/data-plane/**/*.json", - "words": [ - "autodetection", - "breaksentence", - "mosca", - "Transliterable", - "translitered" - ] - }, - { - "filename": "**/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/**/*.json", - "words": [ - "datareferences", - "Groundedness", - "AOAI", - "testconnection", - "aoai", - "SecretExpiry", - "expirableSecret", - "expireAfterHours", - "expire", - "expirable" - ] - }, - { - "filename": "**/specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/**/*.json", - "words": [ - "RELRO", - "relro", - "rpath", - "runpath", - "SBOM", - "Sbom", - "sbom" - ] - }, - { - "filename": "**/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/**/*.json", - "words": [ - "Criterias", - "nwrfc", - "Abap", - "AGRTCODES", - "AGRUSERS", - "AGRPROF", - "ADCP", - "USGRPUSER", - "USERADDR", - "DEVACCESS", - "AGRDEFINE", - "PAHI", - "AGRAGRS", - "USRSTAMP", - "AGRFLAGS", - "SNCSYSACL", - "USRACL" - ] - }, - { - "filename": "**/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/**/*.json", - "words": [ - "Criterias", - "Mdti" - ] - }, - { - "filename": "**/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/**/*.json", - "words": [ - "flac", - "mpga" - ] - }, - { - "filename": "**/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/**/*.json", - "words": [ - "flac", - "FLAC", - "mpga", - "rerank" - ] - }, - { - "filename": "**/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/appplatform.json", - "words": [ - "springboot" - ] - }, - { - "filename": "**/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/**/*.json", - "words": [ - "keyvaultkeyuri", - "throughputpool", - "dotproduct" - ] - }, - { - "filename": "**/specification/purview/data-plane/Azure.Analytics.Purview.DataMap/**/*.json", - "words": [ - "timerange" - ] - }, - { - "filename": "**/specification/healthdataaiservices/**/*.json", - "words": [ - "deidentification", - "deidentify", - "surrogation" - ] - }, - { - "filename": "**/specification/search/data-plane/Azure.Search/**/*.json", - "words": [ - "rerank", - "discretizing", - "subscores", - "vectorizing", - "onelake", - "tiktoken", - "Matryoshka", - "rescore", - "rescoring", - "rescored", - "maxcharlength", - "submode" - ] - }, - { - "filename": "**/specification/vi/resource-manager/Microsoft.VideoIndexer/**/*.json", - "words": [ - "videoindexer", - "viopenai" - ] - }, - { - "filename": "**/specification/nginx/resource-manager/NGINX.NGINXPLUS/**/*.json", - "words": [ - "nginx", - "nginxaas", - "NCUs", - "autoscaled", - "Autoupgrade", - "autoupgrade" - ] - }, - { - "filename": "**/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/**/*.json", - "words": [ - "suci" - ] - }, - { - "filename": "**/specification/containerservice/resource-manager/Microsoft.ContainerService/**/*.json", - "words": [ - "containerd" - ] - }, - { - "filename": "**/specification/batch/data-plane/Microsoft.Batch/**/*.json", - "words": [ - "upgradingos", - "TVMs" - ] - }, - { - "filename": "**/specification/batch/Azure.Batch/**/*.tsp", - "words": [ - "upgradingos", - "TVMs" - ] - }, - { - "filename": "**/specification/batch/data-plane/Azure.Batch/**/*.json", - "words": [ - "upgradingos", - "TVMs" - ] - }, - { - "filename": "**/specification/awsconnector/resource-manager/Microsoft.AwsConnector/**/*.json", - "words": [ - "ABAC", - "ACFP", - "ACMPCA", - "ACUs", - "assemblyline", - "autoprovision", - "Aviv", - "AWSACM", - "AWSACMPCA", - "AWSAPS", - "AWSDMS", - "AWSEC", - "AWSECR", - "AWSECS", - "AWSEFS", - "AWSEKS", - "AWSELB", - "AWSEMR", - "awsfirelens", - "AWSFIS", - "AWSIAM", - "AWSIAMSAML", - "AWSIVS", - "AWSKMS", - "awslogs", - "AWSM", - "AWSMSK", - "AWSQLDB", - "AWSRDS", - "AWSRDSDB", - "AWSRUM", - "AWSS", - "AWSSES", - "AWSSNS", - "AWSSQS", - "AWSSSM", - "awsvpc", - "AWSWAF", - "AWSX", - "binpack", - "buildspec", - "CFNS", - "CMAP", - "CMK's", - "CODECONNECTIONS", - "cooldowns", - "credentialspec", - "credentialspecdomainless", - "credspec", - "daxs", - "DCERPC", - "dd'T'HH", - "desync", - "diratime", - "dirsync", - "domainless", - "Dsse", - "dsse", - "Dtest", - "Dtestsecret", - "dualstack", - "EEZNYKUA", - "efgyghrtguk", - "Elong", - "emaccess", - "ENCHIPHERMENT", - "ENIs", - "FARGAT", - "Fargate", - "FDTNDATAQYW", - "Firelens", - "firelens", - "fluentbit", - "FOWNER", - "FPGAs", - "fpgas", - "FSETID", - "Fuota", - "Gelf", - "gelf", - "GENEVE", - "Geoproximity", - "healthcheck", - "hostedzone", - "hypens", - "IJCEXJP", - "Ilong", - "Inferentia", - "instancegroup", - "Intlong", - "IPAM's", - "Ipams", - "JDBC", - "kadmin", - "keytabs", - "logentries", - "lowercased", - "mand", - "maxage", - "MKNOD", - "mknod", - "Mlong", - "mpol", - "mqueue", - "mrap", - "MSAs", - "msgmax", - "msgmnb", - "msgmni", - "multicloud", - "multimaster", - "multivalue", - "Multivalue", - "myawslogbucket", - "mycluster", - "mydomain", - "mykeyspace", - "mymanaged", - "myprefix", - "myrepinstance", - "myselfmanaged", - "mytable", - "nfsvers", - "Ningxia", - "Nlong", - "noatime", - "nodegroup", - "Nodegroups", - "nodev", - "nodiratime", - "NOERROR", - "noexec", - "nohup", - "nomand", - "nondefault", - "norelatime", - "nostrictatime", - "nosuid", - "Nshort", - "oemagent", - "ONEZONE", - "PACCT", - "parallelquery", - "Paulo", - "Plong", - "preconfigures", - "PRERELEASED", - "PTRACE", - "Radeon", - "radeon", - "RAWIO", - "rbind", - "RDSCDB", - "redrive", - "relatime", - "resouce", - "retrans", - "rmid", - "Robo", - "rprivate", - "rshared", - "rsize", - "rslave", - "runbindable", - "SETFCAP", - "SETPCAP", - "shmall", - "shmmax", - "shmmni", - "SIEXAMPLE", - "slowquery", - "Sqli", - "sqli", - "sqlserver", - "ss'Z", - "strictatime", - "subdivisioncode", - "tierings", - "timeo", - "ulimits", - "Ultrawarm", - "ultrawarm", - "unbindable", - "untagging", - "Useds", - "VPC's", - "webacl", - "whitespaces", - "wihtin", - "workdir", - "wsize", - "xxdriver", - "xxlabel", - "xxopt" - ] - }, - { - "filename": "**/specification/confidentialledger/data-plane/Microsoft.CodeTransparency/preview/**/*.json", - "words": [ - "cbor", - "txids", - "operationid", - "scitt" - ] - }, - { - "filename": "**/specification/applicationinsights/data-plane/LiveMetrics/preview/2024-04-01-preview/livemetrics.json", - "words": [ - "LiveMetrics", - "QuickPulse", - "ikey", - "apikey", - "Comparand", - "SDK" - ] - }, - { - "filename": "**/specification/cognitiveservices/data-plane/ContentSafety/**/*.json", - "words": [ - "Groundedness", - "ungroundedness" - ] - }, - { - "filename": "**/specification/cognitiveservices/data-plane/Language/**/**/*.json", - "words": [ - "Meitei", - "Mtei", - "Olck", - "Shrd" - ] - }, - { - "filename": "**/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/**/*.json", - "words": [ - "WUMU", - "WSUS" - ] - }, - { - "filename": "**/specification/riskiq/data-plane/Microsoft.Easm/preview/**/*.json", - "words": [ - "Cisa", - "cisa", - "affected", - "AUTOCONFIRMED" - ] - }, - { - "filename": "**/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/**/*.json", - "words": [ - "hotpatch" - ] - }, - { - "filename": "**/specification/monitor/resource-manager/Microsoft.Insights/**/actionGroups_API.json", - "words": [ - "occurringlocation", - "routingid", - "automitigationenabled", - "monitorid", - "tsgid", - "correlationid" - ] - }, - { - "filename": "**/specification/ai/data-plane/Face/**/*.json", - "words": [ - "headwear", - "realface", - "spoofface" - ] - }, - { - "filename": "**/specification/liftrpinecone/**/*.json", - "words": [ - "organizationname" - ] - }, - { - "filename": "**/specification/developerhub/resource-manager/Microsoft.DevHub/**/*.json", - "words": [ - "iacProfiles", - "iacProfile", - "IacProfiles", - "IacProfile", - "HCI", - "HCIAKS", - "HCIARCVM" - ] - }, - { - "filename": "**/specification/securityinsights/data-plane/Microsoft.SecurityInsights/**/*.json", - "words": [ - "threatintelligencestixobjects", - "stixobjects" - ] - }, - { - "filename": "**/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/**/*.json", - "words": [ - "rerank" - ] - }, - { - "filename": "**/specification/ai/data-plane/HealthInsights/stable/**/openapi.json", - "words": [ - "Acrad", - "acrad", - "BIRADS", - "mednax", - "frax", - "extracolonic", - "ascvd", - "tyrer", - "cusick", - "agatston", - "ceus", - "HNPCC", - "kellgren", - "tonnis" - ] - }, - { - "filename": "**/specification/cognitiveservices/data-plane/AzureOpenAI/authoring/preview/**/*.json", - "words": [ - "wandb" - ] - }, - { - "filename": "**/specification/communication/data-plane/CallAutomation/**/*.json", - "words": [ - "unhold", - "Unhold", - "transferor's" - ] - }, - { - "filename": "**/specification/oracle/resource-manager/Oracle.Database/**/*.json", - "words": [ - "systemversionname" - ] - }, - { - "filename": "**/specification/developerhub/resource-manager/Microsoft.DevHub/preview/**/workflow.json", - "words": [ - "adooauth", - "ADOO" - ] - }, - { - "filename": "**/specification/iotoperations/resource-manager/Microsoft.IoTOperations/**/*.json", - "words": [ - "akri", - "opcua", - "websockets", - "opentelemetry", - "parquet", - "mqttbroker", - "schemaregistry" - ] - }, - { - "filename": "**/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/**/*.json", - "words": [ - "sfmc", - "sfmc's", - "regionname", - "sfmcdomain" - ] - }, - { - "filename": "**/specification/terraform/resource-manager/Microsoft.AzureTerraform/**/*.json", - "words": [ - "azurerm", - "azapi" - ] - }, - { - "filename": "**/specification/terraform/Microsoft.AzureTerraform.Management/**/*.tsp", - "words": [ - "azurerm", - "azapi" - ] - }, - { - "filename": "**/specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/**/*.json", - "words": [ - "billables" - ] - }, - { - "filename": "**/specification/storage/data-plane/Microsoft.FileStorage/**/*.json", - "words": [ - "symboliclink", - "hardlink" - ] - }, - { - "filename": "**/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-09-01/costmanagement.pricesheets.json", - "words": [ - "Unitof" - ] - }, - { - "filename": "**/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/costmanagement.pricesheets.json", - "words": [ - "Unitof" - ] - }, - { - "filename": "**/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCIVM/**/*.json", - "words": [ - "SEVSNP" - ] - }, - { - "filename": "**/specification/connectedcache/resource-manager/Microsoft.ConnectedCache/preview/**/*.json", - "words": [ - "Eflow" - ] - }, - { - "filename": "**/specification/communication/data-plane/Sms/preview/**/*.json", - "words": [ - "optouts" - ] - }, - { - "filename": "**/specification/azure-kusto/resource-manager/Microsoft.Kusto/**/*.json", - "words": [ - "webapi", - "genevametrics" - ] - }, - { - "filename": "**/specification/compute/resource-manager/readme.md", - "words": [ - "Cloudservice" - ] - }, - { - "filename": "**/specification/**/readme.python.md", - "words": [ - "multiapiscript", - "modelerfour" - ] - }, - { - "filename": "**/specification/standbypool/StandbyPool.Management/sdk-suppressions.yaml", - "words": [ - "standbypool" - ] - } - ], - "enableFiletypes": [ - "cadl" - ], - "ignoreWords": [ - "trafficcontrollerspec" + "import": [ + "cspell.yaml" ] - -} +} \ No newline at end of file diff --git a/cspell.yaml b/cspell.yaml index 97ec0b0d871b..4e0b15ce598d 100644 --- a/cspell.yaml +++ b/cspell.yaml @@ -43,6 +43,7 @@ words: - localizable - mbps - mgmt + - mqtt - odata - onboarded - payg From 25668a74fff77cd7db4ef6bb790cfa65b63cbb30 Mon Sep 17 00:00:00 2001 From: Arthur Ma Date: Fri, 17 Jan 2025 13:08:17 +0800 Subject: [PATCH 22/25] update --- cSpell.json | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 cSpell.json diff --git a/cSpell.json b/cSpell.json deleted file mode 100644 index a956df2bfcdc..000000000000 --- a/cSpell.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "//purpose": "This file is needed for older spell check versions to specify the files to lint", - "version": "0.2", - "import": [ - "cspell.yaml" - ] -} \ No newline at end of file From ba38e0686d459011f11e3bda35664c448d97fdf0 Mon Sep 17 00:00:00 2001 From: Arthur Ma Date: Fri, 17 Jan 2025 23:41:42 +0800 Subject: [PATCH 23/25] update --- package-lock.json | 7 +++++++ .../DeviceRegistry.Management/client.tsp | 17 ++++++++++++++++- .../DeviceRegistry.Management/tspconfig.yaml | 2 -- 3 files changed, 23 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index d933995992c7..dded41ecf084 100644 --- a/package-lock.json +++ b/package-lock.json @@ -35,6 +35,7 @@ } }, "eng/tools": { + "name": "azure-rest-api-specs-eng-tools", "dev": true, "hasInstallScript": true, "devDependencies": { @@ -268,6 +269,7 @@ } }, "eng/tools/sdk-suppressions": { + "name": "@azure-tools/sdk-suppressions", "version": "1.0.0", "dev": true, "dependencies": { @@ -290,6 +292,7 @@ } }, "eng/tools/specs-model": { + "name": "@azure-tools/specs-model", "dev": true, "bin": { "get-specs-model": "cmd/get-specs-model.js" @@ -311,6 +314,7 @@ } }, "eng/tools/suppressions": { + "name": "@azure-tools/suppressions", "dev": true, "dependencies": { "minimatch": "^9.0.4", @@ -332,6 +336,7 @@ } }, "eng/tools/tsp-client-tests": { + "name": "@azure-tools/tsp-client-tests", "dev": true, "devDependencies": { "@types/node": "^18.19.31", @@ -344,6 +349,7 @@ } }, "eng/tools/typespec-requirement": { + "name": "@azure-tools/typespec-requirement", "dev": true, "devDependencies": { "@types/node": "^18.19.31", @@ -356,6 +362,7 @@ } }, "eng/tools/typespec-validation": { + "name": "@azure-tools/typespec-validation", "dev": true, "dependencies": { "globby": "^14.0.1", diff --git a/specification/deviceregistry/DeviceRegistry.Management/client.tsp b/specification/deviceregistry/DeviceRegistry.Management/client.tsp index b38c9ee21661..a701aa6f0208 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/client.tsp +++ b/specification/deviceregistry/DeviceRegistry.Management/client.tsp @@ -19,9 +19,10 @@ using Microsoft.DeviceRegistry; @@clientName(Microsoft.DeviceRegistry, "DeviceRegistryMgmt", "python"); // CSharp Client configuration -@@access(OperationStatus.get, Access.internal, "csharp"); +@@scope(OperationStatus.get, "!csharp"); @@clientName(Asset, "DeviceRegistryAsset", "csharp"); +@@clientName(AssetProperties.enabled, "IsEnabled", "csharp"); @@clientName(AssetStatus, "DeviceRegistryAssetStatus", "csharp"); @@clientName(AssetStatusDataset, "DeviceRegistryAssetStatusDataset", "csharp"); @@clientName(AssetStatusError, "DeviceRegistryAssetStatusError", "csharp"); @@ -76,6 +77,20 @@ using Microsoft.DeviceRegistry; ); @@clientName(X509Credentials, "DeviceRegistryX509Credentials", "csharp"); +@@alternateType(SchemaRegistryProperties.storageAccountContainerUrl, + url, + "csharp" +); +@@alternateType(AssetProperties.manufacturerUri, url, "csharp"); +@@alternateType(AssetProperties.documentationUri, url, "csharp"); +@@alternateType(BillingContainer.etag, Azure.Core.eTag, "csharp"); +@@alternateType(DiscoveredAssetProperties.manufacturerUri, url, "csharp"); +@@alternateType(DiscoveredAssetProperties.documentationUri, url, "csharp"); +@@alternateType(SchemaRegistryProperties.storageAccountContainerUrl, + url, + "csharp" +); + // JavaScript Client configuration @@clientName(Microsoft.DeviceRegistry, "DeviceRegistryManagementClient", diff --git a/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml b/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml index c1f9ec2d7fff..3c16c432875a 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml +++ b/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml @@ -20,8 +20,6 @@ options: use-write-core: true namespace: "{package-dir}" api-version: "2024-09-01-preview" - # Disable generate samples until CodGen support remove operation https://github.com/Azure/autorest.csharp/issues/5191 - generate-sample-project: false "@azure-tools/typespec-java": package-dir: "azure-resourcemanager-deviceregistry" flavor: "azure" From 0ff6c94dfc6fac39fe04f26622add937d298f440 Mon Sep 17 00:00:00 2001 From: Arthur Ma Date: Tue, 21 Jan 2025 17:48:04 +0800 Subject: [PATCH 24/25] update --- cspell.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/cspell.yaml b/cspell.yaml index 4e0b15ce598d..97ec0b0d871b 100644 --- a/cspell.yaml +++ b/cspell.yaml @@ -43,7 +43,6 @@ words: - localizable - mbps - mgmt - - mqtt - odata - onboarded - payg From c207b927e4e57e4c379e86895d5741763bd5cfdd Mon Sep 17 00:00:00 2001 From: Arthur Ma Date: Wed, 22 Jan 2025 16:04:47 +0800 Subject: [PATCH 25/25] update --- .../deviceregistry/DeviceRegistry.Management/client.tsp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/specification/deviceregistry/DeviceRegistry.Management/client.tsp b/specification/deviceregistry/DeviceRegistry.Management/client.tsp index a701aa6f0208..f0822437d3d0 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/client.tsp +++ b/specification/deviceregistry/DeviceRegistry.Management/client.tsp @@ -68,9 +68,8 @@ using Microsoft.DeviceRegistry; @@clientName(ExtendedLocation.type, "ExtendedLocationType", "csharp"); @@clientName(TopicRetainType, "DeviceRegistryTopicRetainType", "csharp"); @@clientName(ProvisioningState, "DeviceRegistryProvisioningState", "csharp"); -@@clientName(Authentication, "DeviceRegistryUserAuthentication", "csharp"); -@@clientName(Authentication, "DeviceRegistryUserAuthentication", "csharp"); -@@clientName(Topic, "DeviceRegistryMqttTopic", "csharp"); +@@clientName(Authentication, "DeviceRegistryAuthentication", "csharp"); +@@clientName(Topic, "DeviceRegistryTopic", "csharp"); @@clientName(UsernamePasswordCredentials, "DeviceRegistryUsernamePasswordCredentials", "csharp"