Skip to content

Commit

Permalink
Merge pull request #1792 from Azure/addressCommentsFromExt
Browse files Browse the repository at this point in the history
[footprintmonitoring] Make provisioning state read-only, change example names.
  • Loading branch information
qiaozha authored Aug 5, 2020
2 parents 466f25e + 92d7ddf commit b545320
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"tags": [ "API Operations" ],
"operationId": "operations_List",
"x-ms-examples": {
"FootprintOperationsList": {
"List all operations available.": {
"$ref": "./examples/operationsList.json"
}
},
Expand Down Expand Up @@ -73,7 +73,7 @@
"description": "Retrieves the information about all Footprint profiles under a subscription.",
"operationId": "profiles_ListBySubscription",
"x-ms-examples": {
"List Footprint profiles in a Subscription": {
"List all Footprint profiles under a subscription.": {
"$ref": "./examples/profilesListBySubscription.json"
}
},
Expand Down Expand Up @@ -111,7 +111,7 @@
"description": "Retrieves the information about all Footprint profiles under a resource group.",
"operationId": "profiles_ListByResourceGroup",
"x-ms-examples": {
"List Footprint profiles in a Resource Group": {
"List all Footprint profiles under a Resource Group.": {
"$ref": "./examples/profilesListByResourceGroup.json"
}
},
Expand Down Expand Up @@ -152,7 +152,7 @@
"description": "Retrieves the information about a single Footprint profile.",
"operationId": "profiles_Get",
"x-ms-examples": {
"profilesGet": {
"Get the details of a Footprint profile.": {
"$ref": "./examples/profilesGet.json"
}
},
Expand Down Expand Up @@ -191,7 +191,7 @@
"description": "Creates or updates a Footprint profile with the specified properties.",
"operationId": "profiles_CreateOrUpdate",
"x-ms-examples": {
"profilesCreateOrUpdate": {
"Create or update a Footprint profile.": {
"$ref": "./examples/profilesCreateOrUpdate.json"
}
},
Expand Down Expand Up @@ -245,7 +245,7 @@
"description": "Deletes an existing Footprint profile.",
"operationId": "profiles_Delete",
"x-ms-examples": {
"profilesDelete": {
"Delete a Footprint profile.": {
"$ref": "./examples/profilesDelete.json"
}
},
Expand Down Expand Up @@ -284,7 +284,7 @@
"description": "Updates an existing Footprint profile resource.",
"operationId": "profiles_Update",
"x-ms-examples": {
"profilesUpdate": {
"Update a Footprint profile.": {
"$ref": "./examples/profilesUpdate.json"
}
},
Expand Down Expand Up @@ -334,7 +334,7 @@
"description": "Retrieves the information about all measurement endpoints under a Footprint profile.",
"operationId": "measurementEndpoints_ListByProfile",
"x-ms-examples": {
"measurementEndpointsListByProfile": {
"List all the measurement endpoints under a Footprint profile.": {
"$ref": "./examples/measurementEndpointsListByProfile.json"
}
},
Expand Down Expand Up @@ -378,7 +378,7 @@
"description": "Retrieves the information about a single measurement endpoint under a Footprint profile.",
"operationId": "measurementEndpoints_Get",
"x-ms-examples": {
"measurementEndpointsGet": {
"Get the details of a measurement endpoint.": {
"$ref": "./examples/measurementEndpointsGet.json"
}
},
Expand Down Expand Up @@ -420,7 +420,7 @@
"description": "Creates or updates a single measurement endpoint under a Footprint profile with the specified properties.",
"operationId": "measurementEndpoints_CreateOrUpdate",
"x-ms-examples": {
"measurementEndpointsCreateOrUpdate": {
"Create or update a measurement endpoint.": {
"$ref": "./examples/measurementEndpointsCreateOrUpdate.json"
}
},
Expand Down Expand Up @@ -477,7 +477,7 @@
"description": "Deletes an existing measurement endpoint under a Footprint profile.",
"operationId": "measurementEndpoints_Delete",
"x-ms-examples": {
"measurementEndpointsDelete": {
"Delete a measurement endpoint.": {
"$ref": "./examples/measurementEndpointsDelete.json"
}
},
Expand Down Expand Up @@ -521,7 +521,7 @@
"description": "Retrieves the information about all measurement endpoint conditions under a Footprint measurement endpoint.",
"operationId": "measurementEndpointConditions_ListByMeasurementEndpoint",
"x-ms-examples": {
"measurementEndpointConditionsListByEndpoint": {
"List all conditions under a measurement endpoint.": {
"$ref": "./examples/measurementEndpointConditionsListByEndpoint.json"
}
},
Expand Down Expand Up @@ -568,7 +568,7 @@
"description": "Retrieves the information about a single measurement endpoint condition under a Footprint measurement endpoint.",
"operationId": "measurementEndpointConditions_Get",
"x-ms-examples": {
"measurementEndpointConditionGet": {
"Get the details of a measurement endpoint condition.": {
"$ref": "./examples/measurementEndpointConditionGet.json"
}
},
Expand Down Expand Up @@ -613,7 +613,7 @@
"description": "Creates or updates a measurement endpoint condition under a Footprint measurement with the specified properties.",
"operationId": "measurementEndpointConditions_CreateOrUpdate",
"x-ms-examples": {
"measurementEndpointConditionCreateOrUpdate": {
"Create or update a measurement endpoint condition.": {
"$ref": "./examples/measurementEndpointConditionCreateOrUpdate.json"
}
},
Expand Down Expand Up @@ -673,7 +673,7 @@
"description": "Deletes an existing measurement endpoint condition under a Footprint measurement.",
"operationId": "measurementEndpointConditions_Delete",
"x-ms-examples": {
"measurementEndpointConditionDelete": {
"Delete a measurement endpoint condition.": {
"$ref": "./examples/measurementEndpointConditionDelete.json"
}
},
Expand Down Expand Up @@ -720,7 +720,7 @@
"description": "Retrieves the information about all experiments under a Footprint profile.",
"operationId": "experiments_ListByProfile",
"x-ms-examples": {
"experimentsListByProfile": {
"List all experiments under a Footprint profile.": {
"$ref": "./examples/experimentsListByProfile.json"
}
},
Expand Down Expand Up @@ -764,7 +764,7 @@
"description": "Retrieves the information about a single Footprint experiment.",
"operationId": "experiments_Get",
"x-ms-examples": {
"experimentsGet": {
"Get the details of an experiment.": {
"$ref": "./examples/experimentsGet.json"
}
},
Expand Down Expand Up @@ -806,7 +806,7 @@
"description": "Creates or updates a Footprint experiment with the specified properties.",
"operationId": "experiments_CreateOrUpdate",
"x-ms-examples": {
"experimentsCreateOrUpdate": {
"Create or update an experiment.": {
"$ref": "./examples/experimentsCreateOrUpdate.json"
}
},
Expand Down Expand Up @@ -863,7 +863,7 @@
"description": "Deletes an existing Footprint experiment.",
"operationId": "experiments_Delete",
"x-ms-examples": {
"experimentsDelete": {
"Delete an experiment.": {
"$ref": "./examples/experimentsDelete.json"
}
},
Expand Down Expand Up @@ -1089,6 +1089,7 @@
"provisioningState": {
"type": "string",
"description": "The provisioned state of the resource.",
"readOnly": true,
"enum": [
"Succeeded",
"Failed",
Expand Down
10 changes: 5 additions & 5 deletions specification/footprintmonitoring/resource-manager/readme.az.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ These settings apply only when `--az` is specified on the command line.

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

0 comments on commit b545320

Please sign in to comment.