az webapp list |
Azure : Liste d'application Web |
---|---|
Azure CLI |
Syntaxe
az webapp list [--query-examples] [--resource-group] [--subscription] |
Paramètres
Nom | Description |
---|---|
--query-examples | Ce paramètre permet de recommander une chaîne de caractères JMESPath. |
--resource-group | Ce paramètre permet d'indiquer le nom du groupe de ressources. Vous pouvez configurer le groupe par défaut à l'aide de «az configure --defaults group=name». |
--subscription | Ce paramètre permet d'indiquer le Nom ou l'identificateur de l'abonnement. Vous pouvez configurer l'abonnement par défaut à l'aide de l'ensemble de comptes «az account set -s NAME_OR_ID». |
Description
Cette commande permet d'afficher la liste des applications Web.
Exemple
L'exemple suivant permet d'afficher toute la liste des applications :
az webapp list |
on obtiendra un résultat ressemblant à ceci :
[ { "appServicePlanId": "/subscriptions/0a12b34c-567d-8901-e123-a12abc34df01/resourceGroups/Lab-Gladir/providers/Microsoft.Web/serverfarms/ASP-Gladir-a1ab", "availabilityState": "Normal", "clientAffinityEnabled": false, "clientCertEnabled": false, "clientCertExclusionPaths": null, "cloningInfo": null, "containerSize": 0, "dailyMemoryTimeQuota": 0, "defaultHostName": "test2.azurewebsites.net", "enabled": true, "enabledHostNames": [ "test2.azurewebsites.net", "test2.scm.azurewebsites.net" ], "hostNameSslStates": [ { "hostType": "Standard", "ipBasedSslResult": null, "ipBasedSslState": "NotConfigured", "name": "test2.azurewebsites.net", "sslState": "Disabled", "thumbprint": null, "toUpdate": null, "toUpdateIpBasedSsl": null, "virtualIp": null }, { "hostType": "Repository", "ipBasedSslResult": null, "ipBasedSslState": "NotConfigured", "name": "test2.scm.azurewebsites.net", "sslState": "Disabled", "thumbprint": null, "toUpdate": null, "toUpdateIpBasedSsl": null, "virtualIp": null } ], "hostNames": [ "test2.azurewebsites.net" ], "hostNamesDisabled": false, "hostingEnvironmentProfile": null, "httpsOnly": false, "hyperV": false, "id": "/subscriptions/0a12b34c-567d-8901-e123-a12abc34df01/resourceGroups/Lab-Gladir/providers/Microsoft.Web/sites/test2", "identity": null, "inProgressOperationId": null, "isDefaultContainer": null, "isXenon": false, "kind": "app,linux,container", "lastModifiedTimeUtc": "2020-09-29T13:04:23.280000", "location": "Canada East", "maxNumberOfWorkers": null, "name": "test2", "outboundIpAddresses": "1.242.22.213,1.242.17.182,1.242.22.49,1.242.16.79,1.242.23.165", "possibleOutboundIpAddresses": "1.242.22.213,1.242.17.182,1.242.22.49,1.242.16.79,1.242.23.165,1.235.57.241,1.235.20.4", "redundancyMode": "None", "repositorySiteName": "test2", "reserved": true, "resourceGroup": "Lab-Gladir", "scmSiteAlsoStopped": false, "siteConfig": { "acrUseManagedIdentityCreds": false, "acrUserManagedIdentityID": null, "alwaysOn": null, "apiDefinition": null, "apiManagementConfig": null, "appCommandLine": null, "appSettings": null, "autoHealEnabled": null, "autoHealRules": null, "autoSwapSlotName": null, "azureMonitorLogCategories": null, "azureStorageAccounts": null, "connectionStrings": null, "cors": null, "customAppPoolIdentityAdminState": null, "customAppPoolIdentityTenantState": null, "defaultDocuments": null, "detailedErrorLoggingEnabled": null, "documentRoot": null, "experiments": null, "fileChangeAuditEnabled": null, "ftpsState": null, "functionAppScaleLimit": null, "functionsRuntimeScaleMonitoringEnabled": null, "handlerMappings": null, "healthCheckPath": null, "http20Enabled": null, "httpLoggingEnabled": null, "ipSecurityRestrictions": null, "javaContainer": null, "javaContainerVersion": null, "javaVersion": null, "limits": null, "linuxFxVersion": null, "loadBalancing": null, "localMySqlEnabled": null, "logsDirectorySizeLimit": null, "machineKey": null, "managedPipelineMode": null, "managedServiceIdentityId": null, "metadata": null, "minTlsVersion": null, "minimumElasticInstanceCount": 0, "netFrameworkVersion": null, "nodeVersion": null, "numberOfWorkers": null, "phpVersion": null, "powerShellVersion": null, "preWarmedInstanceCount": null, "publishingPassword": null, "publishingUsername": null, "push": null, "pythonVersion": null, "remoteDebuggingEnabled": null, "remoteDebuggingVersion": null, "requestTracingEnabled": null, "requestTracingExpirationTime": null, "routingRules": null, "runtimeADUser": null, "runtimeADUserPassword": null, "scmIpSecurityRestrictions": null, "scmIpSecurityRestrictionsUseMain": null, "scmMinTlsVersion": null, "scmType": null, "tracingOptions": null, "use32BitWorkerProcess": null, "virtualApplications": null, "vnetName": null, "vnetRouteAllEnabled": null, "webSocketsEnabled": null, "websiteTimeZone": null, "winAuthAdminState": null, "winAuthTenantState": null, "windowsFxVersion": null, "xManagedServiceIdentityId": null }, "slotSwapStatus": null, "state": "Running", "suspendedTill": null, "tags": null, "targetSwapSlot": null, "trafficManagerHostNames": null, "type": "Microsoft.Web/sites", "usageState": "Normal" } ] |
Dernière mise à jour : Vendredi, le 20 avril 2018