|
17 | 17 | short-summary: Manage Azure API Management API's.
|
18 | 18 | """
|
19 | 19 |
|
| 20 | +helps['apim product api'] = """ |
| 21 | +type: group |
| 22 | +short-summary: Manage Azure API Management Product's APIs. |
| 23 | +""" |
| 24 | + |
| 25 | +helps['apim product'] = """ |
| 26 | +type: group |
| 27 | +short-summary: Manage Azure API Management Product's. |
| 28 | +""" |
| 29 | + |
| 30 | +helps['apim nv'] = """ |
| 31 | +type: group |
| 32 | +short-summary: Manage Azure API Management Named Values. |
| 33 | +""" |
| 34 | + |
| 35 | +helps['apim api operation'] = """ |
| 36 | +type: group |
| 37 | +short-summary: Manage Azure API Management API Operations. |
| 38 | +""" |
| 39 | + |
| 40 | +helps['apim api release'] = """ |
| 41 | +type: group |
| 42 | +short-summary: Manage Azure API Management API Release. |
| 43 | +""" |
| 44 | + |
| 45 | +helps['apim api revision'] = """ |
| 46 | +type: group |
| 47 | +short-summary: Manage Azure API Management API Revision. |
| 48 | +""" |
| 49 | + |
| 50 | +helps['apim api versionset'] = """ |
| 51 | +type: group |
| 52 | +short-summary: Manage Azure API Management API Version Set. |
| 53 | +""" |
| 54 | + |
20 | 55 | helps['apim backup'] = """
|
21 | 56 | type: command
|
22 | 57 | short-summary: Creates a backup of the API Management service to the given Azure Storage Account. This is long running operation and could take several minutes to complete.
|
|
147 | 182 | type: command
|
148 | 183 | short-summary: Import an API Management service instance.
|
149 | 184 | """
|
| 185 | + |
| 186 | +helps['apim product api list'] = """ |
| 187 | +type: command |
| 188 | +short-summary: Lists a collection of the APIs associated with a product. |
| 189 | +examples: |
| 190 | + - name: List all APIs associated with a product. |
| 191 | + text: |- |
| 192 | + az apim product api list --resource-group MyResourceGroup --service-name MyServiceName --product-id MyProductID |
| 193 | +""" |
| 194 | + |
| 195 | +helps['apim product api check'] = """ |
| 196 | +type: command |
| 197 | +short-summary: Checks that API entity specified by identifier is associated with the Product entity. |
| 198 | +examples: |
| 199 | + - name: Check if the API is associated with the Product. |
| 200 | + text: |- |
| 201 | + az apim product api check --resource-group MyResourceGroup --service-name MyServiceName --product-id MyProductID --api-id MyAPIID |
| 202 | +""" |
| 203 | + |
| 204 | +helps['apim product api add'] = """ |
| 205 | +type: command |
| 206 | +short-summary: Add an API to the specified product. |
| 207 | +examples: |
| 208 | + - name: Add an API to the specified product. |
| 209 | + text: |- |
| 210 | + az apim product api add --resource-group MyResourceGroup --service-name MyServiceName --product-id MyProductID --api-id MyAPIID |
| 211 | +""" |
| 212 | + |
| 213 | +helps['apim product api delete'] = """ |
| 214 | +type: command |
| 215 | +short-summary: Deletes the specified API from the specified product. |
| 216 | +examples: |
| 217 | + - name: Deletes the specified API from the specified product. |
| 218 | + text: |- |
| 219 | + az apim product api delete --resource-group MyResourceGroup --service-name MyServiceName --product-id MyProductID --api-id MyAPIID |
| 220 | +""" |
| 221 | + |
| 222 | +helps['apim product list'] = """ |
| 223 | +type: command |
| 224 | +short-summary: Lists a collection of products in the specified service instance. |
| 225 | +examples: |
| 226 | + - name: List all products for this APIM instance. |
| 227 | + text: |- |
| 228 | + az apim product list --resource-group MyResourceGroup --service-name MyServiceName |
| 229 | +""" |
| 230 | + |
| 231 | +helps['apim product show'] = """ |
| 232 | +type: command |
| 233 | +short-summary: Gets the details of the product specified by its identifier. |
| 234 | +examples: |
| 235 | + - name: Gets the details of the product specified by its identifier. |
| 236 | + text: |- |
| 237 | + az apim product show --resource-group MyResourceGroup --service-name MyServiceName --product-id MyProductID |
| 238 | +""" |
| 239 | + |
| 240 | +helps['apim product create'] = """ |
| 241 | +type: command |
| 242 | +short-summary: Creates a product. |
| 243 | +examples: |
| 244 | + - name: Creates a product. |
| 245 | + text: |- |
| 246 | + az apim product create --resource-group MyResourceGroup --service-name MyServiceName --product-id MyProductID --product-name MyProductName --description MyDescription --legal-terms MyTerms --subscription-required true --approval-required true --subscriptions-limit 8 --state "published" |
| 247 | +""" |
| 248 | + |
| 249 | +helps['apim product update'] = """ |
| 250 | +type: command |
| 251 | +short-summary: Update existing product details. |
| 252 | +examples: |
| 253 | + - name: Update existing product details. |
| 254 | + text: |- |
| 255 | + az apim product update --resource-group MyResourceGroup --service-name MyServiceName --product-id MyProductID --product-name MyNewProductName --description MyNewDescription --legal-terms MyNewTerms --subscription-required false --state "notPublished" |
| 256 | +""" |
| 257 | + |
| 258 | +helps['apim product delete'] = """ |
| 259 | +type: command |
| 260 | +short-summary: Delete product. |
| 261 | +examples: |
| 262 | + - name: Delete product with all subscriptions to this product. |
| 263 | + text: |- |
| 264 | + az apim product delete --resource-group MyResourceGroup --service-name MyServiceName --product-id MyProductID --delete-subscriptions true |
| 265 | +""" |
| 266 | + |
| 267 | +helps['apim nv list'] = """ |
| 268 | +type: command |
| 269 | +short-summary: List API Management Named Values. |
| 270 | +""" |
| 271 | + |
| 272 | +helps['apim nv show'] = """ |
| 273 | +type: command |
| 274 | +short-summary: Show details of an API Management Named Value. |
| 275 | +""" |
| 276 | + |
| 277 | +helps['apim nv show-secret'] = """ |
| 278 | +type: command |
| 279 | +short-summary: Gets the secret of an API Management Named Value. |
| 280 | +""" |
| 281 | + |
| 282 | +helps['apim nv delete'] = """ |
| 283 | +type: command |
| 284 | +short-summary: Delete an API Management Named Value. |
| 285 | +""" |
| 286 | + |
| 287 | +helps['apim nv create'] = """ |
| 288 | +type: command |
| 289 | +short-summary: Create an API Management Named Value. |
| 290 | +parameters: |
| 291 | + - name: --named-value-id |
| 292 | + type: string |
| 293 | + short-summary: unique name for the Named Value to be created |
| 294 | + long-summary: | |
| 295 | + Must be unique in the current API Management service instance. |
| 296 | + - name: --display-name |
| 297 | + type: string |
| 298 | + short-summary: The Display name of the Named Value. |
| 299 | + - name: --value |
| 300 | + type: string |
| 301 | + short-summary: The value of the Named Value. |
| 302 | +examples: |
| 303 | + - name: Create a Named Value. |
| 304 | + text: |- |
| 305 | + az apim nv create --service-name MyApim -g MyResourceGroup --named-value-id MyNamedValue --display-name 'My Named Value' --value 'foo' |
| 306 | +""" |
| 307 | + |
| 308 | +helps['apim nv update'] = """ |
| 309 | +type: command |
| 310 | +short-summary: Update an API Management Named Value. |
| 311 | +parameters: |
| 312 | + - name: --named-value-id |
| 313 | + type: string |
| 314 | + short-summary: unique name of the api to be created |
| 315 | + long-summary: | |
| 316 | + Must be unique in the current API Management service instance. |
| 317 | + - name: --value |
| 318 | + type: string |
| 319 | + short-summary: The value of the Named Value. |
| 320 | +examples: |
| 321 | + - name: Create a basic API. |
| 322 | + text: |- |
| 323 | + az apim nv update --service-name MyApim -g MyResourceGroup --named-value-id MyNamedValue --value foo |
| 324 | +""" |
| 325 | + |
| 326 | +helps['apim api operation list'] = """ |
| 327 | +type: command |
| 328 | +short-summary: List a collection of the operations for the specified API. |
| 329 | +examples: |
| 330 | + - name: List a collection of the operations for the specified API. |
| 331 | + text: |- |
| 332 | + az apim api operation list --resource-group MyResourceGroup --service-name MyServiceName --api-id MyApiId |
| 333 | +""" |
| 334 | + |
| 335 | +helps['apim api operation show'] = """ |
| 336 | +type: command |
| 337 | +short-summary: Gets the details of the API Operation specified by its identifier. |
| 338 | +examples: |
| 339 | + - name: Gets the details of the API Operation specified by its identifier. |
| 340 | + text: |- |
| 341 | + az apim api operation show --resource-group MyResourceGroup --service-name MyServiceName --api-id MyApiId --operation-id MyOperationId |
| 342 | +""" |
| 343 | + |
| 344 | +helps['apim api operation create'] = """ |
| 345 | +type: command |
| 346 | +short-summary: Creates a new operation in the API |
| 347 | +examples: |
| 348 | + - name: Creates a new operation in the API with several parameters |
| 349 | + text: |- |
| 350 | + az apim api operation create --resource-group MyResourceGroup --service-name MyServiceName --api-id MyApiId --url-template "/session/{param1}/{param2}" --method "GET" --display-name MyOperationName --description MyDescription --template-parameters name=param1 description=descriptionContent type=paramType required="true" --template-parameters name=param2 required="false" type="string" |
| 351 | +""" |
| 352 | + |
| 353 | +helps['apim api operation update'] = """ |
| 354 | +type: command |
| 355 | +short-summary: Updates the details of the operation in the API specified by its identifier. |
| 356 | +examples: |
| 357 | + - name: Updates method, displayname, description of the operation in the API specified by its identifier. |
| 358 | + text: |- |
| 359 | + az apim api operation update --resource-group MyResourceGroup --service-name MyServiceName --api-id MyApiId --operation-id MyOperationId --method "PUT" --display-name NewDisplayName --description NewDescription |
| 360 | +""" |
| 361 | + |
| 362 | +helps['apim api operation delete'] = """ |
| 363 | +type: command |
| 364 | +short-summary: Deletes the specified operation in the API. |
| 365 | +examples: |
| 366 | + - name: Deletes the specified operation in the API. |
| 367 | + text: |- |
| 368 | + az apim api operation delete --resource-group MyResourceGroup --service-name MyServiceName --api-id MyApiId --operation-id MyOperationId |
| 369 | +""" |
| 370 | + |
| 371 | +helps['apim api release list'] = """ |
| 372 | +type: command |
| 373 | +short-summary: Lists all releases of an API. |
| 374 | +examples: |
| 375 | + - name: Lists all releases of an API. |
| 376 | + text: |- |
| 377 | + az apim api release list --resource-group MyResourceGroup --service-name MyServiceName --api-id MyApiId |
| 378 | +""" |
| 379 | + |
| 380 | +helps['apim api release show'] = """ |
| 381 | +type: command |
| 382 | +short-summary: Returns the details of an API release. |
| 383 | +examples: |
| 384 | + - name: Returns the details of an API release. |
| 385 | + text: |- |
| 386 | + az apim api release show --resource-group MyResourceGroup --service-name MyServiceName --api-id MyApiId --release-id MyReleaseId |
| 387 | +""" |
| 388 | + |
| 389 | +helps['apim api release create'] = """ |
| 390 | +type: command |
| 391 | +short-summary: Creates a new Release for the API. |
| 392 | +examples: |
| 393 | + - name: Creates a new Release for the API. |
| 394 | + text: |- |
| 395 | + az apim api release create --resource-group MyResourceGroup --service-name MyServiceName --api-id MyApiId --release-id MyReleaseId --api-revision 2 --notes MyNotes |
| 396 | +""" |
| 397 | + |
| 398 | +helps['apim api release update'] = """ |
| 399 | +type: command |
| 400 | +short-summary: Updates the details of the release of the API specified by its identifier. |
| 401 | +examples: |
| 402 | + - name: Updates the notes of the release of the API specified by its identifier. |
| 403 | + text: |- |
| 404 | + az apim api release update --resource-group MyResourceGroup --service-name MyServiceName --api-id MyApiId --release-id MyReleaseId --notes MyNewNotes |
| 405 | +""" |
| 406 | + |
| 407 | +helps['apim api release delete'] = """ |
| 408 | +type: command |
| 409 | +short-summary: Deletes the specified release in the API. |
| 410 | +examples: |
| 411 | + - name: Deletes the specified release in the API. |
| 412 | + text: |- |
| 413 | + az apim api release delete --resource-group MyResourceGroup --service-name MyServiceName --api-id MyApiId --release-id MyReleaseId |
| 414 | +""" |
| 415 | + |
| 416 | +helps['apim api revision list'] = """ |
| 417 | +type: command |
| 418 | +short-summary: Lists all revisions of an API. |
| 419 | +examples: |
| 420 | + - name: Lists all revisions of an API. |
| 421 | + text: |- |
| 422 | + az apim api revision list --resource-group MyResourceGroup --service-name MyServiceName --api-id MyApiId |
| 423 | +""" |
| 424 | + |
| 425 | +helps['apim api revision create'] = """ |
| 426 | +type: command |
| 427 | +short-summary: Create API revision. |
| 428 | +examples: |
| 429 | + - name: Create a revision for the specfic API. |
| 430 | + text: |- |
| 431 | + az apim api revision create --resource-group MyResourceGroup --service-name MyServiceName --api-id MyApiId --api-revision RevisionNumber --api-revision-description RevisionDescription |
| 432 | +""" |
| 433 | + |
| 434 | +helps['apim api versionset list'] = """ |
| 435 | +type: command |
| 436 | +short-summary: Lists a collection of API Version Sets in the specified service instance. |
| 437 | +examples: |
| 438 | + - name: Lists a collection of API Version Sets in the specified service instance. |
| 439 | + text: |- |
| 440 | + az apim api versionset list --resource-group MyResourceGroup --service-name MyServiceName |
| 441 | +""" |
| 442 | + |
| 443 | +helps['apim api versionset show'] = """ |
| 444 | +type: command |
| 445 | +short-summary: Gets the details of the Api Version Set specified by its identifier. |
| 446 | +examples: |
| 447 | + - name: Gets the details of the Api Version Set specified by its identifier. |
| 448 | + text: |- |
| 449 | + az apim api versionset show --resource-group MyResourceGroup --service-name MyServiceName --version-set-id MyVersionSetId |
| 450 | +""" |
| 451 | + |
| 452 | +helps['apim api versionset create'] = """ |
| 453 | +type: command |
| 454 | +short-summary: Creates a Api Version Set. |
| 455 | +examples: |
| 456 | + - name: Creates a Api Version Set with version schema as header. |
| 457 | + text: |- |
| 458 | + az apim api versionset create --resource-group MyResourceGroup --service-name MyServiceName --version-set-id MyVersionSetId --display-name MyDisplayName --versioning-scheme "Header" --description MyDescription --version-header-name MyHeaderName |
| 459 | + - name: Creates a Api Version Set with version schema as query. |
| 460 | + text: |- |
| 461 | + az apim api versionset create --resource-group MyResourceGroup --service-name MyServiceName --version-set-id MyVersionSetId --display-name MyDisplayName --versioning-scheme "Query" --description MyDescription --version-query-name MyQueryName |
| 462 | +""" |
| 463 | + |
| 464 | +helps['apim api versionset update'] = """ |
| 465 | +type: command |
| 466 | +short-summary: Updates the details of the Api VersionSet specified by its identifier. |
| 467 | +examples: |
| 468 | + - name: Updates the description, display-name of the Api VersionSet specified by its identifier. |
| 469 | + text: |- |
| 470 | + az apim api versionset update --resource-group MyResourceGroup --service-name MyServiceName --version-set-id MyVersionSetId --display-name MyNewDisplayName --description MyNewDescription |
| 471 | + - name: Updates the version schema of the Api VersionSet specified by its identifier. |
| 472 | + text: |- |
| 473 | + az apim api versionset update --resource-group MyResourceGroup --service-name MyServiceName --version-set-id MyVersionSetId --versioning-scheme "Query" --version-query-name MyNewQueryName |
| 474 | +""" |
| 475 | + |
| 476 | +helps['apim api versionset delete'] = """ |
| 477 | +type: command |
| 478 | +short-summary: Deletes specific Api Version Set. |
| 479 | +examples: |
| 480 | + - name: Deletes specific Api Version Set. |
| 481 | + text: |- |
| 482 | + az apim api versionset delete --resource-group MyResourceGroup --service-name MyServiceName --version-set-id MyVersionSetId |
| 483 | +""" |
0 commit comments