@@ -98,6 +98,55 @@ Content : {"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#users
9898
9999Get current signed in user via MicrosoftGraph API. This example is equivalent to ` Get-AzADUser -SignedIn ` .
100100
101+ ### Example 3
102+ ``` powershell
103+ $subscriptionId = (Get-AzContext).Subscription.ID
104+ Invoke-AzRestMethod -SubscriptionId $subscriptionId -ResourceGroupName "test-group" -ResourceProviderName Microsoft.AppPlatform -ResourceType Spring,apps -Name "test-spring-service" -ApiVersion 2020-07-01 -Method GET
105+ ```
106+
107+ ``` output
108+ Headers : {[Cache-Control, System.String[]], [Pragma, System.String[]], [Vary, System.String[]], [x-ms-request-id,
109+ System.String[]]…}
110+ Version : 1.1
111+ StatusCode : 200
112+ Method : GET
113+ Content : {"value":[{"properties":{"public":true,"url":"https://test-spring-service-demo.azuremicroservices.io","provisioni
114+ ngState":"Succeeded","activeDeploymentName":"default","fqdn":"test-spring-service.azuremicroservices.io","httpsOn
115+ ly":false,"createdTime":"2022-06-22T02:57:13.272Z","temporaryDisk":{"sizeInGB":5,"mountPath":"/tmp"},"pers
116+ istentDisk":{"sizeInGB":0,"mountPath":"/persistent"}},"type":"Microsoft.AppPlatform/Spring/apps","identity
117+ ":null,"location":"eastus","id":"/subscriptions/$subscriptionId/resourceGroups/test-group/providers/Microsoft.AppPlatform/Spring/test-spring-service/apps/demo","name":"demo"},{"properties":{"publ
118+ ic":false,"provisioningState":"Succeeded","activeDeploymentName":"deploy01","fqdn":"test-spring-service.azuremicr
119+ oservices.io","httpsOnly":false,"createdTime":"2022-06-22T07:46:54.9Z","temporaryDisk":{"sizeInGB":5,"moun
120+ tPath":"/tmp"},"persistentDisk":{"sizeInGB":0,"mountPath":"/persistent"}},"type":"Microsoft.AppPlatform/Sp
121+ ring/apps","identity":null,"location":"eastus","id":"/subscriptions/$subscriptionId/r
122+ esourceGroups/test-group/providers/Microsoft.AppPlatform/Spring/test-spring-service/apps/pwsh01","name":"pwsh0
123+ 1"}]}
124+ ```
125+
126+ List apps under spring service "test-spring-service"
127+
128+ ### Example 4
129+ ``` powershell
130+ $subscriptionId = (Get-AzContext).Subscription.ID
131+ Invoke-AzRestMethod -SubscriptionId $subscriptionId -ResourceGroupName "test-group" -ResourceProviderName Microsoft.AppPlatform -ResourceType Spring -Name "test-spring-service","demo" -ApiVersion 2020-07-01 -Method GET
132+ ```
133+
134+ ``` output
135+ Headers : {[Cache-Control, System.String[]], [Pragma, System.String[]], [Vary, System.String[]], [x-ms-request-id,
136+ System.String[]]…}
137+ Version : 1.1
138+ StatusCode : 200
139+ Method : GET
140+ Content : {"properties":{"public":true,"url":"https://test-spring-service-demo.azuremicroservices.io","provisioningState":"
141+ Succeeded","activeDeploymentName":"default","fqdn":"test-spring-service.azuremicroservices.io","httpsOnly":false,
142+ "createdTime":"2022-06-22T02:57:13.272Z","temporaryDisk":{"sizeInGB":5,"mountPath":"/tmp"},"persistentDisk
143+ ":{"sizeInGB":0,"mountPath":"/persistent"}},"type":"Microsoft.AppPlatform/Spring/apps","identity":null,"lo
144+ cation":"eastus","id":"/subscriptions/$subscriptionId/resourceGroups/test-group/pr
145+ oviders/Microsoft.AppPlatform/Spring/test-spring-service/apps/demo","name":"demo"}
146+ ```
147+
148+ Get app "demo" under Spring cloud service "test-spring-service"
149+
101150## PARAMETERS
102151
103152### -ApiVersion
0 commit comments