Skip to content

Commit

Permalink
Add "serviceName" to ListIngressGatewayCredentialsRequest (#23819)
Browse files Browse the repository at this point in the history
  • Loading branch information
pruthvidhodda authored May 8, 2023
1 parent 7e48d5f commit 17aa6a1
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand All @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,14 @@
},
{
"$ref": "#/parameters/AccessTokenExpirationParameter"
},
{
"name": "ListIngressGatewayCredentialsRequest",
"in": "body",
"schema": {
"$ref": "#/definitions/ListIngressGatewayCredentialsRequest"
},
"description": "Object of type ListIngressGatewayCredentialsRequest"
}
],
"responses": {
Expand Down Expand Up @@ -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": {
Expand Down

0 comments on commit 17aa6a1

Please sign in to comment.