Lista por subscrição de recursos de aplicação

Obtém todos os recursos de aplicação numa determinada subscrição.

Obtém a informação sobre todos os recursos de aplicação numa determinada subscrição. A informação inclui a informação sobre os serviços da aplicação e outras propriedades de tempo de execução.

Pedir

Método URI do pedido
GET /subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabricMesh/applications?api-version=2018-07-01-preview

Parâmetros

Nome Tipo Necessário Localização
subscriptionId string Yes Caminho
api-version string Sim Consulta

subscriptionId

Tipo: corda
Requerido: Sim

O identificador de assinatura de cliente


api-version

Tipo: corda
Requerido: Sim
Predefinição: 2018-07-01-preview

A versão da API. Este parâmetro é necessário e o seu valor deve ser 2018-07-01-preview.

Respostas

Código de Estado HTTP Descrição Esquema de Resposta
200 (OK) OK
Lista de Descrição de Recursos Deorigem de Aplicações
Todos os outros códigos de estado Erro
Modelo de Erro

Exemplos

Lista de Aplicações

Pedir

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabricMesh/applications?api-version=2018-07-01-preview

200 Resposta

Corpo
{
  "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"
      }
    }
  ]
}