pulumi/tests/testdata/codegen/output-funcs-edgeorder/schema.json

857 lines
26 KiB
JSON

{
"name": "myedgeorder",
"version": "0.0.1",
"language": {
"nodejs": {
"devDependencies": {
"@types/node": "ts4.3",
"ts-node": "latest"
}
},
"go": {
"generateExtraInputTypes": true
}
},
"functions": {
"myedgeorder::listConfigurations": {
"description": "The list of configurations.\nAPI Version: 2020-12-01-preview.",
"inputs": {
"properties": {
"configurationFilters": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/myedgeorder::ConfigurationFilters"
},
"description": "Holds details about product hierarchy information and filterable property."
},
"customerSubscriptionDetails": {
"type": "object",
"$ref": "#/types/myedgeorder::CustomerSubscriptionDetails",
"description": "Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details"
},
"skipToken": {
"type": "string",
"description": "$skipToken is supported on list of configurations, which provides the next page in the list of configurations."
}
},
"type": "object",
"required": [
"configurationFilters"
]
},
"outputs": {
"description": "The list of configurations.",
"properties": {
"nextLink": {
"type": "string",
"description": "Link for the next set of configurations."
},
"value": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/myedgeorder::ConfigurationResponse"
},
"description": "List of configurations."
}
},
"type": "object",
"required": [
"value"
]
}
},
"myedgeorder::listProductFamilies": {
"description": "The list of product families.\nAPI Version: 2020-12-01-preview.",
"inputs": {
"properties": {
"customerSubscriptionDetails": {
"type": "object",
"$ref": "#/types/myedgeorder::CustomerSubscriptionDetails",
"description": "Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details"
},
"expand": {
"type": "string",
"description": "$expand is supported on configurations parameter for product, which provides details on the configurations for the product."
},
"filterableProperties": {
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/myedgeorder::FilterableProperty"
}
},
"description": "Dictionary of filterable properties on product family."
},
"skipToken": {
"type": "string",
"description": "$skipToken is supported on list of product families, which provides the next page in the list of product families."
}
},
"type": "object",
"required": [
"filterableProperties"
]
},
"outputs": {
"description": "The list of product families.",
"properties": {
"nextLink": {
"type": "string",
"description": "Link for the next set of product families."
},
"value": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/myedgeorder::ProductFamilyResponse"
},
"description": "List of product families."
}
},
"type": "object",
"required": [
"value"
]
}
}
},
"types": {
"myedgeorder::ConfigurationResponse": {
"description": "Configuration object.",
"properties": {
"availabilityInformation": {
"type": "object",
"$ref": "#/types/myedgeorder::AvailabilityInformationResponse",
"description": "Availability information of the product system."
},
"costInformation": {
"type": "object",
"$ref": "#/types/myedgeorder::CostInformationResponse",
"description": "Cost information for the product system."
},
"description": {
"type": "object",
"$ref": "#/types/myedgeorder::DescriptionResponse",
"description": "Description related to the product system."
},
"dimensions": {
"type": "object",
"$ref": "#/types/myedgeorder::DimensionsResponse",
"description": "Dimensions of the configuration"
},
"displayName": {
"type": "string",
"description": "Display Name for the product system."
},
"filterableProperties": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/myedgeorder::FilterablePropertyResponse"
},
"description": "list of filters supported for a product"
},
"hierarchyInformation": {
"type": "object",
"$ref": "#/types/myedgeorder::HierarchyInformationResponse",
"description": "Hierarchy information of a product."
},
"imageInformation": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/myedgeorder::ImageInformationResponse"
},
"description": "Image information for the product system."
},
"specifications": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/myedgeorder::SpecificationResponse"
},
"description": "Specifications of the configuration"
}
},
"type": "object",
"required": [
"availabilityInformation",
"costInformation",
"description",
"dimensions",
"displayName",
"filterableProperties",
"hierarchyInformation",
"imageInformation",
"specifications"
]
},
"myedgeorder::CustomerSubscriptionDetails": {
"description": "Holds Customer subscription details. Clients can display available products to unregistered customers by explicitly passing subscription details",
"properties": {
"locationPlacementId": {
"type": "string",
"description": "Location placement Id of a subscription"
},
"quotaId": {
"type": "string",
"description": "Quota ID of a subscription"
},
"registeredFeatures": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/myedgeorder::CustomerSubscriptionRegisteredFeatures"
},
"description": "List of registered feature flags for subscription"
}
},
"type": "object",
"required": [
"quotaId"
]
},
"myedgeorder::ProductFamilyResponse": {
"description": "Product Family",
"properties": {
"availabilityInformation": {
"type": "object",
"$ref": "#/types/myedgeorder::AvailabilityInformationResponse",
"description": "Availability information of the product system."
},
"costInformation": {
"type": "object",
"$ref": "#/types/myedgeorder::CostInformationResponse",
"description": "Cost information for the product system."
},
"description": {
"type": "object",
"$ref": "#/types/myedgeorder::DescriptionResponse",
"description": "Description related to the product system."
},
"displayName": {
"type": "string",
"description": "Display Name for the product system."
},
"filterableProperties": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/myedgeorder::FilterablePropertyResponse"
},
"description": "list of filters supported for a product"
},
"hierarchyInformation": {
"type": "object",
"$ref": "#/types/myedgeorder::HierarchyInformationResponse",
"description": "Hierarchy information of a product."
},
"imageInformation": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/myedgeorder::ImageInformationResponse"
},
"description": "Image information for the product system."
},
"productLines": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/myedgeorder::ProductLineResponse"
},
"description": "List of product lines supported in the product family"
}
},
"type": "object",
"required": [
"availabilityInformation",
"costInformation",
"description",
"displayName",
"filterableProperties",
"hierarchyInformation",
"imageInformation",
"productLines"
]
},
"myedgeorder::ConfigurationFilters": {
"description": "Configuration filters",
"properties": {
"filterableProperty": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/myedgeorder::FilterableProperty"
},
"description": "Filters specific to product"
},
"hierarchyInformation": {
"type": "object",
"$ref": "#/types/myedgeorder::HierarchyInformation",
"description": "Product hierarchy information"
}
},
"type": "object",
"required": [
"hierarchyInformation"
]
},
"myedgeorder::FilterableProperty": {
"description": "Different types of filters supported and its values.",
"properties": {
"supportedValues": {
"type": "array",
"items": {
"type": "string"
},
"description": "Values to be filtered."
},
"type": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/myedgeorder::SupportedFilterTypes"
}
],
"description": "Type of product filter."
}
},
"type": "object",
"required": [
"supportedValues",
"type"
]
},
"myedgeorder::AvailabilityInformationResponse": {
"description": "Availability information of a product system.",
"properties": {
"availabilityStage": {
"type": "string",
"description": "Current availability stage of the product. Availability stage"
},
"disabledReason": {
"type": "string",
"description": "Reason why the product is disabled."
},
"disabledReasonMessage": {
"type": "string",
"description": "Message for why the product is disabled."
}
},
"type": "object",
"required": [
"availabilityStage",
"disabledReason",
"disabledReasonMessage"
]
},
"myedgeorder::CostInformationResponse": {
"description": "Cost information for the product system",
"properties": {
"billingInfoUrl": {
"type": "string",
"description": "Default url to display billing information"
},
"billingMeterDetails": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/myedgeorder::BillingMeterDetailsResponse"
},
"description": "Details on the various billing aspects for the product system."
}
},
"type": "object",
"required": [
"billingInfoUrl",
"billingMeterDetails"
]
},
"myedgeorder::DescriptionResponse": {
"description": "Description related properties of a product system.",
"properties": {
"attributes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Attributes for the product system."
},
"descriptionType": {
"type": "string",
"description": "Type of description."
},
"keywords": {
"type": "array",
"items": {
"type": "string"
},
"description": "Keywords for the product system."
},
"links": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/myedgeorder::LinkResponse"
},
"description": "Links for the product system."
},
"longDescription": {
"type": "string",
"description": "Long description of the product system."
},
"shortDescription": {
"type": "string",
"description": "Short description of the product system."
}
},
"type": "object",
"required": [
"attributes",
"descriptionType",
"keywords",
"links",
"longDescription",
"shortDescription"
]
},
"myedgeorder::DimensionsResponse": {
"description": "Dimensions of a configuration.",
"properties": {
"depth": {
"type": "number",
"description": "Depth of the device."
},
"height": {
"type": "number",
"description": "Height of the device."
},
"length": {
"type": "number",
"description": "Length of the device."
},
"lengthHeightUnit": {
"type": "string",
"description": "Unit for the dimensions of length, height and width."
},
"weight": {
"type": "number",
"description": "Weight of the device."
},
"weightUnit": {
"type": "string",
"description": "Unit for the dimensions of weight."
},
"width": {
"type": "number",
"description": "Width of the device."
}
},
"type": "object",
"required": [
"depth",
"height",
"length",
"lengthHeightUnit",
"weight",
"weightUnit",
"width"
]
},
"myedgeorder::SpecificationResponse": {
"description": "Specifications of the configurations",
"properties": {
"name": {
"type": "string",
"description": "Name of the specification"
},
"value": {
"type": "string",
"description": "Value of the specification"
}
},
"type": "object",
"required": [
"name",
"value"
]
},
"myedgeorder::HierarchyInformation": {
"description": "Holds details about product hierarchy information",
"properties": {
"configurationName": {
"type": "string",
"description": "Represents configuration name that uniquely identifies configuration"
},
"productFamilyName": {
"type": "string",
"description": "Represents product family name that uniquely identifies product family"
},
"productLineName": {
"type": "string",
"description": "Represents product line name that uniquely identifies product line"
},
"productName": {
"type": "string",
"description": "Represents product name that uniquely identifies product"
}
},
"type": "object"
},
"myedgeorder::CustomerSubscriptionRegisteredFeatures": {
"description": "Represents subscription registered features",
"properties": {
"name": {
"type": "string",
"description": "Name of subscription registered feature"
},
"state": {
"type": "string",
"description": "State of subscription registered feature"
}
},
"type": "object"
},
"myedgeorder::ImageInformationResponse": {
"description": "Image for the product",
"properties": {
"imageType": {
"type": "string",
"description": "Type of the image"
},
"imageUrl": {
"type": "string",
"description": "Url of the image"
}
},
"type": "object",
"required": [
"imageType",
"imageUrl"
]
},
"myedgeorder::HierarchyInformationResponse": {
"description": "Holds details about product hierarchy information",
"properties": {
"configurationName": {
"type": "string",
"description": "Represents configuration name that uniquely identifies configuration"
},
"productFamilyName": {
"type": "string",
"description": "Represents product family name that uniquely identifies product family"
},
"productLineName": {
"type": "string",
"description": "Represents product line name that uniquely identifies product line"
},
"productName": {
"type": "string",
"description": "Represents product name that uniquely identifies product"
}
},
"type": "object"
},
"myedgeorder::ProductLineResponse": {
"description": "Product line",
"properties": {
"availabilityInformation": {
"type": "object",
"$ref": "#/types/myedgeorder::AvailabilityInformationResponse",
"description": "Availability information of the product system."
},
"costInformation": {
"type": "object",
"$ref": "#/types/myedgeorder::CostInformationResponse",
"description": "Cost information for the product system."
},
"description": {
"type": "object",
"$ref": "#/types/myedgeorder::DescriptionResponse",
"description": "Description related to the product system."
},
"displayName": {
"type": "string",
"description": "Display Name for the product system."
},
"filterableProperties": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/myedgeorder::FilterablePropertyResponse"
},
"description": "list of filters supported for a product"
},
"hierarchyInformation": {
"type": "object",
"$ref": "#/types/myedgeorder::HierarchyInformationResponse",
"description": "Hierarchy information of a product."
},
"imageInformation": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/myedgeorder::ImageInformationResponse"
},
"description": "Image information for the product system."
},
"products": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/myedgeorder::ProductResponse"
},
"description": "List of products in the product line"
}
},
"type": "object",
"required": [
"availabilityInformation",
"costInformation",
"description",
"displayName",
"filterableProperties",
"hierarchyInformation",
"imageInformation",
"products"
]
},
"myedgeorder::FilterablePropertyResponse": {
"description": "Different types of filters supported and its values.",
"properties": {
"supportedValues": {
"type": "array",
"items": {
"type": "string"
},
"description": "Values to be filtered."
},
"type": {
"type": "string",
"description": "Type of product filter."
}
},
"type": "object",
"required": [
"supportedValues",
"type"
]
},
"myedgeorder::SupportedFilterTypes": {
"description": "Type of product filter.",
"type": "string",
"enum": [
{
"description": "Ship to country",
"value": "ShipToCountries"
},
{
"description": "Double encryption status",
"value": "DoubleEncryptionStatus"
}
]
},
"myedgeorder::BillingMeterDetailsResponse": {
"description": "Holds billing meter details for each type of billing",
"properties": {
"frequency": {
"type": "string",
"description": "Frequency of recurrence"
},
"meterDetails": {
"oneOf": [
{
"type": "object",
"$ref": "#/types/myedgeorder::Pav2MeterDetailsResponse"
},
{
"type": "object",
"$ref": "#/types/myedgeorder::PurchaseMeterDetailsResponse"
}
],
"discriminator": {
"propertyName": "billingType",
"mapping": {
"Pav2": "#/types/myedgeorder::Pav2MeterDetailsResponse",
"Purchase": "#/types/myedgeorder::PurchaseMeterDetailsResponse"
}
},
"description": "Represents MeterDetails"
},
"meteringType": {
"type": "string",
"description": "Represents Metering type (eg one-time or recurrent)"
},
"name": {
"type": "string",
"description": "Represents Billing type name"
}
},
"type": "object",
"required": [
"frequency",
"meterDetails",
"meteringType",
"name"
]
},
"myedgeorder::ProductResponse": {
"description": "List of Products",
"properties": {
"availabilityInformation": {
"type": "object",
"$ref": "#/types/myedgeorder::AvailabilityInformationResponse",
"description": "Availability information of the product system."
},
"configurations": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/myedgeorder::ConfigurationResponse"
},
"description": "List of configurations for the product"
},
"costInformation": {
"type": "object",
"$ref": "#/types/myedgeorder::CostInformationResponse",
"description": "Cost information for the product system."
},
"description": {
"type": "object",
"$ref": "#/types/myedgeorder::DescriptionResponse",
"description": "Description related to the product system."
},
"displayName": {
"type": "string",
"description": "Display Name for the product system."
},
"filterableProperties": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/myedgeorder::FilterablePropertyResponse"
},
"description": "list of filters supported for a product"
},
"hierarchyInformation": {
"type": "object",
"$ref": "#/types/myedgeorder::HierarchyInformationResponse",
"description": "Hierarchy information of a product."
},
"imageInformation": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/myedgeorder::ImageInformationResponse"
},
"description": "Image information for the product system."
}
},
"type": "object",
"required": [
"availabilityInformation",
"configurations",
"costInformation",
"description",
"displayName",
"filterableProperties",
"hierarchyInformation",
"imageInformation"
]
},
"myedgeorder::LinkResponse": {
"description": "Returns link related to the product",
"properties": {
"linkType": {
"type": "string",
"description": "Type of link"
},
"linkUrl": {
"type": "string",
"description": "Url of the link"
}
},
"type": "object",
"required": [
"linkType",
"linkUrl"
]
},
"myedgeorder::PurchaseMeterDetailsResponse": {
"description": "Billing type Purchase meter details",
"properties": {
"billingType": {
"type": "string",
"description": "Represents billing type.\nExpected value is 'Purchase'.",
"const": "Purchase"
},
"chargingType": {
"type": "string",
"description": "Charging type."
},
"multiplier": {
"type": "number",
"description": "Billing unit applicable for Pav2 billing"
},
"productId": {
"type": "string",
"description": "Product Id"
},
"skuId": {
"type": "string",
"description": "Sku Id"
},
"termId": {
"type": "string",
"description": "Term Id"
}
},
"type": "object",
"required": [
"billingType",
"chargingType",
"multiplier",
"productId",
"skuId",
"termId"
]
},
"myedgeorder::Pav2MeterDetailsResponse": {
"description": "Billing type PAV2 meter details",
"properties": {
"billingType": {
"type": "string",
"description": "Represents billing type.\nExpected value is 'Pav2'.",
"const": "Pav2"
},
"chargingType": {
"type": "string",
"description": "Charging type."
},
"meterGuid": {
"type": "string",
"description": "Validation status of requested data center and transport."
},
"multiplier": {
"type": "number",
"description": "Billing unit applicable for Pav2 billing"
}
},
"type": "object",
"required": [
"billingType",
"chargingType",
"meterGuid",
"multiplier"
]
}
}
}