Skip to content

Commit a8f4b0f

Browse files
[AutoRelease] t2-networkcloud-2025-04-02-99243(can only be merged by SDK owner) (#40334)
* code and test * update testcases --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <[email protected]>
1 parent fe38d6e commit a8f4b0f

File tree

211 files changed

+955
-609
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

211 files changed

+955
-609
lines changed

sdk/networkcloud/azure-mgmt-networkcloud/CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# Release History
22

3+
## 2.1.0b1 (2025-04-21)
4+
5+
### Features Added
6+
7+
- Model `Cluster` added property `analytics_output_settings`
8+
- Model `Cluster` added property `secret_archive_settings`
9+
- Model `Cluster` added property `vulnerability_scanning_settings`
10+
- Model `ClusterPatchParameters` added property `analytics_output_settings`
11+
- Model `ClusterPatchParameters` added property `secret_archive_settings`
12+
- Model `ClusterPatchParameters` added property `vulnerability_scanning_settings`
13+
- Enum `OsDiskCreateOption` added member `PERSISTENT`
14+
- Enum `StorageApplianceDetailedStatus` added member `DEGRADED`
15+
- Model `VirtualMachine` added property `console_extended_location`
16+
- Enum `VirtualMachineDeviceModelType` added member `T3`
17+
- Added model `AnalyticsOutputSettings`
18+
- Added model `SecretArchiveSettings`
19+
- Added model `VulnerabilityScanningSettings`
20+
- Added enum `VulnerabilityScanningSettingsContainerScan`
21+
- Added model `VulnerabilityScanningSettingsPatch`
22+
323
## 2.0.0 (2025-02-24)
424

525
### Features Added

sdk/networkcloud/azure-mgmt-networkcloud/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pip install azure-identity
2424

2525
### Authentication
2626

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

2929
- `AZURE_CLIENT_ID` for Azure client ID.
3030
- `AZURE_TENANT_ID` for Azure tenant ID.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "0d99a633e43f1a504220563d0bf953f43e31db4a",
2+
"commit": "b228f178ed852d198497e797789da6ac05af09c0",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.10.2",
55
"use": [
66
"@autorest/[email protected]",
77
"@autorest/[email protected]"
88
],
9-
"autorest_command": "autorest specification/networkcloud/resource-manager/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-07-01 --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
9+
"autorest_command": "autorest specification/networkcloud/resource-manager/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-10-01-preview --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
1010
"readme": "specification/networkcloud/resource-manager/readme.md"
1111
}

sdk/networkcloud/azure-mgmt-networkcloud/azure/mgmt/networkcloud/_configuration.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ class NetworkCloudMgmtClientConfiguration: # pylint: disable=too-many-instance-
2727
:type credential: ~azure.core.credentials.TokenCredential
2828
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
2929
:type subscription_id: str
30-
:keyword api_version: Api Version. Default value is "2024-07-01". Note that overriding this
31-
default value may result in unsupported behavior.
30+
:keyword api_version: Api Version. Default value is "2024-10-01-preview". Note that overriding
31+
this default value may result in unsupported behavior.
3232
:paramtype api_version: str
3333
"""
3434

3535
def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs: Any) -> None:
36-
api_version: str = kwargs.pop("api_version", "2024-07-01")
36+
api_version: str = kwargs.pop("api_version", "2024-10-01-preview")
3737

3838
if credential is None:
3939
raise ValueError("Parameter 'credential' must not be None.")

sdk/networkcloud/azure-mgmt-networkcloud/azure/mgmt/networkcloud/_network_cloud_mgmt_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ class NetworkCloudMgmtClient: # pylint: disable=too-many-instance-attributes
9999
:type subscription_id: str
100100
:param base_url: Service URL. Default value is "https://management.azure.com".
101101
:type base_url: str
102-
:keyword api_version: Api Version. Default value is "2024-07-01". Note that overriding this
103-
default value may result in unsupported behavior.
102+
:keyword api_version: Api Version. Default value is "2024-10-01-preview". Note that overriding
103+
this default value may result in unsupported behavior.
104104
:paramtype api_version: str
105105
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
106106
Retry-After header is present.

sdk/networkcloud/azure-mgmt-networkcloud/azure/mgmt/networkcloud/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "2.0.0"
9+
VERSION = "2.1.0b1"

sdk/networkcloud/azure-mgmt-networkcloud/azure/mgmt/networkcloud/aio/_configuration.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ class NetworkCloudMgmtClientConfiguration: # pylint: disable=too-many-instance-
2727
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
2828
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
2929
:type subscription_id: str
30-
:keyword api_version: Api Version. Default value is "2024-07-01". Note that overriding this
31-
default value may result in unsupported behavior.
30+
:keyword api_version: Api Version. Default value is "2024-10-01-preview". Note that overriding
31+
this default value may result in unsupported behavior.
3232
:paramtype api_version: str
3333
"""
3434

