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
56 changes: 56 additions & 0 deletions sdk/containerservice/azure-mgmt-containerservicefleet/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,61 @@
# Release History

## 3.1.0b1 (2025-04-03)

### Features Added

- Client `ContainerServiceFleetMgmtClient` added operation group `auto_upgrade_profiles`
- Client `ContainerServiceFleetMgmtClient` added operation group `auto_upgrade_profile_operations`
- Client `ContainerServiceFleetMgmtClient` added operation group `gates`
- Model `APIServerAccessProfile` added property `enable_vnet_integration`
- Model `APIServerAccessProfile` added property `subnet_id`
- Model `Fleet` added property `status`
- Model `FleetMember` added property `labels`
- Model `FleetMember` added property `status`
- Model `FleetMemberUpdate` added property `labels`
- Model `NodeImageSelection` added property `custom_node_image_versions`
- Enum `NodeImageSelectionType` added member `CUSTOM`
- Model `UpdateGroup` added property `before_gates`
- Model `UpdateGroup` added property `after_gates`
- Model `UpdateGroupStatus` added property `before_gates`
- Model `UpdateGroupStatus` added property `after_gates`
- Model `UpdateRun` added property `auto_upgrade_profile_id`
- Model `UpdateStage` added property `before_gates`
- Model `UpdateStage` added property `after_gates`
- Model `UpdateStageStatus` added property `before_gates`
- Model `UpdateStageStatus` added property `after_gates`
- Enum `UpdateState` added member `PENDING`
- Added enum `AutoUpgradeLastTriggerStatus`
- Added model `AutoUpgradeNodeImageSelection`
- Added enum `AutoUpgradeNodeImageSelectionType`
- Added model `AutoUpgradeProfile`
- Added model `AutoUpgradeProfileListResult`
- Added enum `AutoUpgradeProfileProvisioningState`
- Added model `AutoUpgradeProfileStatus`
- Added model `FleetMemberStatus`
- Added model `FleetStatus`
- Added model `Gate`
- Added model `GateConfiguration`
- Added model `GateListResult`
- Added model `GatePatch`
- Added model `GatePatchProperties`
- Added enum `GateProvisioningState`
- Added enum `GateState`
- Added model `GateTarget`
- Added enum `GateType`
- Added model `GenerateResponse`
- Added enum `Timing`
- Added model `UpdateRunGateStatus`
- Added model `UpdateRunGateTargetProperties`
- Added enum `UpgradeChannel`
- Added model `AutoUpgradeProfileOperationsOperations`
- Added model `AutoUpgradeProfilesOperations`
- Added model `GatesOperations`
- Method `AutoUpgradeProfilesOperations.begin_create_or_update` has a new overload `def begin_create_or_update(self: None, resource_group_name: str, fleet_name: str, auto_upgrade_profile_name: str, resource: AutoUpgradeProfile, if_match: Optional[str], if_none_match: Optional[str], content_type: str)`
- Method `AutoUpgradeProfilesOperations.begin_create_or_update` has a new overload `def begin_create_or_update(self: None, resource_group_name: str, fleet_name: str, auto_upgrade_profile_name: str, resource: IO[bytes], if_match: Optional[str], if_none_match: Optional[str], content_type: str)`
- Method `GatesOperations.begin_update` has a new overload `def begin_update(self: None, resource_group_name: str, fleet_name: str, gate_name: str, properties: GatePatch, if_match: Optional[str], if_none_match: Optional[str], content_type: str)`
- Method `GatesOperations.begin_update` has a new overload `def begin_update(self: None, resource_group_name: str, fleet_name: str, gate_name: str, properties: IO[bytes], if_match: Optional[str], if_none_match: Optional[str], content_type: str)`

## 3.0.0 (2024-10-31)

### Breaking Changes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pip install azure-identity

### Authentication

By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables.
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configuration of the following environment variables.

- `AZURE_CLIENT_ID` for Azure client ID.
- `AZURE_TENANT_ID` for Azure tenant ID.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "a4fc4c6bda9ff2315671bca69f9de40a43e2bd8c",
"commit": "a8e56c4d984528fdf892bf1b805b859984f6f8f2",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.10.2",
"use": [
"@autorest/python@6.19.0",
"@autorest/python@6.27.4",
"@autorest/[email protected]"
],
"autorest_command": "autorest specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --tag=package-2024-04 --use=@autorest/python@6.19.0 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
"autorest_command": "autorest specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/python@6.27.4 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
"readme": "specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,28 @@
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
# pylint: disable=wrong-import-position

