Skip to content

Commit 17aa6a1

Browse files
Add "serviceName" to ListIngressGatewayCredentialsRequest (#23819)
1 parent 7e48d5f commit 17aa6a1

File tree

2 files changed

+32
-2
lines changed

2 files changed

+32
-2
lines changed

specification/hybridconnectivity/resource-manager/Microsoft.HybridConnectivity/stable/2023-03-15/examples/EndpointsPostListIngressGatewayCredentials.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
"resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/arcGroup/providers/Microsoft.ArcPlaceHolder/ProvisionedClusters/cluster0",
44
"api-version": "2023-03-15",
55
"endpointName": "default",
6-
"expiresin": 10800
6+
"expiresin": 10800,
7+
"ListCredentialsRequest": {
8+
"serviceName": "SSH"
9+
}
710
},
811
"responses": {
912
"200": {
@@ -13,7 +16,8 @@
1316
"namespaceNameSuffix": "servicebus.windows.net",
1417
"hybridConnectionName": "microsoft.arcplaceholder/provisionedclusters/000/1619989456957411072",
1518
"accessKey": "SharedAccessSignature sr=http%3A%2F%2Fazgnrelay-eastus-l1.servicebus.windows.net%2Fmicrosoft.provisionedcluster%hci",
16-
"expiresOn": 1620000256
19+
"expiresOn": 1620000256,
20+
"serviceConfigurationToken": "SSHvjqH=pTlKql=RtMGw/-k5VFBxSYHIiq5ZgbGFcLkNrDNz5fDsinCN2zkG"
1721
},
1822
"ingress": {
1923
"hostname": "clusterhostname",

specification/hybridconnectivity/resource-manager/Microsoft.HybridConnectivity/stable/2023-03-15/hybridconnectivity.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,14 @@
636636
},
637637
{
638638
"$ref": "#/parameters/AccessTokenExpirationParameter"
639+
},
640+
{
641+
"name": "ListIngressGatewayCredentialsRequest",
642+
"in": "body",
643+
"schema": {
644+
"$ref": "#/definitions/ListIngressGatewayCredentialsRequest"
645+
},
646+
"description": "Object of type ListIngressGatewayCredentialsRequest"
639647
}
640648
],
641649
"responses": {
@@ -1050,6 +1058,24 @@
10501058
}
10511059
}
10521060
}
1061+
},
1062+
"ListIngressGatewayCredentialsRequest": {
1063+
"type": "object",
1064+
"description": "Represent ListIngressGatewayCredentials Request object.",
1065+
"properties": {
1066+
"serviceName": {
1067+
"type": "string",
1068+
"description": "The name of the service.",
1069+
"enum": [
1070+
"SSH",
1071+
"WAC"
1072+
],
1073+
"x-ms-enum": {
1074+
"name": "serviceName",
1075+
"modelAsString": true
1076+
}
1077+
}
1078+
}
10531079
}
10541080
},
10551081
"parameters": {

0 commit comments

Comments
 (0)