3535
def __init__(self, credential: "AsyncTokenCredential", subscription_id: str, **kwargs: Any) -> None:
36-
api_version: str = kwargs.pop("api_version", "2024-07-01")
36+
api_version: str = kwargs.pop("api_version", "2024-10-01-preview")
3737

3838
if credential is None:
3939
raise ValueError("Parameter 'credential' must not be None.")

sdk/networkcloud/azure-mgmt-networkcloud/azure/mgmt/networkcloud/aio/_network_cloud_mgmt_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ class NetworkCloudMgmtClient: # pylint: disable=too-many-instance-attributes
101101
:type subscription_id: str
102102
:param base_url: Service URL. Default value is "https://management.azure.com".
103103
:type base_url: str
104-
:keyword api_version: Api Version. Default value is "2024-07-01". Note that overriding this
105-
default value may result in unsupported behavior.
104+
:keyword api_version: Api Version. Default value is "2024-10-01-preview". Note that overriding
105+
this default value may result in unsupported behavior.
106106
:paramtype api_version: str
107107
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
108108
Retry-After header is present.

sdk/networkcloud/azure-mgmt-networkcloud/azure/mgmt/networkcloud/models/__init__.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
AgentPoolList,
2525
AgentPoolPatchParameters,
2626
AgentPoolUpgradeSettings,
27+
AnalyticsOutputSettings,
2728
AttachedNetworkConfiguration,
2829
AvailableUpgrade,
2930
BareMetalMachine,
@@ -131,6 +132,7 @@
131132
RuntimeProtectionConfiguration,
132133
RuntimeProtectionStatus,
133134
SecretArchiveReference,
135+
SecretArchiveSettings,
134136
SecretRotationStatus,
135137
ServiceLoadBalancerBgpPeer,
136138
ServicePrincipalInformation,
@@ -160,6 +162,8 @@
160162
Volume,
161163
VolumeList,
162164
VolumePatchParameters,
165+
VulnerabilityScanningSettings,
166+
VulnerabilityScanningSettingsPatch,
163167
)
164168

165169
from ._network_cloud_mgmt_client_enums import ( # type: ignore
@@ -265,6 +269,7 @@
265269
VirtualMachineVirtioInterfaceType,
266270
VolumeDetailedStatus,
267271
VolumeProvisioningState,
272+
VulnerabilityScanningSettingsContainerScan,
268273
WorkloadImpact,
269274
)
270275
from ._patch import __all__ as _patch_all
@@ -282,6 +287,7 @@
282287
"AgentPoolList",
283288
"AgentPoolPatchParameters",
284289
"AgentPoolUpgradeSettings",
290+
"AnalyticsOutputSettings",
285291
"AttachedNetworkConfiguration",
286292
"AvailableUpgrade",
287293
"BareMetalMachine",
@@ -389,6 +395,7 @@
389395
"RuntimeProtectionConfiguration",
390396
"RuntimeProtectionStatus",
391397
"SecretArchiveReference",
398+
"SecretArchiveSettings",
392399
"SecretRotationStatus",
393400
"ServiceLoadBalancerBgpPeer",
394401
"ServicePrincipalInformation",
@@ -418,6 +425,8 @@
418425
"Volume",
419426
"VolumeList",
420427
"VolumePatchParameters",
428+
"VulnerabilityScanningSettings",
429+
"VulnerabilityScanningSettingsPatch",
421430
"ActionType",
422431
"AdvertiseToFabric",
423432
"AgentPoolDetailedStatus",
@@ -520,6 +529,7 @@
520529
"VirtualMachineVirtioInterfaceType",
521530
"VolumeDetailedStatus",
522531
"VolumeProvisioningState",
532+
"VulnerabilityScanningSettingsContainerScan",
523533
"WorkloadImpact",
524534
]
525535
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore

0 commit comments

Comments
 (0)