Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 76 additions & 0 deletions sdk/astro/azure-mgmt-astro/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,81 @@
# Release History

## 1.0.0 (2025-03-25)

### Features Added

- Client `AstroMgmtClient` added method `send_request`
- Enum `ManagedServiceIdentityType` added member `SYSTEM_AND_USER_ASSIGNED`
- Model `OrganizationResourceUpdateProperties` added property `marketplace`
- Added model `ManagedServiceIdentityV4`
- Added model `MarketplaceDetails`
- Added model `OfferDetails`
- Added model `OrganizationProperties`
- Added model `PartnerOrganizationProperties`
- Added enum `RenewalMode`
- Added model `SingleSignOnProperties`
- Added model `UserDetails`
- Method `ErrorResponse.__init__` has a new overload `def __init__(self: None, error: Optional[_models.ErrorDetail])`
- Method `ErrorResponse.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
- Method `Operation.__init__` has a new overload `def __init__(self: None, display: Optional[_models.OperationDisplay])`
- Method `Operation.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
- Method `OrganizationResource.__init__` has a new overload `def __init__(self: None, location: str, tags: Optional[Dict[str, str]], properties: Optional[_models.OrganizationProperties], identity: Optional[_models.ManagedServiceIdentityV4])`
- Method `OrganizationResource.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
- Method `OrganizationResource.__init__` has a new overload `def __init__(self: None, location: str, tags: Optional[Dict[str, str]])`
- Method `OrganizationResource.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
- Method `OrganizationResourceUpdate.__init__` has a new overload `def __init__(self: None, identity: Optional[_models.ManagedServiceIdentityV4], tags: Optional[Dict[str, str]], properties: Optional[_models.OrganizationResourceUpdateProperties])`
- Method `OrganizationResourceUpdate.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
- Method `OrganizationResourceUpdateProperties.__init__` has a new overload `def __init__(self: None, marketplace: Optional[_models.MarketplaceDetails], user: Optional[_models.UserDetails], partner_organization_properties: Optional[_models.PartnerOrganizationProperties])`
- Method `OrganizationResourceUpdateProperties.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
- Method `SystemData.__init__` has a new overload `def __init__(self: None, created_by: Optional[str], created_by_type: Optional[Union[str, _models.CreatedByType]], created_at: Optional[datetime], last_modified_by: Optional[str], last_modified_by_type: Optional[Union[str, _models.CreatedByType]], last_modified_at: Optional[datetime])`
- Method `SystemData.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
- Method `TrackedResource.__init__` has a new overload `def __init__(self: None, location: str, tags: Optional[Dict[str, str]])`
- Method `TrackedResource.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
- Method `ManagedServiceIdentityV4.__init__` has a new overload `def __init__(self: None, type: Union[str, _models.ManagedServiceIdentityType], user_assigned_identities: Optional[Dict[str, _models.UserAssignedIdentity]])`
- Method `ManagedServiceIdentityV4.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
- Method `MarketplaceDetails.__init__` has a new overload `def __init__(self: None, offer_details: _models.OfferDetails, subscription_id: Optional[str], subscription_status: Optional[Union[str, _models.MarketplaceSubscriptionStatus]])`
- Method `MarketplaceDetails.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
- Method `OfferDetails.__init__` has a new overload `def __init__(self: None, publisher_id: str, offer_id: str, plan_id: str, plan_name: Optional[str], term_unit: Optional[str], term_id: Optional[str], renewal_mode: Optional[Union[str, _models.RenewalMode]])`
- Method `OfferDetails.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
- Method `OrganizationProperties.__init__` has a new overload `def __init__(self: None, marketplace: _models.MarketplaceDetails, user: _models.UserDetails, partner_organization_properties: Optional[_models.PartnerOrganizationProperties])`
- Method `OrganizationProperties.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
- Method `PartnerOrganizationProperties.__init__` has a new overload `def __init__(self: None, organization_name: str, organization_id: Optional[str], workspace_id: Optional[str], workspace_name: Optional[str], single_sign_on_properties: Optional[_models.SingleSignOnProperties])`
- Method `PartnerOrganizationProperties.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
- Method `SingleSignOnProperties.__init__` has a new overload `def __init__(self: None, single_sign_on_state: Optional[Union[str, _models.SingleSignOnStates]], enterprise_app_id: Optional[str], single_sign_on_url: Optional[str], aad_domains: Optional[List[str]])`
- Method `SingleSignOnProperties.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
- Method `UserDetails.__init__` has a new overload `def __init__(self: None, first_name: str, last_name: str, email_address: str, upn: Optional[str], phone_number: Optional[str])`
- Method `UserDetails.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
- Method `OrganizationsOperations.begin_create_or_update` has a new overload `def begin_create_or_update(self: None, resource_group_name: str, organization_name: str, resource: IO[bytes], content_type: str)`
- Method `OrganizationsOperations.begin_create_or_update` has a new overload `def begin_create_or_update(self: None, resource_group_name: str, organization_name: str, resource: JSON, content_type: str)`
- Method `OrganizationsOperations.begin_update` has a new overload `def begin_update(self: None, resource_group_name: str, organization_name: str, properties: IO[bytes], content_type: str)`
- Method `OrganizationsOperations.begin_update` has a new overload `def begin_update(self: None, resource_group_name: str, organization_name: str, properties: JSON, content_type: str)`

### Breaking Changes

- Model `ErrorAdditionalInfo` deleted or renamed its instance variable `additional_properties`
- Model `ErrorDetail` deleted or renamed its instance variable `additional_properties`
- Model `ErrorResponse` deleted or renamed its instance variable `additional_properties`
- Deleted or renamed enum value `ManagedServiceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED`
- Model `Operation` deleted or renamed its instance variable `additional_properties`
- Model `OperationDisplay` deleted or renamed its instance variable `additional_properties`
- Model `OrganizationResource` deleted or renamed its instance variable `additional_properties`
- Model `OrganizationResourceUpdate` deleted or renamed its instance variable `additional_properties`
- Model `OrganizationResourceUpdateProperties` deleted or renamed its instance variable `additional_properties`
- Model `Resource` deleted or renamed its instance variable `additional_properties`
- Model `SystemData` deleted or renamed its instance variable `additional_properties`
- Model `TrackedResource` deleted or renamed its instance variable `additional_properties`
- Model `UserAssignedIdentity` deleted or renamed its instance variable `additional_properties`
- Deleted or renamed model `LiftrBaseDataOrganizationProperties`
- Deleted or renamed model `LiftrBaseDataPartnerOrganizationProperties`
- Deleted or renamed model `LiftrBaseDataPartnerOrganizationPropertiesUpdate`
- Deleted or renamed model `LiftrBaseMarketplaceDetails`
- Deleted or renamed model `LiftrBaseOfferDetails`
- Deleted or renamed model `LiftrBaseSingleSignOnProperties`
- Deleted or renamed model `LiftrBaseUserDetails`
- Deleted or renamed model `LiftrBaseUserDetailsUpdate`
- Deleted or renamed model `ManagedServiceIdentity`
- Deleted or renamed model `Versions`

## 1.0.0b1 (2024-02-22)

* Initial Release
11 changes: 3 additions & 8 deletions sdk/astro/azure-mgmt-astro/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"commit": "8bf9ff0986adb3b37755d8b0a0dfab93906d2eab",
"commit": "bb720b097f7c7afa6cdc8246f6fb654ef390993a",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.9.7",
"use": [
"@autorest/[email protected]",
"@autorest/[email protected]"
],
"autorest_command": "autorest specification/liftrastronomer/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.9.7 --version-tolerant=False",
"readme": "specification/liftrastronomer/resource-manager/readme.md"
"typespec_src": "specification/liftrastronomer/Astronomer.Astro.Management",
"@azure-tools/typespec-python": "0.40.0"
}
39 changes: 39 additions & 0 deletions sdk/astro/azure-mgmt-astro/apiview-properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"CrossLanguagePackageId": "Astronomer.Astro",
"CrossLanguageDefinitionId": {
"azure.mgmt.astro.models.ErrorAdditionalInfo": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo",
"azure.mgmt.astro.models.ErrorDetail": "Azure.ResourceManager.CommonTypes.ErrorDetail",
"azure.mgmt.astro.models.ErrorResponse": "Azure.ResourceManager.CommonTypes.ErrorResponse",
"azure.mgmt.astro.models.ManagedServiceIdentityV4": "Azure.ResourceManager.Legacy.ManagedServiceIdentityV4",
"azure.mgmt.astro.models.MarketplaceDetails": "LiftrBase.MarketplaceDetails",
"azure.mgmt.astro.models.OfferDetails": "LiftrBase.OfferDetails",
"azure.mgmt.astro.models.Operation": "Azure.ResourceManager.CommonTypes.Operation",
"azure.mgmt.astro.models.OperationDisplay": "Azure.ResourceManager.CommonTypes.OperationDisplay",
"azure.mgmt.astro.models.OrganizationProperties": "LiftrBase.Data.OrganizationProperties",
"azure.mgmt.astro.models.Resource": "Azure.ResourceManager.CommonTypes.Resource",
"azure.mgmt.astro.models.TrackedResource": "Azure.ResourceManager.CommonTypes.TrackedResource",
"azure.mgmt.astro.models.OrganizationResource": "Astronomer.Astro.OrganizationResource",
"azure.mgmt.astro.models.OrganizationResourceUpdate": "Azure.ResourceManager.Foundations.ResourceUpdateModel",
"azure.mgmt.astro.models.OrganizationResourceUpdateProperties": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties",
"azure.mgmt.astro.models.PartnerOrganizationProperties": "LiftrBase.Data.PartnerOrganizationProperties",
"azure.mgmt.astro.models.SingleSignOnProperties": "LiftrBase.SingleSignOnProperties",
"azure.mgmt.astro.models.SystemData": "Azure.ResourceManager.CommonTypes.SystemData",
"azure.mgmt.astro.models.UserAssignedIdentity": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity",
"azure.mgmt.astro.models.UserDetails": "LiftrBase.UserDetails",
"azure.mgmt.astro.models.Origin": "Azure.ResourceManager.CommonTypes.Origin",
"azure.mgmt.astro.models.ActionType": "Azure.ResourceManager.CommonTypes.ActionType",
"azure.mgmt.astro.models.CreatedByType": "Azure.ResourceManager.CommonTypes.createdByType",
"azure.mgmt.astro.models.MarketplaceSubscriptionStatus": "LiftrBase.MarketplaceSubscriptionStatus",
"azure.mgmt.astro.models.RenewalMode": "LiftrBase.RenewalMode",
"azure.mgmt.astro.models.ResourceProvisioningState": "Azure.ResourceManager.ResourceProvisioningState",
"azure.mgmt.astro.models.SingleSignOnStates": "LiftrBase.SingleSignOnStates",
"azure.mgmt.astro.models.ManagedServiceIdentityType": "Azure.ResourceManager.Legacy.ManagedServiceIdentityType",
"azure.mgmt.astro.AstroMgmtClient.operations.list": "Azure.ResourceManager.Operations.list",
"azure.mgmt.astro.AstroMgmtClient.organizations.get": "Astronomer.Astro.Organizations.get",
"azure.mgmt.astro.AstroMgmtClient.organizations.begin_create_or_update": "Astronomer.Astro.Organizations.createOrUpdate",
"azure.mgmt.astro.AstroMgmtClient.organizations.begin_update": "Astronomer.Astro.Organizations.update",
"azure.mgmt.astro.AstroMgmtClient.organizations.begin_delete": "Astronomer.Astro.Organizations.delete",
"azure.mgmt.astro.AstroMgmtClient.organizations.list_by_resource_group": "Astronomer.Astro.Organizations.listByResourceGroup",
"azure.mgmt.astro.AstroMgmtClient.organizations.list_by_subscription": "Astronomer.Astro.Organizations.listBySubscription"
}
}
14 changes: 10 additions & 4 deletions sdk/astro/azure-mgmt-astro/azure/mgmt/astro/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,31 @@
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Code generated by Microsoft (R) Python Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
# pylint: disable=wrong-import-position

from ._astro_mgmt_client import AstroMgmtClient
from typing import TYPE_CHECKING

if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._client import AstroMgmtClient # type: ignore
from ._version import VERSION

__version__ = VERSION

try:
from ._patch import __all__ as _patch_all
from ._patch import * # pylint: disable=unused-wildcard-import
from ._patch import *
except ImportError:
_patch_all = []
from ._patch import patch_sdk as _patch_sdk

__all__ = [
"AstroMgmtClient",
]
__all__.extend([p for p in _patch_all if p not in __all__])
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore

_patch_sdk()
Loading