from ._container_service_fleet_mgmt_client import ContainerServiceFleetMgmtClient
from typing import TYPE_CHECKING

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

from ._container_service_fleet_mgmt_client import ContainerServiceFleetMgmtClient # 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__ = [
"ContainerServiceFleetMgmtClient",
]
__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()
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
from ._version import VERSION

if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
from azure.core.credentials import TokenCredential


Expand All @@ -26,15 +25,15 @@ class ContainerServiceFleetMgmtClientConfiguration: # pylint: disable=too-many-
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The ID of the target subscription. Required.
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
:type subscription_id: str
:keyword api_version: Api Version. Default value is "2024-04-01". Note that overriding this
default value may result in unsupported behavior.
:keyword api_version: Api Version. Default value is "2025-04-01-preview". Note that overriding
this default value may result in unsupported behavior.
:paramtype api_version: str
"""

def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs: Any) -> None:
api_version: str = kwargs.pop("api_version", "2024-04-01")
api_version: str = kwargs.pop("api_version", "2025-04-01-preview")

if credential is None:
raise ValueError("Parameter 'credential' must not be None.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,35 @@
from ._configuration import ContainerServiceFleetMgmtClientConfiguration
from ._serialization import Deserializer, Serializer
from .operations import (
AutoUpgradeProfileOperationsOperations,
AutoUpgradeProfilesOperations,
FleetMembersOperations,
FleetUpdateStrategiesOperations,
FleetsOperations,
GatesOperations,
Operations,
UpdateRunsOperations,
)

if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
from azure.core.credentials import TokenCredential


class ContainerServiceFleetMgmtClient: # pylint: disable=client-accepts-api-version-keyword
class ContainerServiceFleetMgmtClient: # pylint: disable=too-many-instance-attributes
"""Azure Kubernetes Fleet Manager api client.
:ivar operations: Operations operations
:vartype operations: azure.mgmt.containerservicefleet.operations.Operations
:ivar fleets: FleetsOperations operations
:vartype fleets: azure.mgmt.containerservicefleet.operations.FleetsOperations
:ivar auto_upgrade_profiles: AutoUpgradeProfilesOperations operations
:vartype auto_upgrade_profiles:
azure.mgmt.containerservicefleet.operations.AutoUpgradeProfilesOperations
:ivar auto_upgrade_profile_operations: AutoUpgradeProfileOperationsOperations operations
:vartype auto_upgrade_profile_operations:
azure.mgmt.containerservicefleet.operations.AutoUpgradeProfileOperationsOperations
:ivar gates: GatesOperations operations
:vartype gates: azure.mgmt.containerservicefleet.operations.GatesOperations
:ivar fleet_members: FleetMembersOperations operations
:vartype fleet_members: azure.mgmt.containerservicefleet.operations.FleetMembersOperations
:ivar update_runs: UpdateRunsOperations operations
Expand All @@ -47,12 +57,12 @@ class ContainerServiceFleetMgmtClient: # pylint: disable=client-accepts-api-ver
azure.mgmt.containerservicefleet.operations.FleetUpdateStrategiesOperations
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The ID of the target subscription. Required.
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
:type subscription_id: str
:param base_url: Service URL. Default value is "https://management.azure.com".
:type base_url: str
:keyword api_version: Api Version. Default value is "2024-04-01". Note that overriding this
default value may result in unsupported behavior.
:keyword api_version: Api Version. Default value is "2025-04-01-preview". Note that overriding
this default value may result in unsupported behavior.
:paramtype api_version: str
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
Retry-After header is present.
Expand Down Expand Up @@ -94,6 +104,13 @@ def __init__(
self._serialize.client_side_validation = False
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
self.fleets = FleetsOperations(self._client, self._config, self._serialize, self._deserialize)
self.auto_upgrade_profiles = AutoUpgradeProfilesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.auto_upgrade_profile_operations = AutoUpgradeProfileOperationsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.gates = GatesOperations(self._client, self._config, self._serialize, self._deserialize)
self.fleet_members = FleetMembersOperations(self._client, self._config, self._serialize, self._deserialize)
self.update_runs = UpdateRunsOperations(self._client, self._config, self._serialize, self._deserialize)
self.fleet_update_strategies = FleetUpdateStrategiesOperations(
Expand Down
Loading