diff --git a/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/CHANGELOG.md b/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/CHANGELOG.md index 564f71ffd601..e60f8832b6dc 100644 --- a/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/CHANGELOG.md +++ b/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/CHANGELOG.md @@ -1,5 +1,215 @@ # Release History +## 2.0.0 (2025-04-03) + +### Features Added + + - Client `HybridConnectivityMgmtClient` added method `send_request` + - Client `HybridConnectivityMgmtClient` added operation group `generate_aws_template` + - Client `HybridConnectivityMgmtClient` added operation group `public_cloud_connectors` + - Client `HybridConnectivityMgmtClient` added operation group `solution_configurations` + - Client `HybridConnectivityMgmtClient` added operation group `inventory` + - Client `HybridConnectivityMgmtClient` added operation group `solution_types` + - Model `ServiceConfigurationResource` added property `properties` + - Added model `AADProfileProperties` + - Added model `AwsCloudProfile` + - Added model `AwsCloudProfileUpdate` + - Added enum `CloudNativeType` + - Added model `ExtensionResource` + - Added model `GenerateAwsTemplateRequest` + - Added model `GenerateAwsTemplateResponse` + - Added enum `HostType` + - Added model `IngressProfileProperties` + - Added model `InventoryProperties` + - Added model `InventoryResource` + - Added model `OperationStatusResult` + - Added model `PublicCloudConnector` + - Added model `PublicCloudConnectorProperties` + - Added model `PublicCloudConnectorPropertiesUpdate` + - Added model `PublicCloudConnectorUpdate` + - Added model `RelayNamespaceAccessProperties` + - Added enum `ResourceProvisioningState` + - Added model `ServiceConfigurationProperties` + - Added model `ServiceConfigurationPropertiesPatch` + - Added model `SolutionConfiguration` + - Added model `SolutionConfigurationProperties` + - Added model `SolutionConfigurationPropertiesUpdate` + - Added enum `SolutionConfigurationStatus` + - Added model `SolutionConfigurationUpdate` + - Added model `SolutionSettings` + - Added model `SolutionTypeProperties` + - Added model `SolutionTypeResource` + - Added model `SolutionTypeSettings` + - Added model `SolutionTypeSettingsProperties` + - Added model `TrackedResource` + - Added model `TrackedResourceUpdate` + - Added model `GenerateAwsTemplateOperations` + - Added model `InventoryOperations` + - Added model `PublicCloudConnectorsOperations` + - Added model `SolutionConfigurationsOperations` + - Added model `SolutionTypesOperations` + - Method `EndpointAccessResource.__init__` has a new overload `def __init__(self: None, relay: Optional[_models.RelayNamespaceAccessProperties])` + - Method `EndpointAccessResource.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])` + - Method `EndpointProperties.__init__` has a new overload `def __init__(self: None, type: Union[str, _models.Type], resource_id: Optional[str])` + - Method `EndpointProperties.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])` + - Method `EndpointResource.__init__` has a new overload `def __init__(self: None, properties: Optional[_models.EndpointProperties])` + - Method `EndpointResource.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])` + - 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 `IngressGatewayResource.__init__` has a new overload `def __init__(self: None, relay: Optional[_models.RelayNamespaceAccessProperties], ingress: Optional[_models.IngressProfileProperties])` + - Method `IngressGatewayResource.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])` + - Method `ListCredentialsRequest.__init__` has a new overload `def __init__(self: None, service_name: Optional[Union[str, _models.ServiceName]])` + - Method `ListCredentialsRequest.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])` + - Method `ListIngressGatewayCredentialsRequest.__init__` has a new overload `def __init__(self: None, service_name: Optional[Union[str, _models.ServiceName]])` + - Method `ListIngressGatewayCredentialsRequest.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])` + - Method `ManagedProxyRequest.__init__` has a new overload `def __init__(self: None, service: str, hostname: Optional[str], service_name: Optional[Union[str, _models.ServiceName]])` + - Method `ManagedProxyRequest.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])` + - Method `ManagedProxyResource.__init__` has a new overload `def __init__(self: None, proxy: str, expires_on: int)` + - Method `ManagedProxyResource.__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 `ServiceConfigurationResource.__init__` has a new overload `def __init__(self: None, properties: Optional[_models.ServiceConfigurationProperties])` + - Method `ServiceConfigurationResource.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])` + - Method `ServiceConfigurationResourcePatch.__init__` has a new overload `def __init__(self: None, properties: Optional[_models.ServiceConfigurationPropertiesPatch])` + - Method `ServiceConfigurationResourcePatch.__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 `AADProfileProperties.__init__` has a new overload `def __init__(self: None, server_id: str, tenant_id: str)` + - Method `AADProfileProperties.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])` + - Method `AwsCloudProfile.__init__` has a new overload `def __init__(self: None, account_id: str, excluded_accounts: Optional[List[str]], is_organizational_account: Optional[bool])` + - Method `AwsCloudProfile.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])` + - Method `AwsCloudProfileUpdate.__init__` has a new overload `def __init__(self: None, excluded_accounts: Optional[List[str]])` + - Method `AwsCloudProfileUpdate.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])` + - Method `GenerateAwsTemplateRequest.__init__` has a new overload `def __init__(self: None, connector_id: str, solution_types: Optional[List[_models.SolutionTypeSettings]])` + - Method `GenerateAwsTemplateRequest.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])` + - Method `IngressProfileProperties.__init__` has a new overload `def __init__(self: None, hostname: str, aad_profile: _models.AADProfileProperties)` + - Method `IngressProfileProperties.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])` + - Method `InventoryProperties.__init__` has a new overload `def __init__(self: None, cloud_native_type: Optional[Union[str, _models.CloudNativeType]], cloud_native_resource_id: Optional[str], azure_resource_id: Optional[str], status: Optional[Union[str, _models.SolutionConfigurationStatus]], status_details: Optional[str])` + - Method `InventoryProperties.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])` + - Method `InventoryResource.__init__` has a new overload `def __init__(self: None, properties: Optional[_models.InventoryProperties])` + - Method `InventoryResource.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])` + - Method `OperationStatusResult.__init__` has a new overload `def __init__(self: None, status: str, id: Optional[str], name: Optional[str], percent_complete: Optional[float], start_time: Optional[datetime], end_time: Optional[datetime], operations: Optional[List[_models.OperationStatusResult]], error: Optional[_models.ErrorDetail])` + - Method `OperationStatusResult.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])` + - Method `PublicCloudConnector.__init__` has a new overload `def __init__(self: None, location: str, tags: Optional[Dict[str, str]], properties: Optional[_models.PublicCloudConnectorProperties])` + - Method `PublicCloudConnector.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])` + - Method `PublicCloudConnector.__init__` has a new overload `def __init__(self: None, location: str, tags: Optional[Dict[str, str]])` + - Method `PublicCloudConnector.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])` + - Method `PublicCloudConnectorProperties.__init__` has a new overload `def __init__(self: None, aws_cloud_profile: _models.AwsCloudProfile, host_type: Union[str, _models.HostType])` + - Method `PublicCloudConnectorProperties.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])` + - Method `PublicCloudConnectorPropertiesUpdate.__init__` has a new overload `def __init__(self: None, aws_cloud_profile: Optional[_models.AwsCloudProfileUpdate])` + - Method `PublicCloudConnectorPropertiesUpdate.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])` + - Method `PublicCloudConnectorUpdate.__init__` has a new overload `def __init__(self: None, tags: Optional[Dict[str, str]], properties: Optional[_models.PublicCloudConnectorPropertiesUpdate])` + - Method `PublicCloudConnectorUpdate.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])` + - Method `PublicCloudConnectorUpdate.__init__` has a new overload `def __init__(self: None, tags: Optional[Dict[str, str]])` + - Method `PublicCloudConnectorUpdate.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])` + - Method `RelayNamespaceAccessProperties.__init__` has a new overload `def __init__(self: None, namespace_name: str, namespace_name_suffix: str, hybrid_connection_name: str, expires_on: Optional[int], service_configuration_token: Optional[str])` + - Method `RelayNamespaceAccessProperties.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])` + - Method `ServiceConfigurationProperties.__init__` has a new overload `def __init__(self: None, service_name: Union[str, _models.ServiceName], resource_id: Optional[str], port: Optional[int])` + - Method `ServiceConfigurationProperties.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])` + - Method `ServiceConfigurationPropertiesPatch.__init__` has a new overload `def __init__(self: None, port: Optional[int])` + - Method `ServiceConfigurationPropertiesPatch.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])` + - Method `SolutionConfiguration.__init__` has a new overload `def __init__(self: None, properties: Optional[_models.SolutionConfigurationProperties])` + - Method `SolutionConfiguration.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])` + - Method `SolutionConfigurationProperties.__init__` has a new overload `def __init__(self: None, solution_type: str, solution_settings: Optional[_models.SolutionSettings])` + - Method `SolutionConfigurationProperties.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])` + - Method `SolutionConfigurationPropertiesUpdate.__init__` has a new overload `def __init__(self: None, solution_type: Optional[str], solution_settings: Optional[_models.SolutionSettings])` + - Method `SolutionConfigurationPropertiesUpdate.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])` + - Method `SolutionConfigurationUpdate.__init__` has a new overload `def __init__(self: None, properties: Optional[_models.SolutionConfigurationPropertiesUpdate])` + - Method `SolutionConfigurationUpdate.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])` + - Method `SolutionTypeProperties.__init__` has a new overload `def __init__(self: None, solution_type: Optional[str], description: Optional[str], supported_azure_regions: Optional[List[str]], solution_settings: Optional[List[_models.SolutionTypeSettingsProperties]])` + - Method `SolutionTypeProperties.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])` + - Method `SolutionTypeResource.__init__` has a new overload `def __init__(self: None, properties: Optional[_models.SolutionTypeProperties])` + - Method `SolutionTypeResource.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])` + - Method `SolutionTypeSettings.__init__` has a new overload `def __init__(self: None, solution_type: str, solution_settings: Optional[_models.SolutionSettings])` + - Method `SolutionTypeSettings.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])` + - Method `SolutionTypeSettingsProperties.__init__` has a new overload `def __init__(self: None, name: str, display_name: str, type: str, description: str, allowed_values: List[str], default_value: str)` + - Method `SolutionTypeSettingsProperties.__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 `TrackedResourceUpdate.__init__` has a new overload `def __init__(self: None, tags: Optional[Dict[str, str]])` + - Method `TrackedResourceUpdate.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])` + - Method `EndpointsOperations.create_or_update` has a new overload `def create_or_update(self: None, resource_uri: str, endpoint_name: str, endpoint_resource: IO[bytes], content_type: str)` + - Method `EndpointsOperations.create_or_update` has a new overload `def create_or_update(self: None, resource_uri: str, endpoint_name: str, endpoint_resource: JSON, content_type: str)` + - Method `EndpointsOperations.list_credentials` has a new overload `def list_credentials(self: None, resource_uri: str, endpoint_name: str, list_credentials_request: Optional[ListCredentialsRequest], expiresin: Optional[int], content_type: str)` + - Method `EndpointsOperations.list_credentials` has a new overload `def list_credentials(self: None, resource_uri: str, endpoint_name: str, list_credentials_request: Optional[IO[bytes]], expiresin: Optional[int], content_type: str)` + - Method `EndpointsOperations.list_credentials` has a new overload `def list_credentials(self: None, resource_uri: str, endpoint_name: str, list_credentials_request: Optional[JSON], expiresin: Optional[int], content_type: str)` + - Method `EndpointsOperations.list_ingress_gateway_credentials` has a new overload `def list_ingress_gateway_credentials(self: None, resource_uri: str, endpoint_name: str, list_ingress_gateway_credentials_request: Optional[ListIngressGatewayCredentialsRequest], expiresin: Optional[int], content_type: str)` + - Method `EndpointsOperations.list_ingress_gateway_credentials` has a new overload `def list_ingress_gateway_credentials(self: None, resource_uri: str, endpoint_name: str, list_ingress_gateway_credentials_request: Optional[IO[bytes]], expiresin: Optional[int], content_type: str)` + - Method `EndpointsOperations.list_ingress_gateway_credentials` has a new overload `def list_ingress_gateway_credentials(self: None, resource_uri: str, endpoint_name: str, list_ingress_gateway_credentials_request: Optional[JSON], expiresin: Optional[int], content_type: str)` + - Method `EndpointsOperations.list_managed_proxy_details` has a new overload `def list_managed_proxy_details(self: None, resource_uri: str, endpoint_name: str, managed_proxy_request: IO[bytes], content_type: str)` + - Method `EndpointsOperations.list_managed_proxy_details` has a new overload `def list_managed_proxy_details(self: None, resource_uri: str, endpoint_name: str, managed_proxy_request: JSON, content_type: str)` + - Method `EndpointsOperations.update` has a new overload `def update(self: None, resource_uri: str, endpoint_name: str, endpoint_resource: IO[bytes], content_type: str)` + - Method `EndpointsOperations.update` has a new overload `def update(self: None, resource_uri: str, endpoint_name: str, endpoint_resource: JSON, content_type: str)` + - Method `ServiceConfigurationsOperations.create_orupdate` has a new overload `def create_orupdate(self: None, resource_uri: str, endpoint_name: str, service_configuration_name: str, service_configuration_resource: IO[bytes], content_type: str)` + - Method `ServiceConfigurationsOperations.create_orupdate` has a new overload `def create_orupdate(self: None, resource_uri: str, endpoint_name: str, service_configuration_name: str, service_configuration_resource: JSON, content_type: str)` + - Method `ServiceConfigurationsOperations.update` has a new overload `def update(self: None, resource_uri: str, endpoint_name: str, service_configuration_name: str, service_configuration_resource: IO[bytes], content_type: str)` + - Method `ServiceConfigurationsOperations.update` has a new overload `def update(self: None, resource_uri: str, endpoint_name: str, service_configuration_name: str, service_configuration_resource: JSON, content_type: str)` + - Method `GenerateAwsTemplateOperations.post` has a new overload `def post(self: None, generate_aws_template_request: GenerateAwsTemplateRequest, content_type: str)` + - Method `GenerateAwsTemplateOperations.post` has a new overload `def post(self: None, generate_aws_template_request: JSON, content_type: str)` + - Method `GenerateAwsTemplateOperations.post` has a new overload `def post(self: None, generate_aws_template_request: IO[bytes], content_type: str)` + - Method `PublicCloudConnectorsOperations.begin_create_or_update` has a new overload `def begin_create_or_update(self: None, resource_group_name: str, public_cloud_connector: str, resource: PublicCloudConnector, content_type: str)` + - Method `PublicCloudConnectorsOperations.begin_create_or_update` has a new overload `def begin_create_or_update(self: None, resource_group_name: str, public_cloud_connector: str, resource: JSON, content_type: str)` + - Method `PublicCloudConnectorsOperations.begin_create_or_update` has a new overload `def begin_create_or_update(self: None, resource_group_name: str, public_cloud_connector: str, resource: IO[bytes], content_type: str)` + - Method `PublicCloudConnectorsOperations.update` has a new overload `def update(self: None, resource_group_name: str, public_cloud_connector: str, properties: PublicCloudConnectorUpdate, content_type: str)` + - Method `PublicCloudConnectorsOperations.update` has a new overload `def update(self: None, resource_group_name: str, public_cloud_connector: str, properties: JSON, content_type: str)` + - Method `PublicCloudConnectorsOperations.update` has a new overload `def update(self: None, resource_group_name: str, public_cloud_connector: str, properties: IO[bytes], content_type: str)` + - Method `SolutionConfigurationsOperations.create_or_update` has a new overload `def create_or_update(self: None, resource_uri: str, solution_configuration: str, resource: SolutionConfiguration, content_type: str)` + - Method `SolutionConfigurationsOperations.create_or_update` has a new overload `def create_or_update(self: None, resource_uri: str, solution_configuration: str, resource: JSON, content_type: str)` + - Method `SolutionConfigurationsOperations.create_or_update` has a new overload `def create_or_update(self: None, resource_uri: str, solution_configuration: str, resource: IO[bytes], content_type: str)` + - Method `SolutionConfigurationsOperations.update` has a new overload `def update(self: None, resource_uri: str, solution_configuration: str, properties: SolutionConfigurationUpdate, content_type: str)` + - Method `SolutionConfigurationsOperations.update` has a new overload `def update(self: None, resource_uri: str, solution_configuration: str, properties: JSON, content_type: str)` + - Method `SolutionConfigurationsOperations.update` has a new overload `def update(self: None, resource_uri: str, solution_configuration: str, properties: IO[bytes], content_type: str)` + +### Breaking Changes + + - Method `HybridConnectivityMgmtClient.__init__` inserted a `positional_or_keyword` parameter `subscription_id` + - Model `EndpointAccessResource` deleted or renamed its instance variable `namespace_name` + - Model `EndpointAccessResource` deleted or renamed its instance variable `namespace_name_suffix` + - Model `EndpointAccessResource` deleted or renamed its instance variable `hybrid_connection_name` + - Model `EndpointAccessResource` deleted or renamed its instance variable `access_key` + - Model `EndpointAccessResource` deleted or renamed its instance variable `expires_on` + - Model `EndpointAccessResource` deleted or renamed its instance variable `service_configuration_token` + - Model `EndpointAccessResource` deleted or renamed its instance variable `additional_properties` + - Model `EndpointProperties` deleted or renamed its instance variable `additional_properties` + - Model `EndpointResource` deleted or renamed its instance variable `additional_properties` + - 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` + - Model `IngressGatewayResource` deleted or renamed its instance variable `hostname` + - Model `IngressGatewayResource` deleted or renamed its instance variable `server_id` + - Model `IngressGatewayResource` deleted or renamed its instance variable `tenant_id` + - Model `IngressGatewayResource` deleted or renamed its instance variable `namespace_name` + - Model `IngressGatewayResource` deleted or renamed its instance variable `namespace_name_suffix` + - Model `IngressGatewayResource` deleted or renamed its instance variable `hybrid_connection_name` + - Model `IngressGatewayResource` deleted or renamed its instance variable `access_key` + - Model `IngressGatewayResource` deleted or renamed its instance variable `expires_on` + - Model `IngressGatewayResource` deleted or renamed its instance variable `service_configuration_token` + - Model `IngressGatewayResource` deleted or renamed its instance variable `additional_properties` + - Model `ListCredentialsRequest` deleted or renamed its instance variable `additional_properties` + - Model `ListIngressGatewayCredentialsRequest` deleted or renamed its instance variable `additional_properties` + - Model `ManagedProxyRequest` deleted or renamed its instance variable `additional_properties` + - Model `ManagedProxyResource` deleted or renamed its instance variable `additional_properties` + - Model `Operation` deleted or renamed its instance variable `additional_properties` + - Model `OperationDisplay` deleted or renamed its instance variable `additional_properties` + - Model `ProxyResource` deleted or renamed its instance variable `additional_properties` + - Model `Resource` deleted or renamed its instance variable `additional_properties` + - Model `ServiceConfigurationResource` deleted or renamed its instance variable `service_name` + - Model `ServiceConfigurationResource` deleted or renamed its instance variable `resource_id` + - Model `ServiceConfigurationResource` deleted or renamed its instance variable `port` + - Model `ServiceConfigurationResource` deleted or renamed its instance variable `provisioning_state` + - Model `ServiceConfigurationResource` deleted or renamed its instance variable `additional_properties` + - Model `ServiceConfigurationResourcePatch` deleted or renamed its instance variable `port` + - Model `ServiceConfigurationResourcePatch` deleted or renamed its instance variable `additional_properties` + - Model `SystemData` deleted or renamed its instance variable `additional_properties` + - Deleted or renamed model `EndpointsList` + - Deleted or renamed model `ServiceConfigurationList` + - Method `EndpointsOperations.list_credentials` parameter `expiresin` changed default value from `int` to `none` + - Method `EndpointsOperations.list_credentials` changed its parameter `expiresin` from `positional_or_keyword` to `keyword_only` + - Method `EndpointsOperations.list_ingress_gateway_credentials` parameter `expiresin` changed default value from `int` to `none` + - Method `EndpointsOperations.list_ingress_gateway_credentials` changed its parameter `expiresin` from `positional_or_keyword` to `keyword_only` + - Method `EndpointsOperations.list_credentials` re-ordered its parameters from `['self', 'resource_uri', 'endpoint_name', 'expiresin', 'list_credentials_request', 'kwargs']` to `['self', 'resource_uri', 'endpoint_name', 'list_credentials_request', 'expiresin', 'kwargs']` + - Method `EndpointsOperations.list_ingress_gateway_credentials` re-ordered its parameters from `['self', 'resource_uri', 'endpoint_name', 'expiresin', 'list_ingress_gateway_credentials_request', 'kwargs']` to `['self', 'resource_uri', 'endpoint_name', 'list_ingress_gateway_credentials_request', 'expiresin', 'kwargs']` + ## 2.0.0b1 (2025-04-01) ### Features Added diff --git a/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/_meta.json b/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/_meta.json index 4c9201fb5386..6feb3b12f2eb 100644 --- a/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/_meta.json +++ b/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/_meta.json @@ -1,5 +1,5 @@ { - "commit": "3db6867b8e524ea6d1bc7a3bbb989fe50dd2f184", + "commit": "c2e4113b9a57a471dff9fcb8bed9dad94d15351b", "repository_url": "https://github.com/Azure/azure-rest-api-specs", "typespec_src": "specification/hybridconnectivity/HybridConnectivity.Management", "@azure-tools/typespec-python": "0.41.0" diff --git a/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/apiview-properties.json b/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/apiview-properties.json index 09df4dd2b8b9..6e8d0a8b7cef 100644 --- a/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/apiview-properties.json +++ b/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/apiview-properties.json @@ -13,6 +13,7 @@ "azure.mgmt.hybridconnectivity.models.ErrorDetail": "Azure.ResourceManager.CommonTypes.ErrorDetail", "azure.mgmt.hybridconnectivity.models.ErrorResponse": "Azure.ResourceManager.CommonTypes.ErrorResponse", "azure.mgmt.hybridconnectivity.models.GenerateAwsTemplateRequest": "Microsoft.HybridConnectivity.GenerateAwsTemplateRequest", + "azure.mgmt.hybridconnectivity.models.GenerateAwsTemplateResponse": "Microsoft.HybridConnectivity.GenerateAwsTemplateResponse", "azure.mgmt.hybridconnectivity.models.IngressGatewayResource": "Microsoft.HybridConnectivity.IngressGatewayResource", "azure.mgmt.hybridconnectivity.models.IngressProfileProperties": "Microsoft.HybridConnectivity.IngressProfileProperties", "azure.mgmt.hybridconnectivity.models.InventoryProperties": "Microsoft.HybridConnectivity.InventoryProperties", diff --git a/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/azure/mgmt/hybridconnectivity/_version.py b/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/azure/mgmt/hybridconnectivity/_version.py index 0e00a6283246..8f2350dd3b0c 100644 --- a/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/azure/mgmt/hybridconnectivity/_version.py +++ b/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/azure/mgmt/hybridconnectivity/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "2.0.0b1" +VERSION = "2.0.0" diff --git a/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/azure/mgmt/hybridconnectivity/aio/operations/_operations.py b/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/azure/mgmt/hybridconnectivity/aio/operations/_operations.py index c2241ec6b3fe..633965033fc9 100644 --- a/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/azure/mgmt/hybridconnectivity/aio/operations/_operations.py +++ b/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/azure/mgmt/hybridconnectivity/aio/operations/_operations.py @@ -1929,7 +1929,7 @@ async def post( *, content_type: str = "application/json", **kwargs: Any - ) -> Any: + ) -> _models.GenerateAwsTemplateResponse: """Retrieve AWS Cloud Formation template. :param generate_aws_template_request: ConnectorId and SolutionTypes and their properties to @@ -1939,15 +1939,16 @@ async def post( :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str - :return: any - :rtype: any + :return: GenerateAwsTemplateResponse. The GenerateAwsTemplateResponse is compatible with + MutableMapping + :rtype: ~azure.mgmt.hybridconnectivity.models.GenerateAwsTemplateResponse :raises ~azure.core.exceptions.HttpResponseError: """ @overload async def post( self, generate_aws_template_request: JSON, *, content_type: str = "application/json", **kwargs: Any - ) -> Any: + ) -> _models.GenerateAwsTemplateResponse: """Retrieve AWS Cloud Formation template. :param generate_aws_template_request: ConnectorId and SolutionTypes and their properties to @@ -1956,15 +1957,16 @@ async def post( :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str - :return: any - :rtype: any + :return: GenerateAwsTemplateResponse. The GenerateAwsTemplateResponse is compatible with + MutableMapping + :rtype: ~azure.mgmt.hybridconnectivity.models.GenerateAwsTemplateResponse :raises ~azure.core.exceptions.HttpResponseError: """ @overload async def post( self, generate_aws_template_request: IO[bytes], *, content_type: str = "application/json", **kwargs: Any - ) -> Any: + ) -> _models.GenerateAwsTemplateResponse: """Retrieve AWS Cloud Formation template. :param generate_aws_template_request: ConnectorId and SolutionTypes and their properties to @@ -1973,15 +1975,16 @@ async def post( :keyword content_type: Body Parameter content-type. Content type parameter for binary body. Default value is "application/json". :paramtype content_type: str - :return: any - :rtype: any + :return: GenerateAwsTemplateResponse. The GenerateAwsTemplateResponse is compatible with + MutableMapping + :rtype: ~azure.mgmt.hybridconnectivity.models.GenerateAwsTemplateResponse :raises ~azure.core.exceptions.HttpResponseError: """ @distributed_trace_async async def post( self, generate_aws_template_request: Union[_models.GenerateAwsTemplateRequest, JSON, IO[bytes]], **kwargs: Any - ) -> Any: + ) -> _models.GenerateAwsTemplateResponse: """Retrieve AWS Cloud Formation template. :param generate_aws_template_request: ConnectorId and SolutionTypes and their properties to @@ -1989,8 +1992,9 @@ async def post( IO[bytes] Required. :type generate_aws_template_request: ~azure.mgmt.hybridconnectivity.models.GenerateAwsTemplateRequest or JSON or IO[bytes] - :return: any - :rtype: any + :return: GenerateAwsTemplateResponse. The GenerateAwsTemplateResponse is compatible with + MutableMapping + :rtype: ~azure.mgmt.hybridconnectivity.models.GenerateAwsTemplateResponse :raises ~azure.core.exceptions.HttpResponseError: """ error_map: MutableMapping = { @@ -2005,7 +2009,7 @@ async def post( _params = kwargs.pop("params", {}) or {} content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - cls: ClsType[Any] = kwargs.pop("cls", None) + cls: ClsType[_models.GenerateAwsTemplateResponse] = kwargs.pop("cls", None) content_type = content_type or "application/json" _content = None @@ -2047,7 +2051,7 @@ async def post( if _stream: deserialized = response.iter_bytes() else: - deserialized = _deserialize(Any, response.json()) + deserialized = _deserialize(_models.GenerateAwsTemplateResponse, response.json()) if cls: return cls(pipeline_response, deserialized, {}) # type: ignore diff --git a/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/azure/mgmt/hybridconnectivity/models/__init__.py b/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/azure/mgmt/hybridconnectivity/models/__init__.py index f46ac515281b..26cc96b77237 100644 --- a/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/azure/mgmt/hybridconnectivity/models/__init__.py +++ b/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/azure/mgmt/hybridconnectivity/models/__init__.py @@ -25,6 +25,7 @@ ErrorResponse, ExtensionResource, GenerateAwsTemplateRequest, + GenerateAwsTemplateResponse, IngressGatewayResource, IngressProfileProperties, InventoryProperties, @@ -89,6 +90,7 @@ "ErrorResponse", "ExtensionResource", "GenerateAwsTemplateRequest", + "GenerateAwsTemplateResponse", "IngressGatewayResource", "IngressProfileProperties", "InventoryProperties", diff --git a/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/azure/mgmt/hybridconnectivity/models/_models.py b/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/azure/mgmt/hybridconnectivity/models/_models.py index fd45b020813b..7f3f3e0cb6fa 100644 --- a/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/azure/mgmt/hybridconnectivity/models/_models.py +++ b/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/azure/mgmt/hybridconnectivity/models/_models.py @@ -416,6 +416,10 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) +class GenerateAwsTemplateResponse(_model_base.Model): + """The HybridConnectivity post operation response.""" + + class IngressGatewayResource(_model_base.Model): """The ingress gateway access credentials. diff --git a/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/azure/mgmt/hybridconnectivity/operations/_operations.py b/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/azure/mgmt/hybridconnectivity/operations/_operations.py index 2958e40b289b..1b16d1007c38 100644 --- a/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/azure/mgmt/hybridconnectivity/operations/_operations.py +++ b/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/azure/mgmt/hybridconnectivity/operations/_operations.py @@ -2827,7 +2827,7 @@ def post( *, content_type: str = "application/json", **kwargs: Any - ) -> Any: + ) -> _models.GenerateAwsTemplateResponse: """Retrieve AWS Cloud Formation template. :param generate_aws_template_request: ConnectorId and SolutionTypes and their properties to @@ -2837,15 +2837,16 @@ def post( :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str - :return: any - :rtype: any + :return: GenerateAwsTemplateResponse. The GenerateAwsTemplateResponse is compatible with + MutableMapping + :rtype: ~azure.mgmt.hybridconnectivity.models.GenerateAwsTemplateResponse :raises ~azure.core.exceptions.HttpResponseError: """ @overload def post( self, generate_aws_template_request: JSON, *, content_type: str = "application/json", **kwargs: Any - ) -> Any: + ) -> _models.GenerateAwsTemplateResponse: """Retrieve AWS Cloud Formation template. :param generate_aws_template_request: ConnectorId and SolutionTypes and their properties to @@ -2854,15 +2855,16 @@ def post( :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str - :return: any - :rtype: any + :return: GenerateAwsTemplateResponse. The GenerateAwsTemplateResponse is compatible with + MutableMapping + :rtype: ~azure.mgmt.hybridconnectivity.models.GenerateAwsTemplateResponse :raises ~azure.core.exceptions.HttpResponseError: """ @overload def post( self, generate_aws_template_request: IO[bytes], *, content_type: str = "application/json", **kwargs: Any - ) -> Any: + ) -> _models.GenerateAwsTemplateResponse: """Retrieve AWS Cloud Formation template. :param generate_aws_template_request: ConnectorId and SolutionTypes and their properties to @@ -2871,15 +2873,16 @@ def post( :keyword content_type: Body Parameter content-type. Content type parameter for binary body. Default value is "application/json". :paramtype content_type: str - :return: any - :rtype: any + :return: GenerateAwsTemplateResponse. The GenerateAwsTemplateResponse is compatible with + MutableMapping + :rtype: ~azure.mgmt.hybridconnectivity.models.GenerateAwsTemplateResponse :raises ~azure.core.exceptions.HttpResponseError: """ @distributed_trace def post( self, generate_aws_template_request: Union[_models.GenerateAwsTemplateRequest, JSON, IO[bytes]], **kwargs: Any - ) -> Any: + ) -> _models.GenerateAwsTemplateResponse: """Retrieve AWS Cloud Formation template. :param generate_aws_template_request: ConnectorId and SolutionTypes and their properties to @@ -2887,8 +2890,9 @@ def post( IO[bytes] Required. :type generate_aws_template_request: ~azure.mgmt.hybridconnectivity.models.GenerateAwsTemplateRequest or JSON or IO[bytes] - :return: any - :rtype: any + :return: GenerateAwsTemplateResponse. The GenerateAwsTemplateResponse is compatible with + MutableMapping + :rtype: ~azure.mgmt.hybridconnectivity.models.GenerateAwsTemplateResponse :raises ~azure.core.exceptions.HttpResponseError: """ error_map: MutableMapping = { @@ -2903,7 +2907,7 @@ def post( _params = kwargs.pop("params", {}) or {} content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - cls: ClsType[Any] = kwargs.pop("cls", None) + cls: ClsType[_models.GenerateAwsTemplateResponse] = kwargs.pop("cls", None) content_type = content_type or "application/json" _content = None @@ -2945,7 +2949,7 @@ def post( if _stream: deserialized = response.iter_bytes() else: - deserialized = _deserialize(Any, response.json()) + deserialized = _deserialize(_models.GenerateAwsTemplateResponse, response.json()) if cls: return cls(pipeline_response, deserialized, {}) # type: ignore diff --git a/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/setup.py b/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/setup.py index 2903ec83b38d..da32d886c7aa 100644 --- a/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/setup.py +++ b/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/setup.py @@ -49,7 +49,7 @@ url="https://github.com/Azure/azure-sdk-for-python", keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product classifiers=[ - "Development Status :: 4 - Beta", + "Development Status :: 5 - Production/Stable", "Programming Language :: Python", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3", diff --git a/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/tsp-location.yaml b/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/tsp-location.yaml index 86e8c4272404..648530b200be 100644 --- a/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/tsp-location.yaml +++ b/sdk/hybridconnectivity/azure-mgmt-hybridconnectivity/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/hybridconnectivity/HybridConnectivity.Management -commit: 3db6867b8e524ea6d1bc7a3bbb989fe50dd2f184 +commit: c2e4113b9a57a471dff9fcb8bed9dad94d15351b repo: Azure/azure-rest-api-specs additionalDirectories: