diff --git a/sdk/edgeorder/azure-mgmt-edgeorder/CHANGELOG.md b/sdk/edgeorder/azure-mgmt-edgeorder/CHANGELOG.md index 9af7b5dee8a9..287263a75bbf 100644 --- a/sdk/edgeorder/azure-mgmt-edgeorder/CHANGELOG.md +++ b/sdk/edgeorder/azure-mgmt-edgeorder/CHANGELOG.md @@ -1,5 +1,126 @@ # Release History +## 3.0.0 (2026-07-29) + +### Features Added + + - Client `EdgeOrderManagementClient` added parameter `cloud_setting` in method `__init__` + - Client `EdgeOrderManagementClient` added method `send_request` + - Client `EdgeOrderManagementClient` added operation group `operations` + - Client `EdgeOrderManagementClient` added operation group `addresses` + - Client `EdgeOrderManagementClient` added operation group `order_items` + - Client `EdgeOrderManagementClient` added operation group `orders` + - Client `EdgeOrderManagementClient` added operation group `products_and_configurations` + - Model `AddressProperties` added property `address_classification` + - Model `AddressProperties` added property `provisioning_state` + - Enum `AvailabilityStage` added member `DISCOVERABLE` + - Model `BasicInformation` added property `fulfilled_by` + - Model `BillingMeterDetails` added property `term_type_details` + - Model `CommonProperties` added property `fulfilled_by` + - Model `ConfigurationProperties` added property `provisioning_support` + - Model `ConfigurationProperties` added property `child_configuration_types` + - Model `ConfigurationProperties` added property `grouped_child_configurations` + - Model `ConfigurationProperties` added property `supported_term_commitment_durations` + - Model `ConfigurationProperties` added property `fulfilled_by` + - Model `DeviceDetails` added property `display_serial_number` + - Model `DeviceDetails` added property `provisioning_support` + - Model `DeviceDetails` added property `provisioning_details` + - Model `HierarchyInformation` added property `configuration_id_display_name` + - Enum `LinkType` added member `DISCOVERABLE` + - Model `OrderItemDetails` added property `order_item_mode` + - Model `OrderItemDetails` added property `site_details` + - Model `OrderItemResource` added property `identity` + - Enum `OrderItemType` added member `EXTERNAL` + - Model `OrderItemUpdateParameter` added property `identity` + - Model `Preferences` added property `term_commitment_preferences` + - Model `ProductDetails` added property `identification_type` + - Model `ProductDetails` added property `parent_device_details` + - Model `ProductDetails` added property `parent_provisioning_details` + - Model `ProductDetails` added property `opt_in_additional_configurations` + - Model `ProductDetails` added property `child_configuration_device_details` + - Model `ProductDetails` added property `term_commitment_information` + - Model `ProductFamilyProperties` added property `fulfilled_by` + - Model `ProductLineProperties` added property `fulfilled_by` + - Model `ProductProperties` added property `fulfilled_by` + - Model `ProxyResource` added property `system_data` + - Model `Resource` added property `system_data` + - Model `ResourceIdentity` added property `user_assigned_identities` + - Enum `StageName` added member `READY_TO_SETUP` + - Model `TrackedResource` added property `system_data` + - Added model `AdditionalConfiguration` + - Added enum `AddressClassification` + - Added enum `AutoProvisioningStatus` + - Added model `CategoryInformation` + - Added model `ChildConfiguration` + - Added model `ChildConfigurationFilter` + - Added model `ChildConfigurationProperties` + - Added enum `ChildConfigurationType` + - Added model `ConfigurationDeviceDetails` + - Added model `DevicePresenceVerificationDetails` + - Added enum `DevicePresenceVerificationStatus` + - Added enum `FulfillmentType` + - Added model `GroupedChildConfigurations` + - Added enum `IdentificationType` + - Added model `OrderItemDetailsUpdateParameter` + - Added enum `OrderMode` + - Added model `ProductDetailsUpdateParameter` + - Added model `ProvisioningDetails` + - Added enum `ProvisioningState` + - Added enum `ProvisioningSupport` + - Added model `SiteDetails` + - Added model `TermCommitmentInformation` + - Added model `TermCommitmentPreferences` + - Added enum `TermCommitmentType` + - Added model `TermTypeDetails` + - Added model `UserAssignedIdentity` + +### Breaking Changes + + - This version introduces new hybrid models which have dual dictionary and model nature. Please follow https://aka.ms/azsdk/python/migrate/hybrid-models for migration. + - Client method `begin_create_address` was moved to operation group `addresses` and renamed to `begin_create`, so update code from `EdgeOrderManagementClient(...).begin_create_address(...)` to `EdgeOrderManagementClient(...).addresses.begin_create(...)` + - Client method `begin_delete_address_by_name` was moved to operation group `addresses` and renamed to `begin_delete`, so update code from `EdgeOrderManagementClient(...).begin_delete_address_by_name(...)` to `EdgeOrderManagementClient(...).addresses.begin_delete(...)` + - Client method `begin_update_address` was moved to operation group `addresses` and renamed to `begin_update`, so update code from `EdgeOrderManagementClient(...).begin_update_address(...)` to `EdgeOrderManagementClient(...).addresses.begin_update(...)` + - Client method `get_address_by_name` was moved to operation group `addresses` and renamed to `get`, so update code from `EdgeOrderManagementClient(...).get_address_by_name(...)` to `EdgeOrderManagementClient(...).addresses.get(...)` + - Client method `list_addresses_at_resource_group_level` was moved to operation group `addresses` and renamed to `list_by_resource_group`, so update code from `EdgeOrderManagementClient(...).list_addresses_at_resource_group_level(...)` to `EdgeOrderManagementClient(...).addresses.list_by_resource_group(...)` + - Client method `list_addresses_at_subscription_level` was moved to operation group `addresses` and renamed to `list_by_subscription`, so update code from `EdgeOrderManagementClient(...).list_addresses_at_subscription_level(...)` to `EdgeOrderManagementClient(...).addresses.list_by_subscription(...)` + - Client method `begin_create_order_item` was moved to operation group `order_items` and renamed to `begin_create`, so update code from `EdgeOrderManagementClient(...).begin_create_order_item(...)` to `EdgeOrderManagementClient(...).order_items.begin_create(...)` + - Client method `begin_delete_order_item_by_name` was moved to operation group `order_items` and renamed to `begin_delete`, so update code from `EdgeOrderManagementClient(...).begin_delete_order_item_by_name(...)` to `EdgeOrderManagementClient(...).order_items.begin_delete(...)` + - Client method `begin_return_order_item` was moved to operation group `order_items` and renamed to `begin_return_method`, so update code from `EdgeOrderManagementClient(...).begin_return_order_item(...)` to `EdgeOrderManagementClient(...).order_items.begin_return_method(...)` + - Client method `begin_update_order_item` was moved to operation group `order_items` and renamed to `begin_update`, so update code from `EdgeOrderManagementClient(...).begin_update_order_item(...)` to `EdgeOrderManagementClient(...).order_items.begin_update(...)` + - Client method `cancel_order_item` was moved to operation group `order_items` and renamed to `cancel`, so update code from `EdgeOrderManagementClient(...).cancel_order_item(...)` to `EdgeOrderManagementClient(...).order_items.cancel(...)` + - Client method `get_order_item_by_name` was moved to operation group `order_items` and renamed to `get`, so update code from `EdgeOrderManagementClient(...).get_order_item_by_name(...)` to `EdgeOrderManagementClient(...).order_items.get(...)` + - Client method `list_order_items_at_resource_group_level` was moved to operation group `order_items` and renamed to `list_by_resource_group`, so update code from `EdgeOrderManagementClient(...).list_order_items_at_resource_group_level(...)` to `EdgeOrderManagementClient(...).order_items.list_by_resource_group(...)` + - Client method `list_order_items_at_subscription_level` was moved to operation group `order_items` and renamed to `list_by_subscription`, so update code from `EdgeOrderManagementClient(...).list_order_items_at_subscription_level(...)` to `EdgeOrderManagementClient(...).order_items.list_by_subscription(...)` + - Client method `get_order_by_name` was moved to operation group `orders` and renamed to `get`, so update code from `EdgeOrderManagementClient(...).get_order_by_name(...)` to `EdgeOrderManagementClient(...).orders.get(...)` + - Client method `list_order_at_resource_group_level` was moved to operation group `orders` and renamed to `list_by_resource_group`, so update code from `EdgeOrderManagementClient(...).list_order_at_resource_group_level(...)` to `EdgeOrderManagementClient(...).orders.list_by_resource_group(...)` + - Client method `list_order_at_subscription_level` was moved to operation group `orders` and renamed to `list_by_subscription`, so update code from `EdgeOrderManagementClient(...).list_order_at_subscription_level(...)` to `EdgeOrderManagementClient(...).orders.list_by_subscription(...)` + - Client method `list_configurations` was moved to operation group `products_and_configurations` (method name unchanged), so update code from `EdgeOrderManagementClient(...).list_configurations(...)` to `EdgeOrderManagementClient(...).products_and_configurations.list_configurations(...)` + - Client method `list_product_families` was moved to operation group `products_and_configurations` (method name unchanged), so update code from `EdgeOrderManagementClient(...).list_product_families(...)` to `EdgeOrderManagementClient(...).products_and_configurations.list_product_families(...)` + - Client method `list_product_families_metadata` was moved to operation group `products_and_configurations` (method name unchanged), so update code from `EdgeOrderManagementClient(...).list_product_families_metadata(...)` to `EdgeOrderManagementClient(...).products_and_configurations.list_product_families_metadata(...)` + - Client method `list_operations` was moved to operation group `operations` and renamed to `list`, so update code from `EdgeOrderManagementClient(...).list_operations(...)` to `EdgeOrderManagementClient(...).operations.list(...)` + - Model `AddressResource` moved instance variable `shipping_address`, `contact_details` and `address_validation_status` under property `properties` whose type is `AddressProperties` + - Model `AddressUpdateParameter` moved instance variable `shipping_address` and `contact_details` under property `properties` whose type is `AddressUpdateProperties` + - Model `Configuration` moved instance variable `display_name`, `description`, `image_information`, `cost_information`, `availability_information`, `hierarchy_information`, `filterable_properties`, `specifications` and `dimensions` under property `properties` whose type is `ConfigurationProperties` + - Model `ConfigurationsRequest` renamed its instance variable `configuration_filters` to `configuration_filter` + - Renamed model `ConfigurationFilters` to `ConfigurationFilter` + - Model `OrderItemDetails` renamed its instance variable `management_rp_details` to `management_rp_details_list` + - Model `OrderItemResource` moved instance variable `order_item_details`, `address_details`, `start_time` and `order_id` under property `properties` whose type is `OrderItemProperties` + - Model `OrderItemUpdateParameter` moved instance variable `forward_address`, `preferences` and `notification_email_list` under property `properties` whose type is `OrderItemUpdateProperties` + - Model `OrderResource` moved instance variable `order_item_ids`, `current_stage` and `order_stage_history` under property `properties` whose type is `OrderProperties` + - Model `Product` moved instance variable `display_name`, `description`, `image_information`, `cost_information`, `availability_information`, `hierarchy_information`, `filterable_properties` and `configurations` under property `properties` whose type is `ProductProperties` + - Model `ProductDetails` deleted or renamed its instance variable `count` + - Model `ProductDetails` deleted or renamed its instance variable `device_details` + - Model `ProductFamiliesMetadataDetails` moved instance variable `display_name`, `description`, `image_information`, `cost_information`, `availability_information`, `hierarchy_information`, `filterable_properties`, `product_lines` and `resource_provider_details` under property `properties` whose type is `ProductFamilyProperties` + - Model `ProductFamily` moved instance variable `display_name`, `description`, `image_information`, `cost_information`, `availability_information`, `hierarchy_information`, `filterable_properties`, `product_lines` and `resource_provider_details` under property `properties` whose type is `ProductFamilyProperties` + - Model `ProductLine` moved instance variable `display_name`, `description`, `image_information`, `cost_information`, `availability_information`, `hierarchy_information`, `filterable_properties` and `products` under property `properties` whose type is `ProductLineProperties` + +### Other Changes + + - Deleted model `AddressResourceList`/`Configurations`/`OperationListResult`/`OrderItemResourceList`/`OrderResourceList`/`ProductFamilies`/`ProductFamiliesMetadata` which actually were not used by SDK users + - Deleted model `ShippingDetails` which actually was not used by SDK users + - Deleted operation group `EdgeOrderManagementClientOperationsMixin` which actually was not used by SDK users + + ## 3.0.0b1 (2026-07-06) ### Features Added diff --git a/sdk/edgeorder/azure-mgmt-edgeorder/_metadata.json b/sdk/edgeorder/azure-mgmt-edgeorder/_metadata.json index 052cf5758cde..f0ddd7ebacbd 100644 --- a/sdk/edgeorder/azure-mgmt-edgeorder/_metadata.json +++ b/sdk/edgeorder/azure-mgmt-edgeorder/_metadata.json @@ -3,9 +3,9 @@ "apiVersions": { "Microsoft.EdgeOrder": "2024-02-01" }, - "commit": "3d1de464b5576fa149aed429795f6030313e31bb", + "commit": "801a60cdad2669e8f824fedfbabbfe7f7093b940", "repository_url": "https://github.com/Azure/azure-rest-api-specs", "typespec_src": "specification/edgeorder/resource-manager/Microsoft.EdgeOrder/EdgeOrder", - "emitterVersion": "0.63.2", - "httpClientPythonVersion": "^0.34.0" + "emitterVersion": "0.63.3", + "httpClientPythonVersion": "^0.34.2" } \ No newline at end of file diff --git a/sdk/edgeorder/azure-mgmt-edgeorder/api.md b/sdk/edgeorder/azure-mgmt-edgeorder/api.md index 96ac1b27c840..d90b857bd476 100644 --- a/sdk/edgeorder/azure-mgmt-edgeorder/api.md +++ b/sdk/edgeorder/azure-mgmt-edgeorder/api.md @@ -2408,70 +2408,11 @@ namespace azure.mgmt.edgeorder.types shipping_address: ShippingAddress - class azure.mgmt.edgeorder.types.AvailabilityInformation(TypedDict, total=False): - key "availabilityStage": Union[str, AvailabilityStage] - key "disabledReason": Union[str, DisabledReason] - key "disabledReasonMessage": str - availability_stage: Union[str, AvailabilityStage] - disabled_reason: Union[str, DisabledReason] - disabled_reason_message: str - - - class azure.mgmt.edgeorder.types.BasicInformation(TypedDict, total=False): - key "availabilityInformation": ForwardRef('AvailabilityInformation', module='types') - key "costInformation": ForwardRef('CostInformation', module='types') - key "description": ForwardRef('Description', module='types') - key "displayName": str - key "fulfilledBy": Union[str, FulfillmentType] - key "hierarchyInformation": ForwardRef('HierarchyInformation', module='types') - availability_information: AvailabilityInformation - cost_information: CostInformation - description: Description - display_name: str - fulfilled_by: Union[str, FulfillmentType] - hierarchy_information: HierarchyInformation - imageInformation: list[ImageInformation] - image_information: list[ImageInformation] - - - class azure.mgmt.edgeorder.types.BillingMeterDetails(TypedDict, total=False): - key "frequency": str - key "meterDetails": ForwardRef('MeterDetails', module='types') - key "meteringType": Union[str, MeteringType] - key "name": str - key "termTypeDetails": ForwardRef('TermTypeDetails', module='types') - frequency: str - meter_details: MeterDetails - metering_type: Union[str, MeteringType] - name: str - term_type_details: TermTypeDetails - - - class azure.mgmt.edgeorder.types.BillingType(str, Enum, metaclass=CaseInsensitiveEnumMeta): - PAV2 = "Pav2" - PURCHASE = "Purchase" - - class azure.mgmt.edgeorder.types.CancellationReason(TypedDict, total=False): key "reason": Required[str] reason: str - class azure.mgmt.edgeorder.types.CategoryInformation(TypedDict, total=False): - key "categoryDisplayName": str - key "categoryName": str - key "description": str - category_display_name: str - category_name: str - description: str - links: list[Link] - - - class azure.mgmt.edgeorder.types.ChildConfiguration(TypedDict, total=False): - key "properties": ForwardRef('ChildConfigurationProperties', module='types') - properties: ChildConfigurationProperties - - class azure.mgmt.edgeorder.types.ChildConfigurationFilter(TypedDict, total=False): childConfigurationTypes: list[Union[str, ChildConfigurationType]] child_configuration_types: list[Union[str, ChildConfigurationType]] @@ -2479,68 +2420,6 @@ namespace azure.mgmt.edgeorder.types hierarchy_informations: list[HierarchyInformation] - class azure.mgmt.edgeorder.types.ChildConfigurationProperties(TypedDict, total=False): - key "availabilityInformation": ForwardRef('AvailabilityInformation', module='types') - key "childConfigurationType": Union[str, ChildConfigurationType] - key "costInformation": ForwardRef('CostInformation', module='types') - key "description": ForwardRef('Description', module='types') - key "dimensions": ForwardRef('Dimensions', module='types') - key "displayName": str - key "fulfilledBy": Union[str, FulfillmentType] - key "hierarchyInformation": ForwardRef('HierarchyInformation', module='types') - key "isPartOfBaseConfiguration": bool - key "maximumQuantity": int - key "minimumQuantity": int - key "provisioningSupport": Union[str, ProvisioningSupport] - availability_information: AvailabilityInformation - childConfigurationTypes: list[Union[str, ChildConfigurationType]] - child_configuration_type: Union[str, ChildConfigurationType] - child_configuration_types: list[Union[str, ChildConfigurationType]] - cost_information: CostInformation - description: Description - dimensions: Dimensions - display_name: str - filterableProperties: list[FilterableProperty] - filterable_properties: list[FilterableProperty] - fulfilled_by: Union[str, FulfillmentType] - groupedChildConfigurations: list[GroupedChildConfigurations] - grouped_child_configurations: list[GroupedChildConfigurations] - hierarchy_information: HierarchyInformation - imageInformation: list[ImageInformation] - image_information: list[ImageInformation] - is_part_of_base_configuration: bool - maximum_quantity: int - minimum_quantity: int - provisioning_support: Union[str, ProvisioningSupport] - specifications: list[Specification] - supportedTermCommitmentDurations: list[str] - supported_term_commitment_durations: list[str] - - - class azure.mgmt.edgeorder.types.CommonProperties(BasicInformation): - key "availabilityInformation": ForwardRef('AvailabilityInformation', module='types') - key "costInformation": ForwardRef('CostInformation', module='types') - key "description": ForwardRef('Description', module='types') - key "displayName": str - key "fulfilledBy": Union[str, FulfillmentType] - key "hierarchyInformation": ForwardRef('HierarchyInformation', module='types') - availability_information: AvailabilityInformation - cost_information: CostInformation - description: Description - display_name: str - filterableProperties: list[FilterableProperty] - filterable_properties: list[FilterableProperty] - fulfilled_by: Union[str, FulfillmentType] - hierarchy_information: HierarchyInformation - imageInformation: list[ImageInformation] - image_information: list[ImageInformation] - - - class azure.mgmt.edgeorder.types.Configuration(TypedDict, total=False): - key "properties": ForwardRef('ConfigurationProperties', module='types') - properties: ConfigurationProperties - - class azure.mgmt.edgeorder.types.ConfigurationDeviceDetails(TypedDict, total=False): key "displayInfo": ForwardRef('DisplayInfo', module='types') key "hierarchyInformation": ForwardRef('HierarchyInformation', module='types') @@ -2565,36 +2444,6 @@ namespace azure.mgmt.edgeorder.types hierarchy_information: HierarchyInformation - class azure.mgmt.edgeorder.types.ConfigurationProperties(CommonProperties): - key "availabilityInformation": ForwardRef('AvailabilityInformation', module='types') - key "costInformation": ForwardRef('CostInformation', module='types') - key "description": ForwardRef('Description', module='types') - key "dimensions": ForwardRef('Dimensions', module='types') - key "displayName": str - key "fulfilledBy": Union[str, FulfillmentType] - key "hierarchyInformation": ForwardRef('HierarchyInformation', module='types') - key "provisioningSupport": Union[str, ProvisioningSupport] - availability_information: AvailabilityInformation - childConfigurationTypes: list[Union[str, ChildConfigurationType]] - child_configuration_types: list[Union[str, ChildConfigurationType]] - cost_information: CostInformation - description: Description - dimensions: Dimensions - display_name: str - filterableProperties: list[FilterableProperty] - filterable_properties: list[FilterableProperty] - fulfilled_by: Union[str, FulfillmentType] - groupedChildConfigurations: list[GroupedChildConfigurations] - grouped_child_configurations: list[GroupedChildConfigurations] - hierarchy_information: HierarchyInformation - imageInformation: list[ImageInformation] - image_information: list[ImageInformation] - provisioning_support: Union[str, ProvisioningSupport] - specifications: list[Specification] - supportedTermCommitmentDurations: list[str] - supported_term_commitment_durations: list[str] - - class azure.mgmt.edgeorder.types.ConfigurationsRequest(TypedDict, total=False): key "configurationFilter": ForwardRef('ConfigurationFilter', module='types') key "customerSubscriptionDetails": ForwardRef('CustomerSubscriptionDetails', module='types') @@ -2615,13 +2464,6 @@ namespace azure.mgmt.edgeorder.types phone_extension: str - class azure.mgmt.edgeorder.types.CostInformation(TypedDict, total=False): - key "billingInfoUrl": str - billingMeterDetails: list[BillingMeterDetails] - billing_info_url: str - billing_meter_details: list[BillingMeterDetails] - - class azure.mgmt.edgeorder.types.CustomerSubscriptionDetails(TypedDict, total=False): key "locationPlacementId": str key "quotaId": Required[str] @@ -2638,18 +2480,6 @@ namespace azure.mgmt.edgeorder.types state: str - class azure.mgmt.edgeorder.types.Description(TypedDict, total=False): - key "descriptionType": Union[str, DescriptionType] - key "longDescription": str - key "shortDescription": str - attributes: list[str] - description_type: Union[str, DescriptionType] - keywords: list[str] - links: list[Link] - long_description: str - short_description: str - - class azure.mgmt.edgeorder.types.DeviceDetails(TypedDict, total=False): key "displaySerialNumber": str key "managementResourceId": str @@ -2672,23 +2502,6 @@ namespace azure.mgmt.edgeorder.types status: Union[str, DevicePresenceVerificationStatus] - class azure.mgmt.edgeorder.types.Dimensions(TypedDict, total=False): - key "depth": float - key "height": float - key "length": float - key "lengthHeightUnit": Union[str, LengthHeightUnit] - key "weight": float - key "weightUnit": Union[str, WeightMeasurementUnit] - key "width": float - depth: float - height: float - length: float - length_height_unit: Union[str, LengthHeightUnit] - weight: float - weight_unit: Union[str, WeightMeasurementUnit] - width: float - - class azure.mgmt.edgeorder.types.DisplayInfo(TypedDict, total=False): key "configurationDisplayName": str key "productFamilyDisplayName": str @@ -2720,11 +2533,6 @@ namespace azure.mgmt.edgeorder.types target: str - class azure.mgmt.edgeorder.types.ErrorResponse(TypedDict, total=False): - key "error": ForwardRef('ErrorDetail', module='types') - error: ErrorDetail - - class azure.mgmt.edgeorder.types.FilterableProperty(TypedDict, total=False): key "supportedValues": Required[list[str]] key "type": Required[Union[str, SupportedFilterTypes]] @@ -2743,13 +2551,6 @@ namespace azure.mgmt.edgeorder.types tracking_url: str - class azure.mgmt.edgeorder.types.GroupedChildConfigurations(TypedDict, total=False): - key "categoryInformation": ForwardRef('CategoryInformation', module='types') - category_information: CategoryInformation - childConfigurations: list[ChildConfiguration] - child_configurations: list[ChildConfiguration] - - class azure.mgmt.edgeorder.types.HierarchyInformation(TypedDict, total=False): key "configurationIdDisplayName": str key "configurationName": str @@ -2763,20 +2564,6 @@ namespace azure.mgmt.edgeorder.types product_name: str - class azure.mgmt.edgeorder.types.ImageInformation(TypedDict, total=False): - key "imageType": Union[str, ImageType] - key "imageUrl": str - image_type: Union[str, ImageType] - image_url: str - - - class azure.mgmt.edgeorder.types.Link(TypedDict, total=False): - key "linkType": Union[str, LinkType] - key "linkUrl": str - link_type: Union[str, LinkType] - link_url: str - - class azure.mgmt.edgeorder.types.ManagementResourcePreferences(TypedDict, total=False): key "preferredManagementResourceId": str preferred_management_resource_id: str @@ -2789,30 +2576,6 @@ namespace azure.mgmt.edgeorder.types stage_name: Union[str, NotificationStageName] - class azure.mgmt.edgeorder.types.Operation(TypedDict, total=False): - key "actionType": Union[str, ActionType] - key "display": ForwardRef('OperationDisplay', module='types') - key "isDataAction": bool - key "name": str - key "origin": Union[str, Origin] - action_type: Union[str, ActionType] - display: OperationDisplay - is_data_action: bool - name: str - origin: Union[str, Origin] - - - class azure.mgmt.edgeorder.types.OperationDisplay(TypedDict, total=False): - key "description": str - key "operation": str - key "provider": str - key "resource": str - description: str - operation: str - provider: str - resource: str - - class azure.mgmt.edgeorder.types.OrderItemDetails(TypedDict, total=False): key "cancellationReason": str key "cancellationStatus": Union[str, OrderItemCancellationEnum] @@ -2907,41 +2670,6 @@ namespace azure.mgmt.edgeorder.types preferences: Preferences - class azure.mgmt.edgeorder.types.OrderProperties(TypedDict, total=False): - key "currentStage": ForwardRef('StageDetails', module='types') - key "orderMode": Union[str, OrderMode] - current_stage: StageDetails - orderItemIds: list[str] - orderStageHistory: list[StageDetails] - order_item_ids: list[str] - order_mode: Union[str, OrderMode] - order_stage_history: list[StageDetails] - - - class azure.mgmt.edgeorder.types.OrderResource(ProxyResource): - key "id": str - key "name": str - key "properties": Required[OrderProperties] - key "systemData": ForwardRef('SystemData', module='types') - key "type": str - id: str - name: str - properties: OrderProperties - system_data: SystemData - type: str - - - class azure.mgmt.edgeorder.types.Pav2MeterDetails(TypedDict, total=False): - key "billingType": Required[Literal[BillingType.PAV2]] - key "chargingType": Union[str, ChargingType] - key "meterGuid": str - key "multiplier": float - billing_type: Literal[BillingType.PAV2] - charging_type: Union[str, ChargingType] - meter_guid: str - multiplier: float - - class azure.mgmt.edgeorder.types.Preferences(TypedDict, total=False): key "encryptionPreferences": ForwardRef('EncryptionPreferences', module='types') key "managementResourcePreferences": ForwardRef('ManagementResourcePreferences', module='types') @@ -2955,11 +2683,6 @@ namespace azure.mgmt.edgeorder.types transport_preferences: TransportPreferences - class azure.mgmt.edgeorder.types.Product(TypedDict, total=False): - key "properties": ForwardRef('ProductProperties', module='types') - properties: ProductProperties - - class azure.mgmt.edgeorder.types.ProductDetails(TypedDict, total=False): key "displayInfo": ForwardRef('DisplayInfo', module='types') key "hierarchyInformation": Required[HierarchyInformation] @@ -2986,11 +2709,6 @@ namespace azure.mgmt.edgeorder.types parent_provisioning_details: ProvisioningDetails - class azure.mgmt.edgeorder.types.ProductFamiliesMetadataDetails(TypedDict, total=False): - key "properties": ForwardRef('ProductFamilyProperties', module='types') - properties: ProductFamilyProperties - - class azure.mgmt.edgeorder.types.ProductFamiliesRequest(TypedDict, total=False): key "customerSubscriptionDetails": ForwardRef('CustomerSubscriptionDetails', module='types') key "filterableProperties": Required[dict[str, list[FilterableProperty]]] @@ -2998,79 +2716,6 @@ namespace azure.mgmt.edgeorder.types filterable_properties: dict[str, list[FilterableProperty]] - class azure.mgmt.edgeorder.types.ProductFamily(TypedDict, total=False): - key "properties": ForwardRef('ProductFamilyProperties', module='types') - properties: ProductFamilyProperties - - - class azure.mgmt.edgeorder.types.ProductFamilyProperties(CommonProperties): - key "availabilityInformation": ForwardRef('AvailabilityInformation', module='types') - key "costInformation": ForwardRef('CostInformation', module='types') - key "description": ForwardRef('Description', module='types') - key "displayName": str - key "fulfilledBy": Union[str, FulfillmentType] - key "hierarchyInformation": ForwardRef('HierarchyInformation', module='types') - availability_information: AvailabilityInformation - cost_information: CostInformation - description: Description - display_name: str - filterableProperties: list[FilterableProperty] - filterable_properties: list[FilterableProperty] - fulfilled_by: Union[str, FulfillmentType] - hierarchy_information: HierarchyInformation - imageInformation: list[ImageInformation] - image_information: list[ImageInformation] - productLines: list[ProductLine] - product_lines: list[ProductLine] - resourceProviderDetails: list[ResourceProviderDetails] - resource_provider_details: list[ResourceProviderDetails] - - - class azure.mgmt.edgeorder.types.ProductLine(TypedDict, total=False): - key "properties": ForwardRef('ProductLineProperties', module='types') - properties: ProductLineProperties - - - class azure.mgmt.edgeorder.types.ProductLineProperties(CommonProperties): - key "availabilityInformation": ForwardRef('AvailabilityInformation', module='types') - key "costInformation": ForwardRef('CostInformation', module='types') - key "description": ForwardRef('Description', module='types') - key "displayName": str - key "fulfilledBy": Union[str, FulfillmentType] - key "hierarchyInformation": ForwardRef('HierarchyInformation', module='types') - availability_information: AvailabilityInformation - cost_information: CostInformation - description: Description - display_name: str - filterableProperties: list[FilterableProperty] - filterable_properties: list[FilterableProperty] - fulfilled_by: Union[str, FulfillmentType] - hierarchy_information: HierarchyInformation - imageInformation: list[ImageInformation] - image_information: list[ImageInformation] - products: list[Product] - - - class azure.mgmt.edgeorder.types.ProductProperties(CommonProperties): - key "availabilityInformation": ForwardRef('AvailabilityInformation', module='types') - key "costInformation": ForwardRef('CostInformation', module='types') - key "description": ForwardRef('Description', module='types') - key "displayName": str - key "fulfilledBy": Union[str, FulfillmentType] - key "hierarchyInformation": ForwardRef('HierarchyInformation', module='types') - availability_information: AvailabilityInformation - configurations: list[Configuration] - cost_information: CostInformation - description: Description - display_name: str - filterableProperties: list[FilterableProperty] - filterable_properties: list[FilterableProperty] - fulfilled_by: Union[str, FulfillmentType] - hierarchy_information: HierarchyInformation - imageInformation: list[ImageInformation] - image_information: list[ImageInformation] - - class azure.mgmt.edgeorder.types.ProvisioningDetails(TypedDict, total=False): key "autoProvisioningStatus": Union[str, AutoProvisioningStatus] key "devicePresenceVerification": ForwardRef('DevicePresenceVerificationDetails', module='types') @@ -3094,32 +2739,6 @@ namespace azure.mgmt.edgeorder.types vendor_name: str - class azure.mgmt.edgeorder.types.ProxyResource(Resource): - key "id": str - key "name": str - key "systemData": ForwardRef('SystemData', module='types') - key "type": str - id: str - name: str - system_data: SystemData - type: str - - - class azure.mgmt.edgeorder.types.PurchaseMeterDetails(TypedDict, total=False): - key "billingType": Required[Literal[BillingType.PURCHASE]] - key "chargingType": Union[str, ChargingType] - key "multiplier": float - key "productId": str - key "skuId": str - key "termId": str - billing_type: Literal[BillingType.PURCHASE] - charging_type: Union[str, ChargingType] - multiplier: float - product_id: str - sku_id: str - term_id: str - - class azure.mgmt.edgeorder.types.Resource(TypedDict, total=False): key "id": str key "name": str @@ -3199,13 +2818,6 @@ namespace azure.mgmt.edgeorder.types site_id: str - class azure.mgmt.edgeorder.types.Specification(TypedDict, total=False): - key "name": str - key "value": str - name: str - value: str - - class azure.mgmt.edgeorder.types.StageDetails(TypedDict, total=False): key "displayName": str key "stageName": Union[str, StageName] @@ -3248,13 +2860,6 @@ namespace azure.mgmt.edgeorder.types preferred_term_commitment_type: Union[str, TermCommitmentType] - class azure.mgmt.edgeorder.types.TermTypeDetails(TypedDict, total=False): - key "termType": Required[Union[str, TermCommitmentType]] - key "termTypeDuration": Required[str] - term_type: Union[str, TermCommitmentType] - term_type_duration: str - - class azure.mgmt.edgeorder.types.TrackedResource(Resource): key "id": str key "location": Required[str] diff --git a/sdk/edgeorder/azure-mgmt-edgeorder/api.metadata.yml b/sdk/edgeorder/azure-mgmt-edgeorder/api.metadata.yml index f16d9ae01510..0d8b78201a41 100644 --- a/sdk/edgeorder/azure-mgmt-edgeorder/api.metadata.yml +++ b/sdk/edgeorder/azure-mgmt-edgeorder/api.metadata.yml @@ -1,3 +1,3 @@ -apiMdSha256: ab64edddfed56c91d382111f02e00f56ac352587d56e466b5305439bdecd3adc -parserVersion: 0.3.28 -pythonVersion: 3.13.13 +apiMdSha256: 3e5ea6fc646308037d103ccfe686ad6c7a1e9a8ae5d1e9972b3983d8c545b0dc +parserVersion: 0.3.30 +pythonVersion: 3.13.14 diff --git a/sdk/edgeorder/azure-mgmt-edgeorder/apiview-properties.json b/sdk/edgeorder/azure-mgmt-edgeorder/apiview-properties.json index f8952a99b2c3..5edf040d3c22 100644 --- a/sdk/edgeorder/azure-mgmt-edgeorder/apiview-properties.json +++ b/sdk/edgeorder/azure-mgmt-edgeorder/apiview-properties.json @@ -162,5 +162,5 @@ "azure.mgmt.edgeorder.operations.ProductsAndConfigurationsOperations.list_product_families_metadata": "Microsoft.EdgeOrder.ProductsAndConfigurationsOperationGroup.listProductFamiliesMetadata", "azure.mgmt.edgeorder.aio.operations.ProductsAndConfigurationsOperations.list_product_families_metadata": "Microsoft.EdgeOrder.ProductsAndConfigurationsOperationGroup.listProductFamiliesMetadata" }, - "CrossLanguageVersion": "c450e03f8cfa" + "CrossLanguageVersion": "fe8fc56a4a5c" } \ No newline at end of file diff --git a/sdk/edgeorder/azure-mgmt-edgeorder/azure/mgmt/edgeorder/_utils/model_base.py b/sdk/edgeorder/azure-mgmt-edgeorder/azure/mgmt/edgeorder/_utils/model_base.py index b93f5120d517..0f2c5bdfe70f 100644 --- a/sdk/edgeorder/azure-mgmt-edgeorder/azure/mgmt/edgeorder/_utils/model_base.py +++ b/sdk/edgeorder/azure-mgmt-edgeorder/azure/mgmt/edgeorder/_utils/model_base.py @@ -458,21 +458,21 @@ def __ne__(self, other: typing.Any) -> bool: def keys(self) -> typing.KeysView[str]: """ - :returns: a set-like object providing a view on D's keys + :returns: a set-like object providing a view on the mapping's keys :rtype: ~typing.KeysView """ return self._data.keys() def values(self) -> typing.ValuesView[typing.Any]: """ - :returns: an object providing a view on D's values + :returns: an object providing a view on the mapping's values :rtype: ~typing.ValuesView """ return self._data.values() def items(self) -> typing.ItemsView[str, typing.Any]: """ - :returns: set-like object providing a view on D's items + :returns: a set-like object providing a view on the mapping's items :rtype: ~typing.ItemsView """ return self._data.items() @@ -482,7 +482,7 @@ def get(self, key: str, default: typing.Any = None) -> typing.Any: Get the value for key if key is in the dictionary, else default. :param str key: The key to look up. :param any default: The value to return if key is not in the dictionary. Defaults to None - :returns: D[k] if k in D, else d. + :returns: The value for key if key is in the dictionary, else default. :rtype: any """ try: @@ -517,19 +517,19 @@ def popitem(self) -> tuple[str, typing.Any]: Removes and returns some (key, value) pair :returns: The (key, value) pair. :rtype: tuple - :raises KeyError: if D is empty. + :raises KeyError: if the dictionary is empty. """ return self._data.popitem() def clear(self) -> None: """ - Remove all items from D. + Remove all items from the dictionary. """ self._data.clear() def update(self, *args: typing.Any, **kwargs: typing.Any) -> None: # pylint: disable=arguments-differ """ - Updates D from mapping/iterable E and F. + Update the dictionary from a mapping or an iterable of key-value pairs. :param any args: Either a mapping object or an iterable of key-value pairs. """ self._data.update(*args, **kwargs) @@ -542,10 +542,11 @@ def setdefault(self, key: str, default: typing.Any) -> typing.Any: ... # pylint def setdefault(self, key: str, default: typing.Any = _UNSET) -> typing.Any: """ - Same as calling D.get(k, d), and setting D[k]=d if k not found + Return the value for key if key is in the dictionary; otherwise set the key to + default and return default. :param str key: The key to look up. :param any default: The value to set if key is not in the dictionary - :returns: D[k] if k in D, else d. + :returns: The value for key if key is in the dictionary, else default. :rtype: any """ if default is _UNSET: diff --git a/sdk/edgeorder/azure-mgmt-edgeorder/azure/mgmt/edgeorder/_version.py b/sdk/edgeorder/azure-mgmt-edgeorder/azure/mgmt/edgeorder/_version.py index fd5e9189cf06..7b1116c95ad7 100644 --- a/sdk/edgeorder/azure-mgmt-edgeorder/azure/mgmt/edgeorder/_version.py +++ b/sdk/edgeorder/azure-mgmt-edgeorder/azure/mgmt/edgeorder/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "3.0.0b1" +VERSION = "3.0.0" diff --git a/sdk/edgeorder/azure-mgmt-edgeorder/azure/mgmt/edgeorder/types.py b/sdk/edgeorder/azure-mgmt-edgeorder/azure/mgmt/edgeorder/types.py index 5a35f9359a86..b617e50afc9f 100644 --- a/sdk/edgeorder/azure-mgmt-edgeorder/azure/mgmt/edgeorder/types.py +++ b/sdk/edgeorder/azure-mgmt-edgeorder/azure/mgmt/edgeorder/types.py @@ -7,39 +7,26 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import Any, Literal, TYPE_CHECKING, Union +from typing import Any, TYPE_CHECKING, Union from typing_extensions import Required, TypedDict -from .models._enums import BillingType - if TYPE_CHECKING: from .models import ( ActionStatusEnum, - ActionType, AddressClassification, AddressType, AddressValidationStatus, AutoProvisioningStatus, - AvailabilityStage, - ChargingType, ChildConfigurationType, CreatedByType, - DescriptionType, DevicePresenceVerificationStatus, - DisabledReason, DoubleEncryptionStatus, - FulfillmentType, IdentificationType, - ImageType, - LengthHeightUnit, - LinkType, - MeteringType, NotificationStageName, OrderItemCancellationEnum, OrderItemReturnEnum, OrderItemType, OrderMode, - Origin, ProvisioningState, ProvisioningSupport, StageName, @@ -47,7 +34,6 @@ SupportedFilterTypes, TermCommitmentType, TransportShipmentTypes, - WeightMeasurementUnit, ) @@ -229,96 +215,6 @@ class AddressUpdateProperties(TypedDict, total=False): """Contact details for the address.""" -class AvailabilityInformation(TypedDict, total=False): - """Availability information of a product system. - - :ivar availability_stage: Current availability stage of the product. Known values are: - "Available", "Preview", "Signup", "Discoverable", "ComingSoon", "Unavailable", and - "Deprecated". - :vartype availability_stage: Union[str, "AvailabilityStage"] - :ivar disabled_reason: Reason why the product is disabled. Known values are: "None", "Country", - "Region", "Feature", "OfferType", "NoSubscriptionInfo", "NotAvailable", and "OutOfStock". - :vartype disabled_reason: Union[str, "DisabledReason"] - :ivar disabled_reason_message: Message for why the product is disabled. - :vartype disabled_reason_message: str - """ - - availabilityStage: Union[str, "AvailabilityStage"] - """Current availability stage of the product. Known values are: \"Available\", \"Preview\", - \"Signup\", \"Discoverable\", \"ComingSoon\", \"Unavailable\", and \"Deprecated\".""" - disabledReason: Union[str, "DisabledReason"] - """Reason why the product is disabled. Known values are: \"None\", \"Country\", \"Region\", - \"Feature\", \"OfferType\", \"NoSubscriptionInfo\", \"NotAvailable\", and \"OutOfStock\".""" - disabledReasonMessage: str - """Message for why the product is disabled.""" - - -class BasicInformation(TypedDict, total=False): - """Basic information for any product system. - - :ivar display_name: Display Name for the product system. - :vartype display_name: str - :ivar description: Description related to the product system. - :vartype description: "Description" - :ivar image_information: Image information for the product system. - :vartype image_information: list["ImageInformation"] - :ivar cost_information: Cost information for the product system. - :vartype cost_information: "CostInformation" - :ivar availability_information: Availability information of the product system. - :vartype availability_information: "AvailabilityInformation" - :ivar hierarchy_information: Hierarchy information of a product. - :vartype hierarchy_information: "HierarchyInformation" - :ivar fulfilled_by: The entity responsible for fulfillment of the item at the given hierarchy - level. Known values are: "Microsoft" and "External". - :vartype fulfilled_by: Union[str, "FulfillmentType"] - """ - - displayName: str - """Display Name for the product system.""" - description: "Description" - """Description related to the product system.""" - imageInformation: list["ImageInformation"] - """Image information for the product system.""" - costInformation: "CostInformation" - """Cost information for the product system.""" - availabilityInformation: "AvailabilityInformation" - """Availability information of the product system.""" - hierarchyInformation: "HierarchyInformation" - """Hierarchy information of a product.""" - fulfilledBy: Union[str, "FulfillmentType"] - """The entity responsible for fulfillment of the item at the given hierarchy level. Known values - are: \"Microsoft\" and \"External\".""" - - -class BillingMeterDetails(TypedDict, total=False): - """Holds billing meter details for each type of billing. - - :ivar name: Represents Billing type name. - :vartype name: str - :ivar meter_details: Represents MeterDetails. - :vartype meter_details: "MeterDetails" - :ivar metering_type: Represents Metering type (eg one-time or recurrent). Known values are: - "OneTime", "Recurring", and "Adhoc". - :vartype metering_type: Union[str, "MeteringType"] - :ivar frequency: Frequency of recurrence. - :vartype frequency: str - :ivar term_type_details: Represent Term Type details. - :vartype term_type_details: "TermTypeDetails" - """ - - name: str - """Represents Billing type name.""" - meterDetails: "MeterDetails" - """Represents MeterDetails.""" - meteringType: Union[str, "MeteringType"] - """Represents Metering type (eg one-time or recurrent). Known values are: \"OneTime\", - \"Recurring\", and \"Adhoc\".""" - frequency: str - """Frequency of recurrence.""" - termTypeDetails: "TermTypeDetails" - """Represent Term Type details.""" - - class CancellationReason(TypedDict, total=False): """Reason for cancellation. @@ -330,40 +226,6 @@ class CancellationReason(TypedDict, total=False): """Reason for cancellation. Required.""" -class CategoryInformation(TypedDict, total=False): - """Category related properties of a child configuration. - - :ivar category_name: Category name of the child configuration. - :vartype category_name: str - :ivar category_display_name: Category display name of the child configuration. - :vartype category_display_name: str - :ivar description: Description text for the category. - :vartype description: str - :ivar links: Links for the category. - :vartype links: list["Link"] - """ - - categoryName: str - """Category name of the child configuration.""" - categoryDisplayName: str - """Category display name of the child configuration.""" - description: str - """Description text for the category.""" - links: list["Link"] - """Links for the category.""" - - -class ChildConfiguration(TypedDict, total=False): - """Child configuration object. - - :ivar properties: Properties of child configuration. - :vartype properties: "ChildConfigurationProperties" - """ - - properties: "ChildConfigurationProperties" - """Properties of child configuration.""" - - class ChildConfigurationFilter(TypedDict, total=False): """Child configuration filter. @@ -381,139 +243,6 @@ class ChildConfigurationFilter(TypedDict, total=False): """Filter to fetch all child configurations belonging to the given list of configuration types.""" -class ChildConfigurationProperties(TypedDict, total=False): - """Properties of child configuration. - - :ivar child_configuration_type: Child configuration type. Known values are: - "DeviceConfiguration" and "AdditionalConfiguration". - :vartype child_configuration_type: Union[str, "ChildConfigurationType"] - :ivar is_part_of_base_configuration: Flag to indicate if the child configuration is part of the - base configuration, which means the customer need not pass this configuration in - OptInAdditionalConfigurations while placing an order, it will be shipped by default. - :vartype is_part_of_base_configuration: bool - :ivar minimum_quantity: Minimum quantity a customer can order while choosing this - configuration. - :vartype minimum_quantity: int - :ivar maximum_quantity: Maximum quantity a customer can order while choosing this - configuration. - :vartype maximum_quantity: int - :ivar specifications: Specifications of the configuration. - :vartype specifications: list["Specification"] - :ivar dimensions: Dimensions of the configuration. - :vartype dimensions: "Dimensions" - :ivar provisioning_support: Determining nature of provisioning that the configuration supports. - Known values are: "CloudBased" and "Manual". - :vartype provisioning_support: Union[str, "ProvisioningSupport"] - :ivar child_configuration_types: Different types of child configurations which exist for this - configuration, these can be used to populate the child configuration filter. - :vartype child_configuration_types: list[Union[str, "ChildConfigurationType"]] - :ivar grouped_child_configurations: Child configurations present for the configuration after - applying child configuration filter, grouped by the category name of the child configuration. - :vartype grouped_child_configurations: list["GroupedChildConfigurations"] - :ivar supported_term_commitment_durations: The Term Commitment Durations that are supported for - a configuration. - :vartype supported_term_commitment_durations: list[str] - :ivar filterable_properties: List of filters supported for a product. - :vartype filterable_properties: list["FilterableProperty"] - :ivar display_name: Display Name for the product system. - :vartype display_name: str - :ivar description: Description related to the product system. - :vartype description: "Description" - :ivar image_information: Image information for the product system. - :vartype image_information: list["ImageInformation"] - :ivar cost_information: Cost information for the product system. - :vartype cost_information: "CostInformation" - :ivar availability_information: Availability information of the product system. - :vartype availability_information: "AvailabilityInformation" - :ivar hierarchy_information: Hierarchy information of a product. - :vartype hierarchy_information: "HierarchyInformation" - :ivar fulfilled_by: The entity responsible for fulfillment of the item at the given hierarchy - level. Known values are: "Microsoft" and "External". - :vartype fulfilled_by: Union[str, "FulfillmentType"] - """ - - childConfigurationType: Union[str, "ChildConfigurationType"] - """Child configuration type. Known values are: \"DeviceConfiguration\" and - \"AdditionalConfiguration\".""" - isPartOfBaseConfiguration: bool - """Flag to indicate if the child configuration is part of the base configuration, which means the - customer need not pass this configuration in OptInAdditionalConfigurations while placing an - order, it will be shipped by default.""" - minimumQuantity: int - """Minimum quantity a customer can order while choosing this configuration.""" - maximumQuantity: int - """Maximum quantity a customer can order while choosing this configuration.""" - specifications: list["Specification"] - """Specifications of the configuration.""" - dimensions: "Dimensions" - """Dimensions of the configuration.""" - provisioningSupport: Union[str, "ProvisioningSupport"] - """Determining nature of provisioning that the configuration supports. Known values are: - \"CloudBased\" and \"Manual\".""" - childConfigurationTypes: list[Union[str, "ChildConfigurationType"]] - """Different types of child configurations which exist for this configuration, these can be used - to populate the child configuration filter.""" - groupedChildConfigurations: list["GroupedChildConfigurations"] - """Child configurations present for the configuration after applying child configuration filter, - grouped by the category name of the child configuration.""" - supportedTermCommitmentDurations: list[str] - """The Term Commitment Durations that are supported for a configuration.""" - filterableProperties: list["FilterableProperty"] - """List of filters supported for a product.""" - displayName: str - """Display Name for the product system.""" - description: "Description" - """Description related to the product system.""" - imageInformation: list["ImageInformation"] - """Image information for the product system.""" - costInformation: "CostInformation" - """Cost information for the product system.""" - availabilityInformation: "AvailabilityInformation" - """Availability information of the product system.""" - hierarchyInformation: "HierarchyInformation" - """Hierarchy information of a product.""" - fulfilledBy: Union[str, "FulfillmentType"] - """The entity responsible for fulfillment of the item at the given hierarchy level. Known values - are: \"Microsoft\" and \"External\".""" - - -class CommonProperties(BasicInformation): - """Represents common properties across product hierarchy. - - :ivar display_name: Display Name for the product system. - :vartype display_name: str - :ivar description: Description related to the product system. - :vartype description: "Description" - :ivar image_information: Image information for the product system. - :vartype image_information: list["ImageInformation"] - :ivar cost_information: Cost information for the product system. - :vartype cost_information: "CostInformation" - :ivar availability_information: Availability information of the product system. - :vartype availability_information: "AvailabilityInformation" - :ivar hierarchy_information: Hierarchy information of a product. - :vartype hierarchy_information: "HierarchyInformation" - :ivar fulfilled_by: The entity responsible for fulfillment of the item at the given hierarchy - level. Known values are: "Microsoft" and "External". - :vartype fulfilled_by: Union[str, "FulfillmentType"] - :ivar filterable_properties: List of filters supported for a product. - :vartype filterable_properties: list["FilterableProperty"] - """ - - filterableProperties: list["FilterableProperty"] - """List of filters supported for a product.""" - - -class Configuration(TypedDict, total=False): - """Configuration object. - - :ivar properties: Properties of configuration. - :vartype properties: "ConfigurationProperties" - """ - - properties: "ConfigurationProperties" - """Properties of configuration.""" - - class ConfigurationDeviceDetails(TypedDict, total=False): """Device details for configuration. @@ -571,61 +300,6 @@ class ConfigurationFilter(TypedDict, total=False): specific types of child configurations.""" -class ConfigurationProperties(CommonProperties): - """Properties of configuration. - - :ivar display_name: Display Name for the product system. - :vartype display_name: str - :ivar description: Description related to the product system. - :vartype description: "Description" - :ivar image_information: Image information for the product system. - :vartype image_information: list["ImageInformation"] - :ivar cost_information: Cost information for the product system. - :vartype cost_information: "CostInformation" - :ivar availability_information: Availability information of the product system. - :vartype availability_information: "AvailabilityInformation" - :ivar hierarchy_information: Hierarchy information of a product. - :vartype hierarchy_information: "HierarchyInformation" - :ivar fulfilled_by: The entity responsible for fulfillment of the item at the given hierarchy - level. Known values are: "Microsoft" and "External". - :vartype fulfilled_by: Union[str, "FulfillmentType"] - :ivar filterable_properties: List of filters supported for a product. - :vartype filterable_properties: list["FilterableProperty"] - :ivar specifications: Specifications of the configuration. - :vartype specifications: list["Specification"] - :ivar dimensions: Dimensions of the configuration. - :vartype dimensions: "Dimensions" - :ivar provisioning_support: Determining nature of provisioning that the configuration supports. - Known values are: "CloudBased" and "Manual". - :vartype provisioning_support: Union[str, "ProvisioningSupport"] - :ivar child_configuration_types: Different types of child configurations which exist for this - configuration, these can be used to populate the child configuration filter. - :vartype child_configuration_types: list[Union[str, "ChildConfigurationType"]] - :ivar grouped_child_configurations: Child configurations present for the configuration after - applying child configuration filter, grouped by the category name of the child configuration. - :vartype grouped_child_configurations: list["GroupedChildConfigurations"] - :ivar supported_term_commitment_durations: The Term Commitment Durations that are supported for - a configuration. - :vartype supported_term_commitment_durations: list[str] - """ - - specifications: list["Specification"] - """Specifications of the configuration.""" - dimensions: "Dimensions" - """Dimensions of the configuration.""" - provisioningSupport: Union[str, "ProvisioningSupport"] - """Determining nature of provisioning that the configuration supports. Known values are: - \"CloudBased\" and \"Manual\".""" - childConfigurationTypes: list[Union[str, "ChildConfigurationType"]] - """Different types of child configurations which exist for this configuration, these can be used - to populate the child configuration filter.""" - groupedChildConfigurations: list["GroupedChildConfigurations"] - """Child configurations present for the configuration after applying child configuration filter, - grouped by the category name of the child configuration.""" - supportedTermCommitmentDurations: list[str] - """The Term Commitment Durations that are supported for a configuration.""" - - class ConfigurationsRequest(TypedDict, total=False): """Configuration request object. @@ -671,21 +345,6 @@ class ContactDetails(TypedDict, total=False): """List of Email-ids to be notified about job progress.""" -class CostInformation(TypedDict, total=False): - """Cost information for the product system. - - :ivar billing_meter_details: Details on the various billing aspects for the product system. - :vartype billing_meter_details: list["BillingMeterDetails"] - :ivar billing_info_url: Default url to display billing information. - :vartype billing_info_url: str - """ - - billingMeterDetails: list["BillingMeterDetails"] - """Details on the various billing aspects for the product system.""" - billingInfoUrl: str - """Default url to display billing information.""" - - class CustomerSubscriptionDetails(TypedDict, total=False): """Holds Customer subscription details. Clients can display available products to unregistered customers by explicitly passing subscription details. @@ -721,37 +380,6 @@ class CustomerSubscriptionRegisteredFeatures(TypedDict, total=False): """State of subscription registered feature.""" -class Description(TypedDict, total=False): - """Description related properties of a product system. - - :ivar description_type: Type of description. "Base" - :vartype description_type: Union[str, "DescriptionType"] - :ivar short_description: Short description of the product system. - :vartype short_description: str - :ivar long_description: Long description of the product system. - :vartype long_description: str - :ivar keywords: Keywords for the product system. - :vartype keywords: list[str] - :ivar attributes: Attributes for the product system. - :vartype attributes: list[str] - :ivar links: Links for the product system. - :vartype links: list["Link"] - """ - - descriptionType: Union[str, "DescriptionType"] - """Type of description. \"Base\"""" - shortDescription: str - """Short description of the product system.""" - longDescription: str - """Long description of the product system.""" - keywords: list[str] - """Keywords for the product system.""" - attributes: list[str] - """Attributes for the product system.""" - links: list["Link"] - """Links for the product system.""" - - class DeviceDetails(TypedDict, total=False): """Device details. @@ -800,42 +428,6 @@ class DevicePresenceVerificationDetails(TypedDict, total=False): """Insights on current status.""" -class Dimensions(TypedDict, total=False): - """Dimensions of a configuration. - - :ivar length: Length of the device. - :vartype length: float - :ivar height: Height of the device. - :vartype height: float - :ivar width: Width of the device. - :vartype width: float - :ivar length_height_unit: Unit for the dimensions of length, height and width. Known values - are: "IN" and "CM". - :vartype length_height_unit: Union[str, "LengthHeightUnit"] - :ivar weight: Weight of the device. - :vartype weight: float - :ivar depth: Depth of the device. - :vartype depth: float - :ivar weight_unit: Unit for the dimensions of weight. Known values are: "LBS" and "KGS". - :vartype weight_unit: Union[str, "WeightMeasurementUnit"] - """ - - length: float - """Length of the device.""" - height: float - """Height of the device.""" - width: float - """Width of the device.""" - lengthHeightUnit: Union[str, "LengthHeightUnit"] - """Unit for the dimensions of length, height and width. Known values are: \"IN\" and \"CM\".""" - weight: float - """Weight of the device.""" - depth: float - """Depth of the device.""" - weightUnit: Union[str, "WeightMeasurementUnit"] - """Unit for the dimensions of weight. Known values are: \"LBS\" and \"KGS\".""" - - class DisplayInfo(TypedDict, total=False): """Describes product display information. @@ -907,17 +499,6 @@ class ErrorDetail(TypedDict, total=False): """The error additional info.""" -class ErrorResponse(TypedDict, total=False): - """Error response. - - :ivar error: The error object. - :vartype error: "ErrorDetail" - """ - - error: "ErrorDetail" - """The error object.""" - - class FilterableProperty(TypedDict, total=False): """Different types of filters supported and its values. @@ -959,21 +540,6 @@ class ForwardShippingDetails(TypedDict, total=False): """TrackingUrl of the package.""" -class GroupedChildConfigurations(TypedDict, total=False): - """Grouped child configuration object. - - :ivar category_information: Category information. - :vartype category_information: "CategoryInformation" - :ivar child_configurations: List of child configurations. - :vartype child_configurations: list["ChildConfiguration"] - """ - - categoryInformation: "CategoryInformation" - """Category information.""" - childConfigurations: list["ChildConfiguration"] - """List of child configurations.""" - - class HierarchyInformation(TypedDict, total=False): """Holds details about product hierarchy information. @@ -1002,39 +568,6 @@ class HierarchyInformation(TypedDict, total=False): """Represents Model Display Name.""" -class ImageInformation(TypedDict, total=False): - """Image for the product. - - :ivar image_type: Type of the image. Known values are: "MainImage", "BulletImage", and - "GenericImage". - :vartype image_type: Union[str, "ImageType"] - :ivar image_url: Url of the image. - :vartype image_url: str - """ - - imageType: Union[str, "ImageType"] - """Type of the image. Known values are: \"MainImage\", \"BulletImage\", and \"GenericImage\".""" - imageUrl: str - """Url of the image.""" - - -class Link(TypedDict, total=False): - """Returns link related to the product. - - :ivar link_type: Type of link. Known values are: "Generic", "TermsAndConditions", - "Specification", "Documentation", "KnowMore", "SignUp", and "Discoverable". - :vartype link_type: Union[str, "LinkType"] - :ivar link_url: Url of the link. - :vartype link_url: str - """ - - linkType: Union[str, "LinkType"] - """Type of link. Known values are: \"Generic\", \"TermsAndConditions\", \"Specification\", - \"Documentation\", \"KnowMore\", \"SignUp\", and \"Discoverable\".""" - linkUrl: str - """Url of the link.""" - - class ManagementResourcePreferences(TypedDict, total=False): """Management resource preference to link device. @@ -1061,75 +594,6 @@ class NotificationPreference(TypedDict, total=False): """Notification is required or not. Required.""" -class Operation(TypedDict, total=False): - """REST API Operation. - - :ivar name: The name of the operation, as per Resource-Based Access Control (RBAC). Examples: - "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action". - :vartype name: str - :ivar is_data_action: Whether the operation applies to data-plane. This is "true" for - data-plane operations and "false" for Azure Resource Manager/control-plane operations. - :vartype is_data_action: bool - :ivar display: Localized display information for this particular operation. - :vartype display: "OperationDisplay" - :ivar origin: The intended executor of the operation; as in Resource Based Access Control - (RBAC) and audit logs UX. Default value is "user,system". Known values are: "user", "system", - and "user,system". - :vartype origin: Union[str, "Origin"] - :ivar action_type: Extensible enum. Indicates the action type. "Internal" refers to actions - that are for internal only APIs. "Internal" - :vartype action_type: Union[str, "ActionType"] - """ - - name: str - """The name of the operation, as per Resource-Based Access Control (RBAC). Examples: - \"Microsoft.Compute/virtualMachines/write\", - \"Microsoft.Compute/virtualMachines/capture/action\".""" - isDataAction: bool - """Whether the operation applies to data-plane. This is \"true\" for data-plane operations and - \"false\" for Azure Resource Manager/control-plane operations.""" - display: "OperationDisplay" - """Localized display information for this particular operation.""" - origin: Union[str, "Origin"] - """The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit - logs UX. Default value is \"user,system\". Known values are: \"user\", \"system\", and - \"user,system\".""" - actionType: Union[str, "ActionType"] - """Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for - internal only APIs. \"Internal\"""" - - -class OperationDisplay(TypedDict, total=False): - """Localized display information for an operation. - - :ivar provider: The localized friendly form of the resource provider name, e.g. "Microsoft - Monitoring Insights" or "Microsoft Compute". - :vartype provider: str - :ivar resource: The localized friendly name of the resource type related to this operation. - E.g. "Virtual Machines" or "Job Schedule Collections". - :vartype resource: str - :ivar operation: The concise, localized friendly name for the operation; suitable for - dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". - :vartype operation: str - :ivar description: The short, localized friendly description of the operation; suitable for - tool tips and detailed views. - :vartype description: str - """ - - provider: str - """The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring - Insights\" or \"Microsoft Compute\".""" - resource: str - """The localized friendly name of the resource type related to this operation. E.g. \"Virtual - Machines\" or \"Job Schedule Collections\".""" - operation: str - """The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create - or Update Virtual Machine\", \"Restart Virtual Machine\".""" - description: str - """The short, localized friendly description of the operation; suitable for tool tips and detailed - views.""" - - class OrderItemDetails(TypedDict, total=False): """Order item details. @@ -1331,92 +795,6 @@ class OrderItemUpdateProperties(TypedDict, total=False): """Represents order item details.""" -class OrderProperties(TypedDict, total=False): - """Represents order details. - - :ivar order_item_ids: List of order item ARM Ids which are part of an order. - :vartype order_item_ids: list[str] - :ivar current_stage: Order current status. - :vartype current_stage: "StageDetails" - :ivar order_stage_history: Order status history. - :vartype order_stage_history: list["StageDetails"] - :ivar order_mode: Order mode. Known values are: "Default" and "DoNotFulfill". - :vartype order_mode: Union[str, "OrderMode"] - """ - - orderItemIds: list[str] - """List of order item ARM Ids which are part of an order.""" - currentStage: "StageDetails" - """Order current status.""" - orderStageHistory: list["StageDetails"] - """Order status history.""" - orderMode: Union[str, "OrderMode"] - """Order mode. Known values are: \"Default\" and \"DoNotFulfill\".""" - - -class ProxyResource(Resource): - """Proxy Resource. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: "SystemData" - """ - - -class OrderResource(ProxyResource): - """Specifies the properties or parameters for an order. Order is a grouping of one or more order - items. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: "SystemData" - :ivar properties: Order properties. Required. - :vartype properties: "OrderProperties" - """ - - properties: Required["OrderProperties"] - """Order properties. Required.""" - - -class Pav2MeterDetails(TypedDict, total=False): - """Billing type PAV2 meter details. - - :ivar multiplier: Billing unit applicable for Pav2 billing. - :vartype multiplier: float - :ivar charging_type: Charging type. Known values are: "PerOrder" and "PerDevice". - :vartype charging_type: Union[str, "ChargingType"] - :ivar meter_guid: Validation status of requested data center and transport. - :vartype meter_guid: str - :ivar billing_type: Represents billing type. Required. PaV2 billing. - :vartype billing_type: Literal[BillingType.PAV2] - """ - - multiplier: float - """Billing unit applicable for Pav2 billing.""" - chargingType: Union[str, "ChargingType"] - """Charging type. Known values are: \"PerOrder\" and \"PerDevice\".""" - meterGuid: str - """Validation status of requested data center and transport.""" - billingType: Required[Literal[BillingType.PAV2]] - """Represents billing type. Required. PaV2 billing.""" - - class Preferences(TypedDict, total=False): """Preferences related to the order. @@ -1444,17 +822,6 @@ class Preferences(TypedDict, total=False): """Preferences related to the Term commitment.""" -class Product(TypedDict, total=False): - """Represents a product. - - :ivar properties: Properties of product. - :vartype properties: "ProductProperties" - """ - - properties: "ProductProperties" - """Properties of product.""" - - class ProductDetails(TypedDict, total=False): """Represents product details. @@ -1517,17 +884,6 @@ class ProductDetailsUpdateParameter(TypedDict, total=False): """Device Provisioning Details for Parent.""" -class ProductFamiliesMetadataDetails(TypedDict, total=False): - """Product families metadata details. - - :ivar properties: Product family properties. - :vartype properties: "ProductFamilyProperties" - """ - - properties: "ProductFamilyProperties" - """Product family properties.""" - - class ProductFamiliesRequest(TypedDict, total=False): """The filters for showing the product families. @@ -1545,116 +901,6 @@ class ProductFamiliesRequest(TypedDict, total=False): customers by explicitly passing subscription details.""" -class ProductFamily(TypedDict, total=False): - """Product Family. - - :ivar properties: Properties of product family. - :vartype properties: "ProductFamilyProperties" - """ - - properties: "ProductFamilyProperties" - """Properties of product family.""" - - -class ProductFamilyProperties(CommonProperties): - """Properties of product family. - - :ivar display_name: Display Name for the product system. - :vartype display_name: str - :ivar description: Description related to the product system. - :vartype description: "Description" - :ivar image_information: Image information for the product system. - :vartype image_information: list["ImageInformation"] - :ivar cost_information: Cost information for the product system. - :vartype cost_information: "CostInformation" - :ivar availability_information: Availability information of the product system. - :vartype availability_information: "AvailabilityInformation" - :ivar hierarchy_information: Hierarchy information of a product. - :vartype hierarchy_information: "HierarchyInformation" - :ivar fulfilled_by: The entity responsible for fulfillment of the item at the given hierarchy - level. Known values are: "Microsoft" and "External". - :vartype fulfilled_by: Union[str, "FulfillmentType"] - :ivar filterable_properties: List of filters supported for a product. - :vartype filterable_properties: list["FilterableProperty"] - :ivar product_lines: List of product lines supported in the product family. - :vartype product_lines: list["ProductLine"] - :ivar resource_provider_details: Contains details related to resource provider. - :vartype resource_provider_details: list["ResourceProviderDetails"] - """ - - productLines: list["ProductLine"] - """List of product lines supported in the product family.""" - resourceProviderDetails: list["ResourceProviderDetails"] - """Contains details related to resource provider.""" - - -class ProductLine(TypedDict, total=False): - """Product line. - - :ivar properties: Properties of product line. - :vartype properties: "ProductLineProperties" - """ - - properties: "ProductLineProperties" - """Properties of product line.""" - - -class ProductLineProperties(CommonProperties): - """Properties of product line. - - :ivar display_name: Display Name for the product system. - :vartype display_name: str - :ivar description: Description related to the product system. - :vartype description: "Description" - :ivar image_information: Image information for the product system. - :vartype image_information: list["ImageInformation"] - :ivar cost_information: Cost information for the product system. - :vartype cost_information: "CostInformation" - :ivar availability_information: Availability information of the product system. - :vartype availability_information: "AvailabilityInformation" - :ivar hierarchy_information: Hierarchy information of a product. - :vartype hierarchy_information: "HierarchyInformation" - :ivar fulfilled_by: The entity responsible for fulfillment of the item at the given hierarchy - level. Known values are: "Microsoft" and "External". - :vartype fulfilled_by: Union[str, "FulfillmentType"] - :ivar filterable_properties: List of filters supported for a product. - :vartype filterable_properties: list["FilterableProperty"] - :ivar products: List of products in the product line. - :vartype products: list["Product"] - """ - - products: list["Product"] - """List of products in the product line.""" - - -class ProductProperties(CommonProperties): - """Properties of product. - - :ivar display_name: Display Name for the product system. - :vartype display_name: str - :ivar description: Description related to the product system. - :vartype description: "Description" - :ivar image_information: Image information for the product system. - :vartype image_information: list["ImageInformation"] - :ivar cost_information: Cost information for the product system. - :vartype cost_information: "CostInformation" - :ivar availability_information: Availability information of the product system. - :vartype availability_information: "AvailabilityInformation" - :ivar hierarchy_information: Hierarchy information of a product. - :vartype hierarchy_information: "HierarchyInformation" - :ivar fulfilled_by: The entity responsible for fulfillment of the item at the given hierarchy - level. Known values are: "Microsoft" and "External". - :vartype fulfilled_by: Union[str, "FulfillmentType"] - :ivar filterable_properties: List of filters supported for a product. - :vartype filterable_properties: list["FilterableProperty"] - :ivar configurations: List of configurations for the product. - :vartype configurations: list["Configuration"] - """ - - configurations: list["Configuration"] - """List of configurations for the product.""" - - class ProvisioningDetails(TypedDict, total=False): """Details Related To Provision Resource. @@ -1703,37 +949,6 @@ class ProvisioningDetails(TypedDict, total=False): """Proof of possession details.""" -class PurchaseMeterDetails(TypedDict, total=False): - """Billing type Purchase meter details. - - :ivar multiplier: Billing unit applicable for Pav2 billing. - :vartype multiplier: float - :ivar charging_type: Charging type. Known values are: "PerOrder" and "PerDevice". - :vartype charging_type: Union[str, "ChargingType"] - :ivar product_id: Product Id. - :vartype product_id: str - :ivar sku_id: Sku Id. - :vartype sku_id: str - :ivar term_id: Term Id. - :vartype term_id: str - :ivar billing_type: Represents billing type. Required. Purchase billing. - :vartype billing_type: Literal[BillingType.PURCHASE] - """ - - multiplier: float - """Billing unit applicable for Pav2 billing.""" - chargingType: Union[str, "ChargingType"] - """Charging type. Known values are: \"PerOrder\" and \"PerDevice\".""" - productId: str - """Product Id.""" - skuId: str - """Sku Id.""" - termId: str - """Term Id.""" - billingType: Required[Literal[BillingType.PURCHASE]] - """Represents billing type. Required. Purchase billing.""" - - class ResourceIdentity(TypedDict, total=False): """Msi identity details of the resource. @@ -1877,21 +1092,6 @@ class SiteDetails(TypedDict, total=False): """Unique Id, Identifying A Site. Required.""" -class Specification(TypedDict, total=False): - """Specification of the configurations. - - :ivar name: Name of the specification. - :vartype name: str - :ivar value: Value of the specification. - :vartype value: str - """ - - name: str - """Name of the specification.""" - value: str - """Value of the specification.""" - - class StageDetails(TypedDict, total=False): """Resource stage details. @@ -1993,22 +1193,6 @@ class TermCommitmentPreferences(TypedDict, total=False): """Customer preferred Term Duration.""" -class TermTypeDetails(TypedDict, total=False): - """Holds details about term type and duration. - - :ivar term_type: Term Commitment Type. Required. Known values are: "None", "Trial", and - "Timed". - :vartype term_type: Union[str, "TermCommitmentType"] - :ivar term_type_duration: Duration for the term type. Required. - :vartype term_type_duration: str - """ - - termType: Required[Union[str, "TermCommitmentType"]] - """Term Commitment Type. Required. Known values are: \"None\", \"Trial\", and \"Timed\".""" - termTypeDuration: Required[str] - """Duration for the term type. Required.""" - - class TransportPreferences(TypedDict, total=False): """Preferences related to the shipment logistics of the sku. @@ -2035,6 +1219,3 @@ class UserAssignedIdentity(TypedDict, total=False): """The principal ID of the assigned identity.""" clientId: str """The client ID of the assigned identity.""" - - -MeterDetails = Union[Pav2MeterDetails, PurchaseMeterDetails] diff --git a/sdk/edgeorder/azure-mgmt-edgeorder/dev_requirements.txt b/sdk/edgeorder/azure-mgmt-edgeorder/dev_requirements.txt index 0a8d1282d521..87816082edc0 100644 --- a/sdk/edgeorder/azure-mgmt-edgeorder/dev_requirements.txt +++ b/sdk/edgeorder/azure-mgmt-edgeorder/dev_requirements.txt @@ -1,3 +1,4 @@ -e ../../../eng/tools/azure-sdk-tools ../../resources/azure-mgmt-resource aiohttp +azure-identity diff --git a/sdk/edgeorder/azure-mgmt-edgeorder/pyproject.toml b/sdk/edgeorder/azure-mgmt-edgeorder/pyproject.toml index 4d8ada40e837..229c107599e3 100644 --- a/sdk/edgeorder/azure-mgmt-edgeorder/pyproject.toml +++ b/sdk/edgeorder/azure-mgmt-edgeorder/pyproject.toml @@ -13,7 +13,7 @@ authors = [ description = "Microsoft Azure Edgeorder Management Client Library for Python" license = "MIT" classifiers = [ - "Development Status :: 4 - Beta", + "Development Status :: 5 - Production/Stable", "Programming Language :: Python", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3", @@ -79,7 +79,7 @@ package_name = "azure-mgmt-edgeorder" package_nspkg = "azure-mgmt-nspkg" package_pprint_name = "Edge Order Management" package_doc_id = "" -is_stable = false +is_stable = true is_arm = true title = "EdgeOrderManagementClient" need_msrestazure = false diff --git a/sdk/edgeorder/azure-mgmt-edgeorder/tests/test_edge_order_management_async_test.py b/sdk/edgeorder/azure-mgmt-edgeorder/tests/test_edge_order_management_async_test.py index 72e56baba273..c1568c8c1d03 100644 --- a/sdk/edgeorder/azure-mgmt-edgeorder/tests/test_edge_order_management_async_test.py +++ b/sdk/edgeorder/azure-mgmt-edgeorder/tests/test_edge_order_management_async_test.py @@ -22,42 +22,42 @@ def setup_method(self, method): @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) @recorded_by_proxy_async async def test_list_operations(self, resource_group): - response = self.client.list_operations() + response = self.client.operations.list() result = [r async for r in response] assert result @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) @recorded_by_proxy_async async def test_list_addresses_at_subscription_level(self, resource_group): - response = self.client.list_addresses_at_subscription_level() + response = self.client.addresses.list_by_subscription() result = [r async for r in response] assert response @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) @recorded_by_proxy_async async def test_list_product_families_metadata(self, resource_group): - response = self.client.list_product_families_metadata() + response = self.client.products_and_configurations.list_product_families_metadata() result = [r async for r in response] assert response @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) @recorded_by_proxy_async async def test_list_order_at_subscription_level(self, resource_group): - response = self.client.list_order_at_subscription_level() + response = self.client.orders.list_by_subscription() result = [r async for r in response] assert response @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) @recorded_by_proxy_async async def test_list_order_items_at_subscription_level(self, resource_group): - response = self.client.list_order_items_at_subscription_level() + response = self.client.order_items.list_by_subscription() result = [r async for r in response] assert response @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) @recorded_by_proxy_async async def test_list_addresses_at_resource_group_level(self, resource_group): - response = self.client.list_addresses_at_resource_group_level( + response = self.client.addresses.list_by_resource_group( resource_group_name=resource_group.name, ) result = [r async for r in response] @@ -66,7 +66,7 @@ async def test_list_addresses_at_resource_group_level(self, resource_group): @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) @recorded_by_proxy_async async def test_list_order_at_resource_group_level(self, resource_group): - response = self.client.list_order_at_resource_group_level( + response = self.client.orders.list_by_resource_group( resource_group_name=resource_group.name, ) result = [r async for r in response] @@ -75,7 +75,7 @@ async def test_list_order_at_resource_group_level(self, resource_group): @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) @recorded_by_proxy_async async def test_list_order_items_at_resource_group_level(self, resource_group): - response = self.client.list_order_items_at_resource_group_level( + response = self.client.order_items.list_by_resource_group( resource_group_name=resource_group.name, ) result = [r async for r in response] diff --git a/sdk/edgeorder/azure-mgmt-edgeorder/tests/test_edge_order_management_test.py b/sdk/edgeorder/azure-mgmt-edgeorder/tests/test_edge_order_management_test.py index 0e66df1e9e78..96785699fac4 100644 --- a/sdk/edgeorder/azure-mgmt-edgeorder/tests/test_edge_order_management_test.py +++ b/sdk/edgeorder/azure-mgmt-edgeorder/tests/test_edge_order_management_test.py @@ -21,42 +21,42 @@ def setup_method(self, method): @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) @recorded_by_proxy def test_list_operations(self, resource_group): - response = self.client.list_operations() + response = self.client.operations.list() result = [r for r in response] assert response @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) @recorded_by_proxy def test_list_addresses_at_subscription_level(self, resource_group): - response = self.client.list_addresses_at_subscription_level() + response = self.client.addresses.list_by_subscription() result = [r for r in response] assert response @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) @recorded_by_proxy def test_list_product_families_metadata(self, resource_group): - response = self.client.list_product_families_metadata() + response = self.client.products_and_configurations.list_product_families_metadata() result = [r for r in response] assert response @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) @recorded_by_proxy def test_list_order_at_subscription_level(self, resource_group): - response = self.client.list_order_at_subscription_level() + response = self.client.orders.list_by_subscription() result = [r for r in response] assert response @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) @recorded_by_proxy def test_list_order_items_at_subscription_level(self, resource_group): - response = self.client.list_order_items_at_subscription_level() + response = self.client.order_items.list_by_subscription() result = [r for r in response] assert response @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) @recorded_by_proxy def test_list_addresses_at_resource_group_level(self, resource_group): - response = self.client.list_addresses_at_resource_group_level( + response = self.client.addresses.list_by_resource_group( resource_group_name=resource_group.name, ) result = [r for r in response] @@ -65,7 +65,7 @@ def test_list_addresses_at_resource_group_level(self, resource_group): @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) @recorded_by_proxy def test_list_order_at_resource_group_level(self, resource_group): - response = self.client.list_order_at_resource_group_level( + response = self.client.orders.list_by_resource_group( resource_group_name=resource_group.name, ) result = [r for r in response] @@ -74,7 +74,7 @@ def test_list_order_at_resource_group_level(self, resource_group): @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) @recorded_by_proxy def test_list_order_items_at_resource_group_level(self, resource_group): - response = self.client.list_order_items_at_resource_group_level( + response = self.client.order_items.list_by_resource_group( resource_group_name=resource_group.name, ) result = [r for r in response] diff --git a/sdk/edgeorder/azure-mgmt-edgeorder/tsp-location.yaml b/sdk/edgeorder/azure-mgmt-edgeorder/tsp-location.yaml index d94cc20e72e1..3b6828271dab 100644 --- a/sdk/edgeorder/azure-mgmt-edgeorder/tsp-location.yaml +++ b/sdk/edgeorder/azure-mgmt-edgeorder/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/edgeorder/resource-manager/Microsoft.EdgeOrder/EdgeOrder -commit: 3d1de464b5576fa149aed429795f6030313e31bb +commit: 801a60cdad2669e8f824fedfbabbfe7f7093b940 repo: Azure/azure-rest-api-specs additionalDirectories: