Closed
Description
Description
When I run az resource list --namespace microsoft.insights --resource-type components
I get the list of Application Insights components. Json field properties
is shown as null
for them:
{
"id": "/subscriptions/01f5dafd-52e6-4115-b012-803e14712153/resourceGroups/metricstest/providers/microsoft.insights/components/metricstest",
"identity": null,
"kind": "web",
"location": "eastus",
"managedBy": null,
"name": "metricstest",
"plan": null,
"properties": null,
"resourceGroup": "metricstest",
"sku": null,
"tags": {},
"type": "microsoft.insights/components"
},
Actual properties looks like this:
{
"id": "/subscriptions/01f5dafd-52e6-4115-b012-803e14712153/resourceGroups/MetricsTest/providers/microsoft.insights/components/metricstest",
"name": "metricstest",
"type": "microsoft.insights/components",
"location": "East US",
"tags": {},
"kind": "web",
"etag": "\"02001b81-0000-0000-0000-582e73720000\"",
"properties": {
"Ver": "v2",
"ApplicationId": "metricstest",
"AppId": "0c7e8188-1694-46ed-a642-6256073c177f",
"Application_Type": "web",
"Flow_Type": "Redfield",
"Request_Source": "IbizaAIExtension",
"InstrumentationKey": "6f54ba65-5b29-423c-a696-6e93c7fa0c58",
"Name": "metricstest",
"CreationDate": "2016-06-26T17:51:47.3274152+00:00",
"PackageId": null,
"TenantId": "94e37bed-e625-4771-ac40-fd27b8c9f940",
"HockeyAppId": null,
"HockeyAppToken": null,
"provisioningState": "Succeeded",
"SamplingPercentage": null
}
}
Environment summary
Install Method: Just used it from Azure portal:
CLI Version: What version of the CLI and modules are installed? (Use az --version
)
Answer here:
sergey@Azure:~$ az --version
azure-cli (2.0.6)
acr (2.0.4)
acs (2.0.6)
appservice (0.1.6)
batch (2.0.4)
cdn (0.0.2)
cloud (2.0.2)
cognitiveservices (0.1.2)
command-modules-nspkg (2.0.0)
component (2.0.4)
configure (2.0.6)
core (2.0.6)
cosmosdb (0.1.6)
dla (0.0.6)
dls (0.0.6)
feedback (2.0.2)
find (0.2.2)
interactive (0.3.2)
iot (0.1.5)
keyvault (2.0.4)
lab (0.0.4)
monitor (0.0.4)
network (2.0.6)
nspkg (3.0.0)
profile (2.0.4)
rdbms (0.0.1)
redis (0.2.3)
resource (2.0.6)
role (2.0.4)
sf (1.0.1)
sql (2.0.3)
storage (2.0.6)
vm (2.0.6)
Python (Linux) 3.5.2 (default, Nov 17 2016, 17:05:23)
[GCC 5.4.0 20160609]
Python location '/usr/bin/python'
OS Version: What OS and version are you using?
Answer here: In-browser on Azure portal.
Shell Type: What shell are you using? (e.g. bash, cmd.exe, Bash on Windows)
Answer here: In-browser on Azure portal