From 17aa6a1314de5aafef059d9aa2229901df506e75 Mon Sep 17 00:00:00 2001 From: Pruthvidhar R Dhodda <60198385+pruthvidhodda@users.noreply.github.com> Date: Sun, 7 May 2023 19:15:42 -0700 Subject: [PATCH] Add "serviceName" to ListIngressGatewayCredentialsRequest (#23819) --- ...intsPostListIngressGatewayCredentials.json | 8 ++++-- .../stable/2023-03-15/hybridconnectivity.json | 26 +++++++++++++++++++ 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/specification/hybridconnectivity/resource-manager/Microsoft.HybridConnectivity/stable/2023-03-15/examples/EndpointsPostListIngressGatewayCredentials.json b/specification/hybridconnectivity/resource-manager/Microsoft.HybridConnectivity/stable/2023-03-15/examples/EndpointsPostListIngressGatewayCredentials.json index 430bf536e449..91394f088cd8 100644 --- a/specification/hybridconnectivity/resource-manager/Microsoft.HybridConnectivity/stable/2023-03-15/examples/EndpointsPostListIngressGatewayCredentials.json +++ b/specification/hybridconnectivity/resource-manager/Microsoft.HybridConnectivity/stable/2023-03-15/examples/EndpointsPostListIngressGatewayCredentials.json @@ -3,7 +3,10 @@ "resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/arcGroup/providers/Microsoft.ArcPlaceHolder/ProvisionedClusters/cluster0", "api-version": "2023-03-15", "endpointName": "default", - "expiresin": 10800 + "expiresin": 10800, + "ListCredentialsRequest": { + "serviceName": "SSH" + } }, "responses": { "200": { @@ -13,7 +16,8 @@ "namespaceNameSuffix": "servicebus.windows.net", "hybridConnectionName": "microsoft.arcplaceholder/provisionedclusters/000/1619989456957411072", "accessKey": "SharedAccessSignature sr=http%3A%2F%2Fazgnrelay-eastus-l1.servicebus.windows.net%2Fmicrosoft.provisionedcluster%hci", - "expiresOn": 1620000256 + "expiresOn": 1620000256, + "serviceConfigurationToken": "SSHvjqH=pTlKql=RtMGw/-k5VFBxSYHIiq5ZgbGFcLkNrDNz5fDsinCN2zkG" }, "ingress": { "hostname": "clusterhostname", diff --git a/specification/hybridconnectivity/resource-manager/Microsoft.HybridConnectivity/stable/2023-03-15/hybridconnectivity.json b/specification/hybridconnectivity/resource-manager/Microsoft.HybridConnectivity/stable/2023-03-15/hybridconnectivity.json index a916a2e7bd29..bf12a1e1355c 100644 --- a/specification/hybridconnectivity/resource-manager/Microsoft.HybridConnectivity/stable/2023-03-15/hybridconnectivity.json +++ b/specification/hybridconnectivity/resource-manager/Microsoft.HybridConnectivity/stable/2023-03-15/hybridconnectivity.json @@ -636,6 +636,14 @@ }, { "$ref": "#/parameters/AccessTokenExpirationParameter" + }, + { + "name": "ListIngressGatewayCredentialsRequest", + "in": "body", + "schema": { + "$ref": "#/definitions/ListIngressGatewayCredentialsRequest" + }, + "description": "Object of type ListIngressGatewayCredentialsRequest" } ], "responses": { @@ -1050,6 +1058,24 @@ } } } + }, + "ListIngressGatewayCredentialsRequest": { + "type": "object", + "description": "Represent ListIngressGatewayCredentials Request object.", + "properties": { + "serviceName": { + "type": "string", + "description": "The name of the service.", + "enum": [ + "SSH", + "WAC" + ], + "x-ms-enum": { + "name": "serviceName", + "modelAsString": true + } + } + } } }, "parameters": {