From af8d40d6b9a02338d0ccfa6cd1078258b9c04ab8 Mon Sep 17 00:00:00 2001 From: Nonso Chukwuogor Date: Wed, 14 Aug 2024 09:18:37 -0700 Subject: [PATCH] fix: Rename secretName to secretRef --- .../IoTOperations.Management/models/broker/listeners.tsp | 2 +- .../preview/2024-08-15-preview/iotoperations.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/iotoperations/IoTOperations.Management/models/broker/listeners.tsp b/specification/iotoperations/IoTOperations.Management/models/broker/listeners.tsp index 9f4b43cccfdf..e8dc53cbd37b 100644 --- a/specification/iotoperations/IoTOperations.Management/models/broker/listeners.tsp +++ b/specification/iotoperations/IoTOperations.Management/models/broker/listeners.tsp @@ -115,7 +115,7 @@ model CertManagerCertificateSpec { duration?: string; @doc("Secret for storing server certificate. Any existing data will be overwritten. This is a reference to the secret through an identifying name, not the secret itself.") - secretName?: string; + secretRef?: string; @doc("When to begin renewing certificate. Must be specified using a Go time.Duration format (h|m|s). E.g. 240h for 240 hours and 45m for 45 minutes.") renewBefore?: string; 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 755d46b43cc7..82eb6dc9b491 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 @@ -3504,7 +3504,7 @@ "type": "string", "description": "Lifetime of certificate. Must be specified using a Go time.Duration format (h|m|s). E.g. 240h for 240 hours and 45m for 45 minutes." }, - "secretName": { + "secretRef": { "type": "string", "description": "Secret for storing server certificate. Any existing data will be overwritten. This is a reference to the secret through an identifying name, not the secret itself." },