Enumerar por suscripción de recursos de aplicación
Obtiene todos los recursos de la aplicación de una suscripción determinada.
Obtiene la información sobre todos los recursos de la aplicación de una suscripción determinada. La información incluye la información sobre los servicios de la aplicación y otras propiedades en tiempo de ejecución.
Solicitud
Método | URI de solicitud |
---|---|
GET | /subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabricMesh/applications?api-version=2018-07-01-preview |
Parámetros
Nombre | Tipo | Requerido | Location |
---|---|---|---|
subscriptionId |
string | Sí | Ruta de acceso |
api-version |
string | Sí | Consultar |
subscriptionId
Tipo: cadena
Obligatoria: sí
Identificador de suscripción de cliente
api-version
Tipo: cadena
Obligatoria: sí
Predeterminado:
La versión de la API. Este parámetro es necesario y su valor debe ser 2018-07-01-preview
.
Respuestas
Código de estado HTTP | Descripción | Esquema de respuesta |
---|---|---|
200 (OK) | Aceptar |
ApplicationResourceDescriptionList |
Todos los demás códigos de estado | Error |
ErrorModel |
Ejemplos
ApplicationList
Request
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabricMesh/applications?api-version=2018-07-01-preview
Respuesta 200
Cuerpo
{
"value": [
{
"type": "Microsoft.ServiceFabricMesh/applications",
"location": "eastus",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/abhisramvol/providers/Microsoft.ServiceFabricMesh/applications/myappl",
"name": "myappl",
"tags": {},
"properties": {
"provisioningState": "Succeeded",
"healthState": "Ok",
"serviceNames": [
"myservice"
],
"status": "Ready"
}
},
{
"type": "Microsoft.ServiceFabricMesh/applications",
"location": "eastus",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/abhisramvol/providers/Microsoft.ServiceFabricMesh/applications/myappw",
"name": "myappw",
"tags": {},
"properties": {
"provisioningState": "Succeeded",
"healthState": "Ok",
"serviceNames": [
"myservice"
],
"status": "Ready"
}
},
{
"type": "Microsoft.ServiceFabricMesh/applications",
"location": "EastUS",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/mfussellapp2/providers/Microsoft.ServiceFabricMesh/applications/SbzVoting",
"name": "SbzVoting",
"tags": {},
"properties": {
"provisioningState": "Succeeded",
"description": "Voting SeaBreeze!",
"healthState": "Ok",
"serviceNames": [
"VotingWeb",
"VotingData"
],
"status": "Ready"
}
},
{
"type": "Microsoft.ServiceFabricMesh/applications",
"location": "EastUS",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/mfussellapp3/providers/Microsoft.ServiceFabricMesh/applications/SbzVoting",
"name": "SbzVoting",
"tags": {},
"properties": {
"provisioningState": "Succeeded",
"description": "Voting SeaBreeze!",
"healthState": "Ok",
"serviceNames": [
"VotingWeb",
"VotingData"
],
"status": "Ready"
}
},
{
"type": "Microsoft.ServiceFabricMesh/applications",
"location": "eastus",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/applications/helloWorldApp",
"name": "helloWorldApp",
"tags": {},
"properties": {
"provisioningState": "Succeeded",
"description": "SeaBreeze HelloWorld Application!",
"healthState": "Ok",
"serviceNames": [
"helloWorldService"
],
"status": "Ready"
}
},
{
"type": "Microsoft.ServiceFabricMesh/applications",
"location": "eastus",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/applications/helloWorldAppWindows",
"name": "helloWorldAppWindows",
"tags": {},
"properties": {
"provisioningState": "Succeeded",
"description": "SeaBreeze HelloWorld Application!",
"healthState": "Ok",
"serviceNames": [
"helloWorldService"
],
"status": "Ready"
}
},
{
"type": "Microsoft.ServiceFabricMesh/applications",
"location": "eastus",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sridhar1ResourceGroup/providers/Microsoft.ServiceFabricMesh/applications/privateRegistryExampleApp",
"name": "privateRegistryExampleApp",
"tags": {},
"properties": {
"provisioningState": "Updating",
"description": "SeaBreeze example application with container deployed from private image registry.",
"healthState": "Ok",
"serviceNames": [
"helloWorldService"
],
"status": "Invalid"
}
},
{
"type": "Microsoft.ServiceFabricMesh/applications",
"location": "eastus",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sridhar4ResourceGroup/providers/Microsoft.ServiceFabricMesh/applications/SbzVoting",
"name": "SbzVoting",
"tags": {},
"properties": {
"provisioningState": "Succeeded",
"description": "Voting SeaBreeze!",
"healthState": "Ok",
"serviceNames": [
"VotingWeb",
"VotingData"
],
"status": "Ready"
}
},
{
"type": "Microsoft.ServiceFabricMesh/applications",
"location": "eastus",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sridharResourceGroup/providers/Microsoft.ServiceFabricMesh/applications/privateRegistryExampleApp",
"name": "privateRegistryExampleApp",
"tags": {},
"properties": {
"provisioningState": "Updating",
"description": "SeaBreeze example application with container deployed from private image registry.",
"healthState": "Ok",
"serviceNames": [
"helloWorldService"
],
"status": "Invalid"
}
},
{
"type": "Microsoft.ServiceFabricMesh/applications",
"location": "eastus",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sridharRG/providers/Microsoft.ServiceFabricMesh/applications/privateRegistryExampleApp",
"name": "privateRegistryExampleApp",
"tags": {},
"properties": {
"provisioningState": "Updating",
"description": "SeaBreeze example application with container deployed from private image registry.",
"healthState": "Ok",
"serviceNames": [
"helloWorldService"
],
"status": "Invalid"
}
}
]
}