From ffc071df28c54fa061282ebcd2112ce31efdf0e3 Mon Sep 17 00:00:00 2001 From: Nonso Chukwuogor Date: Wed, 14 Aug 2024 07:58:18 -0700 Subject: [PATCH] chore: Fix typos in Aio types --- .../IoTOperations.Management/models/base.tsp | 6 ++--- .../models/dataflows/dataflowEndpoints.tsp | 2 +- .../2024-08-15-preview/iotoperations.json | 22 +++++++++---------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/specification/iotoperations/IoTOperations.Management/models/base.tsp b/specification/iotoperations/IoTOperations.Management/models/base.tsp index 4028330cda63..dd4beacde903 100644 --- a/specification/iotoperations/IoTOperations.Management/models/base.tsp +++ b/specification/iotoperations/IoTOperations.Management/models/base.tsp @@ -189,7 +189,7 @@ alias SystemAssignedManagedIdentity = "SystemAssignedManagedIdentity"; alias UserAssignedManagedIdentity = "UserAssignedManagedIdentity"; alias AccessToken = "AccessToken"; alias Sasl = "Sasl"; -alias x509Certificate = "x509Certificate"; +alias X509Certificate = "X509Certificate"; alias Anonymous = "Anonymous"; @doc("Managed Identity Method") @@ -204,7 +204,7 @@ union ManagedIdentityMethod { } @doc("Access Token Method") -union AccessTokeMethod { +union AccessTokenMethod { string, @doc("AccessToken Option") @@ -224,7 +224,7 @@ union x509CertificateMethod { string, @doc("x509Certificate Option") - x509Certificate: x509Certificate, + X509Certificate: X509Certificate, } @doc("x509 Certificate Method") diff --git a/specification/iotoperations/IoTOperations.Management/models/dataflows/dataflowEndpoints.tsp b/specification/iotoperations/IoTOperations.Management/models/dataflows/dataflowEndpoints.tsp index 16f34a0ccf4c..829c03108276 100644 --- a/specification/iotoperations/IoTOperations.Management/models/dataflows/dataflowEndpoints.tsp +++ b/specification/iotoperations/IoTOperations.Management/models/dataflows/dataflowEndpoints.tsp @@ -141,7 +141,7 @@ model DataflowEndpointDataLakeStorageAuthentication { @doc("DataflowEndpoint Data Lake Storage Authentication Method properties") union DataLakeStorageAuthMethod { ManagedIdentityMethod, - AccessTokeMethod, + AccessTokenMethod, } @doc("Microsoft Fabric endpoint properties") diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/iotoperations.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/iotoperations.json index 29e1b39fe52d..755d46b43cc7 100644 --- a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/iotoperations.json +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/iotoperations.json @@ -2553,14 +2553,14 @@ } }, "definitions": { - "AccessTokeMethod": { + "AccessTokenMethod": { "type": "string", "description": "Access Token Method", "enum": [ "AccessToken" ], "x-ms-enum": { - "name": "AccessTokeMethod", + "name": "AccessTokenMethod", "modelAsString": true, "values": [ { @@ -5449,7 +5449,7 @@ "SystemAssignedManagedIdentity", "UserAssignedManagedIdentity", "Sasl", - "x509Certificate", + "X509Certificate", "Anonymous" ], "x-ms-enum": { @@ -5472,8 +5472,8 @@ "description": "Sasl Option" }, { - "name": "x509Certificate", - "value": "x509Certificate", + "name": "X509Certificate", + "value": "X509Certificate", "description": "x509Certificate Option" }, { @@ -5669,7 +5669,7 @@ "SystemAssignedManagedIdentity", "UserAssignedManagedIdentity", "Sasl", - "x509Certificate", + "X509Certificate", "Anonymous" ], "x-ms-enum": { @@ -5692,8 +5692,8 @@ "description": "Sasl Option" }, { - "name": "x509Certificate", - "value": "x509Certificate", + "name": "X509Certificate", + "value": "X509Certificate", "description": "x509Certificate Option" }, { @@ -6678,15 +6678,15 @@ "type": "string", "description": "x509 Certificate Method", "enum": [ - "x509Certificate" + "X509Certificate" ], "x-ms-enum": { "name": "x509CertificateMethod", "modelAsString": true, "values": [ { - "name": "x509Certificate", - "value": "x509Certificate", + "name": "X509Certificate", + "value": "X509Certificate", "description": "x509Certificate Option" } ]