github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/output-funcs-edgeorder/schema.json (about) 1 { 2 "name": "myedgeorder", 3 "version": "0.0.1", 4 "language": { 5 "nodejs": { 6 "devDependencies": { 7 "@types/node": "latest", 8 "ts-node": "latest" 9 } 10 }, 11 "csharp": { 12 "projectReferences": [ 13 "..\\..\\..\\..\\..\\..\\..\\sdk\\dotnet\\Pulumi\\Pulumi.csproj" 14 ] 15 }, 16 "go": { 17 "generateExtraInputTypes": true 18 } 19 }, 20 "functions": { 21 "myedgeorder::listConfigurations": { 22 "description": "The list of configurations.\nAPI Version: 2020-12-01-preview.", 23 "inputs": { 24 "properties": { 25 "configurationFilters": { 26 "type": "array", 27 "items": { 28 "type": "object", 29 "$ref": "#/types/myedgeorder::ConfigurationFilters" 30 }, 31 "description": "Holds details about product hierarchy information and filterable property." 32 }, 33 "customerSubscriptionDetails": { 34 "type": "object", 35 "$ref": "#/types/myedgeorder::CustomerSubscriptionDetails", 36 "description": "Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details" 37 }, 38 "skipToken": { 39 "type": "string", 40 "description": "$skipToken is supported on list of configurations, which provides the next page in the list of configurations." 41 } 42 }, 43 "type": "object", 44 "required": [ 45 "configurationFilters" 46 ] 47 }, 48 "outputs": { 49 "description": "The list of configurations.", 50 "properties": { 51 "nextLink": { 52 "type": "string", 53 "description": "Link for the next set of configurations." 54 }, 55 "value": { 56 "type": "array", 57 "items": { 58 "type": "object", 59 "$ref": "#/types/myedgeorder::ConfigurationResponse" 60 }, 61 "description": "List of configurations." 62 } 63 }, 64 "type": "object", 65 "required": [ 66 "value" 67 ] 68 } 69 }, 70 "myedgeorder::listProductFamilies": { 71 "description": "The list of product families.\nAPI Version: 2020-12-01-preview.", 72 "inputs": { 73 "properties": { 74 "customerSubscriptionDetails": { 75 "type": "object", 76 "$ref": "#/types/myedgeorder::CustomerSubscriptionDetails", 77 "description": "Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details" 78 }, 79 "expand": { 80 "type": "string", 81 "description": "$expand is supported on configurations parameter for product, which provides details on the configurations for the product." 82 }, 83 "filterableProperties": { 84 "type": "object", 85 "additionalProperties": { 86 "type": "array", 87 "items": { 88 "type": "object", 89 "$ref": "#/types/myedgeorder::FilterableProperty" 90 } 91 }, 92 "description": "Dictionary of filterable properties on product family." 93 }, 94 "skipToken": { 95 "type": "string", 96 "description": "$skipToken is supported on list of product families, which provides the next page in the list of product families." 97 } 98 }, 99 "type": "object", 100 "required": [ 101 "filterableProperties" 102 ] 103 }, 104 "outputs": { 105 "description": "The list of product families.", 106 "properties": { 107 "nextLink": { 108 "type": "string", 109 "description": "Link for the next set of product families." 110 }, 111 "value": { 112 "type": "array", 113 "items": { 114 "type": "object", 115 "$ref": "#/types/myedgeorder::ProductFamilyResponse" 116 }, 117 "description": "List of product families." 118 } 119 }, 120 "type": "object", 121 "required": [ 122 "value" 123 ] 124 } 125 } 126 }, 127 "types": { 128 "myedgeorder::ConfigurationResponse": { 129 "description": "Configuration object.", 130 "properties": { 131 "availabilityInformation": { 132 "type": "object", 133 "$ref": "#/types/myedgeorder::AvailabilityInformationResponse", 134 "description": "Availability information of the product system." 135 }, 136 "costInformation": { 137 "type": "object", 138 "$ref": "#/types/myedgeorder::CostInformationResponse", 139 "description": "Cost information for the product system." 140 }, 141 "description": { 142 "type": "object", 143 "$ref": "#/types/myedgeorder::DescriptionResponse", 144 "description": "Description related to the product system." 145 }, 146 "dimensions": { 147 "type": "object", 148 "$ref": "#/types/myedgeorder::DimensionsResponse", 149 "description": "Dimensions of the configuration" 150 }, 151 "displayName": { 152 "type": "string", 153 "description": "Display Name for the product system." 154 }, 155 "filterableProperties": { 156 "type": "array", 157 "items": { 158 "type": "object", 159 "$ref": "#/types/myedgeorder::FilterablePropertyResponse" 160 }, 161 "description": "list of filters supported for a product" 162 }, 163 "hierarchyInformation": { 164 "type": "object", 165 "$ref": "#/types/myedgeorder::HierarchyInformationResponse", 166 "description": "Hierarchy information of a product." 167 }, 168 "imageInformation": { 169 "type": "array", 170 "items": { 171 "type": "object", 172 "$ref": "#/types/myedgeorder::ImageInformationResponse" 173 }, 174 "description": "Image information for the product system." 175 }, 176 "specifications": { 177 "type": "array", 178 "items": { 179 "type": "object", 180 "$ref": "#/types/myedgeorder::SpecificationResponse" 181 }, 182 "description": "Specifications of the configuration" 183 } 184 }, 185 "type": "object", 186 "required": [ 187 "availabilityInformation", 188 "costInformation", 189 "description", 190 "dimensions", 191 "displayName", 192 "filterableProperties", 193 "hierarchyInformation", 194 "imageInformation", 195 "specifications" 196 ] 197 }, 198 "myedgeorder::CustomerSubscriptionDetails": { 199 "description": "Holds Customer subscription details. Clients can display available products to unregistered customers by explicitly passing subscription details", 200 "properties": { 201 "locationPlacementId": { 202 "type": "string", 203 "description": "Location placement Id of a subscription" 204 }, 205 "quotaId": { 206 "type": "string", 207 "description": "Quota ID of a subscription" 208 }, 209 "registeredFeatures": { 210 "type": "array", 211 "items": { 212 "type": "object", 213 "$ref": "#/types/myedgeorder::CustomerSubscriptionRegisteredFeatures" 214 }, 215 "description": "List of registered feature flags for subscription" 216 } 217 }, 218 "type": "object", 219 "required": [ 220 "quotaId" 221 ] 222 }, 223 "myedgeorder::ProductFamilyResponse": { 224 "description": "Product Family", 225 "properties": { 226 "availabilityInformation": { 227 "type": "object", 228 "$ref": "#/types/myedgeorder::AvailabilityInformationResponse", 229 "description": "Availability information of the product system." 230 }, 231 "costInformation": { 232 "type": "object", 233 "$ref": "#/types/myedgeorder::CostInformationResponse", 234 "description": "Cost information for the product system." 235 }, 236 "description": { 237 "type": "object", 238 "$ref": "#/types/myedgeorder::DescriptionResponse", 239 "description": "Description related to the product system." 240 }, 241 "displayName": { 242 "type": "string", 243 "description": "Display Name for the product system." 244 }, 245 "filterableProperties": { 246 "type": "array", 247 "items": { 248 "type": "object", 249 "$ref": "#/types/myedgeorder::FilterablePropertyResponse" 250 }, 251 "description": "list of filters supported for a product" 252 }, 253 "hierarchyInformation": { 254 "type": "object", 255 "$ref": "#/types/myedgeorder::HierarchyInformationResponse", 256 "description": "Hierarchy information of a product." 257 }, 258 "imageInformation": { 259 "type": "array", 260 "items": { 261 "type": "object", 262 "$ref": "#/types/myedgeorder::ImageInformationResponse" 263 }, 264 "description": "Image information for the product system." 265 }, 266 "productLines": { 267 "type": "array", 268 "items": { 269 "type": "object", 270 "$ref": "#/types/myedgeorder::ProductLineResponse" 271 }, 272 "description": "List of product lines supported in the product family" 273 } 274 }, 275 "type": "object", 276 "required": [ 277 "availabilityInformation", 278 "costInformation", 279 "description", 280 "displayName", 281 "filterableProperties", 282 "hierarchyInformation", 283 "imageInformation", 284 "productLines" 285 ] 286 }, 287 "myedgeorder::ConfigurationFilters": { 288 "description": "Configuration filters", 289 "properties": { 290 "filterableProperty": { 291 "type": "array", 292 "items": { 293 "type": "object", 294 "$ref": "#/types/myedgeorder::FilterableProperty" 295 }, 296 "description": "Filters specific to product" 297 }, 298 "hierarchyInformation": { 299 "type": "object", 300 "$ref": "#/types/myedgeorder::HierarchyInformation", 301 "description": "Product hierarchy information" 302 } 303 }, 304 "type": "object", 305 "required": [ 306 "hierarchyInformation" 307 ] 308 }, 309 "myedgeorder::FilterableProperty": { 310 "description": "Different types of filters supported and its values.", 311 "properties": { 312 "supportedValues": { 313 "type": "array", 314 "items": { 315 "type": "string" 316 }, 317 "description": "Values to be filtered." 318 }, 319 "type": { 320 "oneOf": [ 321 { 322 "type": "string" 323 }, 324 { 325 "$ref": "#/types/myedgeorder::SupportedFilterTypes" 326 } 327 ], 328 "description": "Type of product filter." 329 } 330 }, 331 "type": "object", 332 "required": [ 333 "supportedValues", 334 "type" 335 ] 336 }, 337 "myedgeorder::AvailabilityInformationResponse": { 338 "description": "Availability information of a product system.", 339 "properties": { 340 "availabilityStage": { 341 "type": "string", 342 "description": "Current availability stage of the product. Availability stage" 343 }, 344 "disabledReason": { 345 "type": "string", 346 "description": "Reason why the product is disabled." 347 }, 348 "disabledReasonMessage": { 349 "type": "string", 350 "description": "Message for why the product is disabled." 351 } 352 }, 353 "type": "object", 354 "required": [ 355 "availabilityStage", 356 "disabledReason", 357 "disabledReasonMessage" 358 ] 359 }, 360 "myedgeorder::CostInformationResponse": { 361 "description": "Cost information for the product system", 362 "properties": { 363 "billingInfoUrl": { 364 "type": "string", 365 "description": "Default url to display billing information" 366 }, 367 "billingMeterDetails": { 368 "type": "array", 369 "items": { 370 "type": "object", 371 "$ref": "#/types/myedgeorder::BillingMeterDetailsResponse" 372 }, 373 "description": "Details on the various billing aspects for the product system." 374 } 375 }, 376 "type": "object", 377 "required": [ 378 "billingInfoUrl", 379 "billingMeterDetails" 380 ] 381 }, 382 "myedgeorder::DescriptionResponse": { 383 "description": "Description related properties of a product system.", 384 "properties": { 385 "attributes": { 386 "type": "array", 387 "items": { 388 "type": "string" 389 }, 390 "description": "Attributes for the product system." 391 }, 392 "descriptionType": { 393 "type": "string", 394 "description": "Type of description." 395 }, 396 "keywords": { 397 "type": "array", 398 "items": { 399 "type": "string" 400 }, 401 "description": "Keywords for the product system." 402 }, 403 "links": { 404 "type": "array", 405 "items": { 406 "type": "object", 407 "$ref": "#/types/myedgeorder::LinkResponse" 408 }, 409 "description": "Links for the product system." 410 }, 411 "longDescription": { 412 "type": "string", 413 "description": "Long description of the product system." 414 }, 415 "shortDescription": { 416 "type": "string", 417 "description": "Short description of the product system." 418 } 419 }, 420 "type": "object", 421 "required": [ 422 "attributes", 423 "descriptionType", 424 "keywords", 425 "links", 426 "longDescription", 427 "shortDescription" 428 ] 429 }, 430 "myedgeorder::DimensionsResponse": { 431 "description": "Dimensions of a configuration.", 432 "properties": { 433 "depth": { 434 "type": "number", 435 "description": "Depth of the device." 436 }, 437 "height": { 438 "type": "number", 439 "description": "Height of the device." 440 }, 441 "length": { 442 "type": "number", 443 "description": "Length of the device." 444 }, 445 "lengthHeightUnit": { 446 "type": "string", 447 "description": "Unit for the dimensions of length, height and width." 448 }, 449 "weight": { 450 "type": "number", 451 "description": "Weight of the device." 452 }, 453 "weightUnit": { 454 "type": "string", 455 "description": "Unit for the dimensions of weight." 456 }, 457 "width": { 458 "type": "number", 459 "description": "Width of the device." 460 } 461 }, 462 "type": "object", 463 "required": [ 464 "depth", 465 "height", 466 "length", 467 "lengthHeightUnit", 468 "weight", 469 "weightUnit", 470 "width" 471 ] 472 }, 473 "myedgeorder::SpecificationResponse": { 474 "description": "Specifications of the configurations", 475 "properties": { 476 "name": { 477 "type": "string", 478 "description": "Name of the specification" 479 }, 480 "value": { 481 "type": "string", 482 "description": "Value of the specification" 483 } 484 }, 485 "type": "object", 486 "required": [ 487 "name", 488 "value" 489 ] 490 }, 491 "myedgeorder::HierarchyInformation": { 492 "description": "Holds details about product hierarchy information", 493 "properties": { 494 "configurationName": { 495 "type": "string", 496 "description": "Represents configuration name that uniquely identifies configuration" 497 }, 498 "productFamilyName": { 499 "type": "string", 500 "description": "Represents product family name that uniquely identifies product family" 501 }, 502 "productLineName": { 503 "type": "string", 504 "description": "Represents product line name that uniquely identifies product line" 505 }, 506 "productName": { 507 "type": "string", 508 "description": "Represents product name that uniquely identifies product" 509 } 510 }, 511 "type": "object" 512 }, 513 "myedgeorder::CustomerSubscriptionRegisteredFeatures": { 514 "description": "Represents subscription registered features", 515 "properties": { 516 "name": { 517 "type": "string", 518 "description": "Name of subscription registered feature" 519 }, 520 "state": { 521 "type": "string", 522 "description": "State of subscription registered feature" 523 } 524 }, 525 "type": "object" 526 }, 527 "myedgeorder::ImageInformationResponse": { 528 "description": "Image for the product", 529 "properties": { 530 "imageType": { 531 "type": "string", 532 "description": "Type of the image" 533 }, 534 "imageUrl": { 535 "type": "string", 536 "description": "Url of the image" 537 } 538 }, 539 "type": "object", 540 "required": [ 541 "imageType", 542 "imageUrl" 543 ] 544 }, 545 "myedgeorder::HierarchyInformationResponse": { 546 "description": "Holds details about product hierarchy information", 547 "properties": { 548 "configurationName": { 549 "type": "string", 550 "description": "Represents configuration name that uniquely identifies configuration" 551 }, 552 "productFamilyName": { 553 "type": "string", 554 "description": "Represents product family name that uniquely identifies product family" 555 }, 556 "productLineName": { 557 "type": "string", 558 "description": "Represents product line name that uniquely identifies product line" 559 }, 560 "productName": { 561 "type": "string", 562 "description": "Represents product name that uniquely identifies product" 563 } 564 }, 565 "type": "object" 566 }, 567 "myedgeorder::ProductLineResponse": { 568 "description": "Product line", 569 "properties": { 570 "availabilityInformation": { 571 "type": "object", 572 "$ref": "#/types/myedgeorder::AvailabilityInformationResponse", 573 "description": "Availability information of the product system." 574 }, 575 "costInformation": { 576 "type": "object", 577 "$ref": "#/types/myedgeorder::CostInformationResponse", 578 "description": "Cost information for the product system." 579 }, 580 "description": { 581 "type": "object", 582 "$ref": "#/types/myedgeorder::DescriptionResponse", 583 "description": "Description related to the product system." 584 }, 585 "displayName": { 586 "type": "string", 587 "description": "Display Name for the product system." 588 }, 589 "filterableProperties": { 590 "type": "array", 591 "items": { 592 "type": "object", 593 "$ref": "#/types/myedgeorder::FilterablePropertyResponse" 594 }, 595 "description": "list of filters supported for a product" 596 }, 597 "hierarchyInformation": { 598 "type": "object", 599 "$ref": "#/types/myedgeorder::HierarchyInformationResponse", 600 "description": "Hierarchy information of a product." 601 }, 602 "imageInformation": { 603 "type": "array", 604 "items": { 605 "type": "object", 606 "$ref": "#/types/myedgeorder::ImageInformationResponse" 607 }, 608 "description": "Image information for the product system." 609 }, 610 "products": { 611 "type": "array", 612 "items": { 613 "type": "object", 614 "$ref": "#/types/myedgeorder::ProductResponse" 615 }, 616 "description": "List of products in the product line" 617 } 618 }, 619 "type": "object", 620 "required": [ 621 "availabilityInformation", 622 "costInformation", 623 "description", 624 "displayName", 625 "filterableProperties", 626 "hierarchyInformation", 627 "imageInformation", 628 "products" 629 ] 630 }, 631 "myedgeorder::FilterablePropertyResponse": { 632 "description": "Different types of filters supported and its values.", 633 "properties": { 634 "supportedValues": { 635 "type": "array", 636 "items": { 637 "type": "string" 638 }, 639 "description": "Values to be filtered." 640 }, 641 "type": { 642 "type": "string", 643 "description": "Type of product filter." 644 } 645 }, 646 "type": "object", 647 "required": [ 648 "supportedValues", 649 "type" 650 ] 651 }, 652 "myedgeorder::SupportedFilterTypes": { 653 "description": "Type of product filter.", 654 "type": "string", 655 "enum": [ 656 { 657 "description": "Ship to country", 658 "value": "ShipToCountries" 659 }, 660 { 661 "description": "Double encryption status", 662 "value": "DoubleEncryptionStatus" 663 } 664 ] 665 }, 666 "myedgeorder::BillingMeterDetailsResponse": { 667 "description": "Holds billing meter details for each type of billing", 668 "properties": { 669 "frequency": { 670 "type": "string", 671 "description": "Frequency of recurrence" 672 }, 673 "meterDetails": { 674 "oneOf": [ 675 { 676 "type": "object", 677 "$ref": "#/types/myedgeorder::Pav2MeterDetailsResponse" 678 }, 679 { 680 "type": "object", 681 "$ref": "#/types/myedgeorder::PurchaseMeterDetailsResponse" 682 } 683 ], 684 "discriminator": { 685 "propertyName": "billingType", 686 "mapping": { 687 "Pav2": "#/types/myedgeorder::Pav2MeterDetailsResponse", 688 "Purchase": "#/types/myedgeorder::PurchaseMeterDetailsResponse" 689 } 690 }, 691 "description": "Represents MeterDetails" 692 }, 693 "meteringType": { 694 "type": "string", 695 "description": "Represents Metering type (eg one-time or recurrent)" 696 }, 697 "name": { 698 "type": "string", 699 "description": "Represents Billing type name" 700 } 701 }, 702 "type": "object", 703 "required": [ 704 "frequency", 705 "meterDetails", 706 "meteringType", 707 "name" 708 ] 709 }, 710 "myedgeorder::ProductResponse": { 711 "description": "List of Products", 712 "properties": { 713 "availabilityInformation": { 714 "type": "object", 715 "$ref": "#/types/myedgeorder::AvailabilityInformationResponse", 716 "description": "Availability information of the product system." 717 }, 718 "configurations": { 719 "type": "array", 720 "items": { 721 "type": "object", 722 "$ref": "#/types/myedgeorder::ConfigurationResponse" 723 }, 724 "description": "List of configurations for the product" 725 }, 726 "costInformation": { 727 "type": "object", 728 "$ref": "#/types/myedgeorder::CostInformationResponse", 729 "description": "Cost information for the product system." 730 }, 731 "description": { 732 "type": "object", 733 "$ref": "#/types/myedgeorder::DescriptionResponse", 734 "description": "Description related to the product system." 735 }, 736 "displayName": { 737 "type": "string", 738 "description": "Display Name for the product system." 739 }, 740 "filterableProperties": { 741 "type": "array", 742 "items": { 743 "type": "object", 744 "$ref": "#/types/myedgeorder::FilterablePropertyResponse" 745 }, 746 "description": "list of filters supported for a product" 747 }, 748 "hierarchyInformation": { 749 "type": "object", 750 "$ref": "#/types/myedgeorder::HierarchyInformationResponse", 751 "description": "Hierarchy information of a product." 752 }, 753 "imageInformation": { 754 "type": "array", 755 "items": { 756 "type": "object", 757 "$ref": "#/types/myedgeorder::ImageInformationResponse" 758 }, 759 "description": "Image information for the product system." 760 } 761 }, 762 "type": "object", 763 "required": [ 764 "availabilityInformation", 765 "configurations", 766 "costInformation", 767 "description", 768 "displayName", 769 "filterableProperties", 770 "hierarchyInformation", 771 "imageInformation" 772 ] 773 }, 774 "myedgeorder::LinkResponse": { 775 "description": "Returns link related to the product", 776 "properties": { 777 "linkType": { 778 "type": "string", 779 "description": "Type of link" 780 }, 781 "linkUrl": { 782 "type": "string", 783 "description": "Url of the link" 784 } 785 }, 786 "type": "object", 787 "required": [ 788 "linkType", 789 "linkUrl" 790 ] 791 }, 792 "myedgeorder::PurchaseMeterDetailsResponse": { 793 "description": "Billing type Purchase meter details", 794 "properties": { 795 "billingType": { 796 "type": "string", 797 "description": "Represents billing type.\nExpected value is 'Purchase'.", 798 "const": "Purchase" 799 }, 800 "chargingType": { 801 "type": "string", 802 "description": "Charging type." 803 }, 804 "multiplier": { 805 "type": "number", 806 "description": "Billing unit applicable for Pav2 billing" 807 }, 808 "productId": { 809 "type": "string", 810 "description": "Product Id" 811 }, 812 "skuId": { 813 "type": "string", 814 "description": "Sku Id" 815 }, 816 "termId": { 817 "type": "string", 818 "description": "Term Id" 819 } 820 }, 821 "type": "object", 822 "required": [ 823 "billingType", 824 "chargingType", 825 "multiplier", 826 "productId", 827 "skuId", 828 "termId" 829 ] 830 }, 831 "myedgeorder::Pav2MeterDetailsResponse": { 832 "description": "Billing type PAV2 meter details", 833 "properties": { 834 "billingType": { 835 "type": "string", 836 "description": "Represents billing type.\nExpected value is 'Pav2'.", 837 "const": "Pav2" 838 }, 839 "chargingType": { 840 "type": "string", 841 "description": "Charging type." 842 }, 843 "meterGuid": { 844 "type": "string", 845 "description": "Validation status of requested data center and transport." 846 }, 847 "multiplier": { 848 "type": "number", 849 "description": "Billing unit applicable for Pav2 billing" 850 } 851 }, 852 "type": "object", 853 "required": [ 854 "billingType", 855 "chargingType", 856 "meterGuid", 857 "multiplier" 858 ] 859 } 860 } 861 }