Skip to content

Commit b545320

Browse files
authored
Merge pull request #1792 from Azure/addressCommentsFromExt
[footprintmonitoring] Make provisioning state read-only, change example names.
2 parents 466f25e + 92d7ddf commit b545320

File tree

2 files changed

+25
-24
lines changed

2 files changed

+25
-24
lines changed

specification/footprintmonitoring/resource-manager/Microsoft.FootprintMonitoring/preview/2020-02-01-preview/footprintProfiles.json

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"tags": [ "API Operations" ],
3737
"operationId": "operations_List",
3838
"x-ms-examples": {
39-
"FootprintOperationsList": {
39+
"List all operations available.": {
4040
"$ref": "./examples/operationsList.json"
4141
}
4242
},
@@ -73,7 +73,7 @@
7373
"description": "Retrieves the information about all Footprint profiles under a subscription.",
7474
"operationId": "profiles_ListBySubscription",
7575
"x-ms-examples": {
76-
"List Footprint profiles in a Subscription": {
76+
"List all Footprint profiles under a subscription.": {
7777
"$ref": "./examples/profilesListBySubscription.json"
7878
}
7979
},
@@ -111,7 +111,7 @@
111111
"description": "Retrieves the information about all Footprint profiles under a resource group.",
112112
"operationId": "profiles_ListByResourceGroup",
113113
"x-ms-examples": {
114-
"List Footprint profiles in a Resource Group": {
114+
"List all Footprint profiles under a Resource Group.": {
115115
"$ref": "./examples/profilesListByResourceGroup.json"
116116
}
117117
},
@@ -152,7 +152,7 @@
152152
"description": "Retrieves the information about a single Footprint profile.",
153153
"operationId": "profiles_Get",
154154
"x-ms-examples": {
155-
"profilesGet": {
155+
"Get the details of a Footprint profile.": {
156156
"$ref": "./examples/profilesGet.json"
157157
}
158158
},
@@ -191,7 +191,7 @@
191191
"description": "Creates or updates a Footprint profile with the specified properties.",
192192
"operationId": "profiles_CreateOrUpdate",
193193
"x-ms-examples": {
194-
"profilesCreateOrUpdate": {
194+
"Create or update a Footprint profile.": {
195195
"$ref": "./examples/profilesCreateOrUpdate.json"
196196
}
197197
},
@@ -245,7 +245,7 @@
245245
"description": "Deletes an existing Footprint profile.",
246246
"operationId": "profiles_Delete",
247247
"x-ms-examples": {
248-
"profilesDelete": {
248+
"Delete a Footprint profile.": {
249249
"$ref": "./examples/profilesDelete.json"
250250
}
251251
},
@@ -284,7 +284,7 @@
284284
"description": "Updates an existing Footprint profile resource.",
285285
"operationId": "profiles_Update",
286286
"x-ms-examples": {
287-
"profilesUpdate": {
287+
"Update a Footprint profile.": {
288288
"$ref": "./examples/profilesUpdate.json"
289289
}
290290
},
@@ -334,7 +334,7 @@
334334
"description": "Retrieves the information about all measurement endpoints under a Footprint profile.",
335335
"operationId": "measurementEndpoints_ListByProfile",
336336
"x-ms-examples": {
337-
"measurementEndpointsListByProfile": {
337+
"List all the measurement endpoints under a Footprint profile.": {
338338
"$ref": "./examples/measurementEndpointsListByProfile.json"
339339
}
340340
},
@@ -378,7 +378,7 @@
378378
"description": "Retrieves the information about a single measurement endpoint under a Footprint profile.",
379379
"operationId": "measurementEndpoints_Get",
380380
"x-ms-examples": {
381-
"measurementEndpointsGet": {
381+
"Get the details of a measurement endpoint.": {
382382
"$ref": "./examples/measurementEndpointsGet.json"
383383
}
384384
},
@@ -420,7 +420,7 @@
420420
"description": "Creates or updates a single measurement endpoint under a Footprint profile with the specified properties.",
421421
"operationId": "measurementEndpoints_CreateOrUpdate",
422422
"x-ms-examples": {
423-
"measurementEndpointsCreateOrUpdate": {
423+
"Create or update a measurement endpoint.": {
424424
"$ref": "./examples/measurementEndpointsCreateOrUpdate.json"
425425
}
426426
},
@@ -477,7 +477,7 @@
477477
"description": "Deletes an existing measurement endpoint under a Footprint profile.",
478478
"operationId": "measurementEndpoints_Delete",
479479
"x-ms-examples": {
480-
"measurementEndpointsDelete": {
480+
"Delete a measurement endpoint.": {
481481
"$ref": "./examples/measurementEndpointsDelete.json"
482482
}
483483
},
@@ -521,7 +521,7 @@
521521
"description": "Retrieves the information about all measurement endpoint conditions under a Footprint measurement endpoint.",
522522
"operationId": "measurementEndpointConditions_ListByMeasurementEndpoint",
523523
"x-ms-examples": {
524-
"measurementEndpointConditionsListByEndpoint": {
524+
"List all conditions under a measurement endpoint.": {
525525
"$ref": "./examples/measurementEndpointConditionsListByEndpoint.json"
526526
}
527527
},
@@ -568,7 +568,7 @@
568568
"description": "Retrieves the information about a single measurement endpoint condition under a Footprint measurement endpoint.",
569569
"operationId": "measurementEndpointConditions_Get",
570570
"x-ms-examples": {
571-
"measurementEndpointConditionGet": {
571+
"Get the details of a measurement endpoint condition.": {
572572
"$ref": "./examples/measurementEndpointConditionGet.json"
573573
}
574574
},
@@ -613,7 +613,7 @@
613613
"description": "Creates or updates a measurement endpoint condition under a Footprint measurement with the specified properties.",
614614
"operationId": "measurementEndpointConditions_CreateOrUpdate",
615615
"x-ms-examples": {
616-
"measurementEndpointConditionCreateOrUpdate": {
616+
"Create or update a measurement endpoint condition.": {
617617
"$ref": "./examples/measurementEndpointConditionCreateOrUpdate.json"
618618
}
619619
},
@@ -673,7 +673,7 @@
673673
"description": "Deletes an existing measurement endpoint condition under a Footprint measurement.",
674674
"operationId": "measurementEndpointConditions_Delete",
675675
"x-ms-examples": {
676-
"measurementEndpointConditionDelete": {
676+
"Delete a measurement endpoint condition.": {
677677
"$ref": "./examples/measurementEndpointConditionDelete.json"
678678
}
679679
},
@@ -720,7 +720,7 @@
720720
"description": "Retrieves the information about all experiments under a Footprint profile.",
721721
"operationId": "experiments_ListByProfile",
722722
"x-ms-examples": {
723-
"experimentsListByProfile": {
723+
"List all experiments under a Footprint profile.": {
724724
"$ref": "./examples/experimentsListByProfile.json"
725725
}
726726
},
@@ -764,7 +764,7 @@
764764
"description": "Retrieves the information about a single Footprint experiment.",
765765
"operationId": "experiments_Get",
766766
"x-ms-examples": {
767-
"experimentsGet": {
767+
"Get the details of an experiment.": {
768768
"$ref": "./examples/experimentsGet.json"
769769
}
770770
},
@@ -806,7 +806,7 @@
806806
"description": "Creates or updates a Footprint experiment with the specified properties.",
807807
"operationId": "experiments_CreateOrUpdate",
808808
"x-ms-examples": {
809-
"experimentsCreateOrUpdate": {
809+
"Create or update an experiment.": {
810810
"$ref": "./examples/experimentsCreateOrUpdate.json"
811811
}
812812
},
@@ -863,7 +863,7 @@
863863
"description": "Deletes an existing Footprint experiment.",
864864
"operationId": "experiments_Delete",
865865
"x-ms-examples": {
866-
"experimentsDelete": {
866+
"Delete an experiment.": {
867867
"$ref": "./examples/experimentsDelete.json"
868868
}
869869
},
@@ -1089,6 +1089,7 @@
10891089
"provisioningState": {
10901090
"type": "string",
10911091
"description": "The provisioned state of the resource.",
1092+
"readOnly": true,
10921093
"enum": [
10931094
"Succeeded",
10941095
"Failed",

specification/footprintmonitoring/resource-manager/readme.az.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ These settings apply only when `--az` is specified on the command line.
44

55
``` yaml $(az)
66
az:
7-
extensions: footprintmonitoring
8-
namespace: azure.mgmt.footprintmonitoring
9-
package-name: azure-mgmt-footprintmonitoring
7+
extensions: footprint
8+
namespace: azure.mgmt.footprint
9+
package-name: azure-mgmt-footprint
1010
randomize-names: true
11-
az-output-folder: $(azure-cli-extension-folder)/src/footprintmonitoring
12-
python-sdk-output-folder: "$(az-output-folder)/azext_footprintmonitoring/vendored_sdks/footprintmonitoring"
11+
az-output-folder: $(azure-cli-extension-folder)/src/footprint
12+
python-sdk-output-folder: "$(az-output-folder)/azext_footprint/vendored_sdks/footprint"
1313
# add additinal configuration here specific for Azure CLI
1414
# refer to the faq.md for more details
1515
```

0 commit comments

Comments
 (0)