19
19
ArcSettingsOperations ,
20
20
ClustersOperations ,
21
21
ExtensionsOperations ,
22
- GalleryimagesOperations ,
23
- GuestAgentOperations ,
24
- GuestAgentsOperations ,
25
- HybridIdentityMetadataOperations ,
26
- MachineExtensionsOperations ,
27
- MarketplacegalleryimagesOperations ,
28
- NetworkinterfacesOperations ,
22
+ OffersOperations ,
29
23
Operations ,
30
- StoragecontainersOperations ,
31
- VirtualharddisksOperations ,
32
- VirtualmachinesOperations ,
33
- VirtualnetworksOperations ,
24
+ PublishersOperations ,
25
+ SkusOperations ,
26
+ UpdateRunsOperations ,
27
+ UpdateSummariesOperations ,
28
+ UpdatesOperations ,
34
29
)
35
30
36
31
if TYPE_CHECKING :
@@ -47,40 +42,28 @@ class AzureStackHCIClient: # pylint: disable=client-accepts-api-version-keyword
47
42
:vartype clusters: azure.mgmt.azurestackhci.operations.ClustersOperations
48
43
:ivar extensions: ExtensionsOperations operations
49
44
:vartype extensions: azure.mgmt.azurestackhci.operations.ExtensionsOperations
50
- :ivar galleryimages: GalleryimagesOperations operations
51
- :vartype galleryimages: azure.mgmt.azurestackhci.operations.GalleryimagesOperations
52
- :ivar marketplacegalleryimages: MarketplacegalleryimagesOperations operations
53
- :vartype marketplacegalleryimages:
54
- azure.mgmt.azurestackhci.operations.MarketplacegalleryimagesOperations
55
- :ivar networkinterfaces: NetworkinterfacesOperations operations
56
- :vartype networkinterfaces: azure.mgmt.azurestackhci.operations.NetworkinterfacesOperations
45
+ :ivar offers: OffersOperations operations
46
+ :vartype offers: azure.mgmt.azurestackhci.operations.OffersOperations
57
47
:ivar operations: Operations operations
58
48
:vartype operations: azure.mgmt.azurestackhci.operations.Operations
59
- :ivar storagecontainers: StoragecontainersOperations operations
60
- :vartype storagecontainers: azure.mgmt.azurestackhci.operations.StoragecontainersOperations
61
- :ivar virtualharddisks: VirtualharddisksOperations operations
62
- :vartype virtualharddisks: azure.mgmt.azurestackhci.operations.VirtualharddisksOperations
63
- :ivar virtualmachines: VirtualmachinesOperations operations
64
- :vartype virtualmachines: azure.mgmt.azurestackhci.operations.VirtualmachinesOperations
65
- :ivar hybrid_identity_metadata: HybridIdentityMetadataOperations operations
66
- :vartype hybrid_identity_metadata:
67
- azure.mgmt.azurestackhci.operations.HybridIdentityMetadataOperations
68
- :ivar machine_extensions: MachineExtensionsOperations operations
69
- :vartype machine_extensions: azure.mgmt.azurestackhci.operations.MachineExtensionsOperations
70
- :ivar guest_agent: GuestAgentOperations operations
71
- :vartype guest_agent: azure.mgmt.azurestackhci.operations.GuestAgentOperations
72
- :ivar guest_agents: GuestAgentsOperations operations
73
- :vartype guest_agents: azure.mgmt.azurestackhci.operations.GuestAgentsOperations
74
- :ivar virtualnetworks: VirtualnetworksOperations operations
75
- :vartype virtualnetworks: azure.mgmt.azurestackhci.operations.VirtualnetworksOperations
49
+ :ivar publishers: PublishersOperations operations
50
+ :vartype publishers: azure.mgmt.azurestackhci.operations.PublishersOperations
51
+ :ivar skus: SkusOperations operations
52
+ :vartype skus: azure.mgmt.azurestackhci.operations.SkusOperations
53
+ :ivar update_runs: UpdateRunsOperations operations
54
+ :vartype update_runs: azure.mgmt.azurestackhci.operations.UpdateRunsOperations
55
+ :ivar update_summaries: UpdateSummariesOperations operations
56
+ :vartype update_summaries: azure.mgmt.azurestackhci.operations.UpdateSummariesOperations
57
+ :ivar updates: UpdatesOperations operations
58
+ :vartype updates: azure.mgmt.azurestackhci.operations.UpdatesOperations
76
59
:param credential: Credential needed for the client to connect to Azure. Required.
77
60
:type credential: ~azure.core.credentials.TokenCredential
78
61
:param subscription_id: The ID of the target subscription. Required.
79
62
:type subscription_id: str
80
63
:param base_url: Service URL. Default value is "https://management.azure.com".
81
64
:type base_url: str
82
- :keyword api_version: Api Version. Default value is "2021-09 -01-preview ". Note that overriding
83
- this default value may result in unsupported behavior.
65
+ :keyword api_version: Api Version. Default value is "2023-02 -01". Note that overriding this
66
+ default value may result in unsupported behavior.
84
67
:paramtype api_version: str
85
68
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
86
69
Retry-After header is present.
@@ -105,30 +88,15 @@ def __init__(
105
88
self .arc_settings = ArcSettingsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
106
89
self .clusters = ClustersOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
107
90
self .extensions = ExtensionsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
108
- self .galleryimages = GalleryimagesOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
109
- self .marketplacegalleryimages = MarketplacegalleryimagesOperations (
110
- self ._client , self ._config , self ._serialize , self ._deserialize
111
- )
112
- self .networkinterfaces = NetworkinterfacesOperations (
113
- self ._client , self ._config , self ._serialize , self ._deserialize
114
- )
91
+ self .offers = OffersOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
115
92
self .operations = Operations (self ._client , self ._config , self ._serialize , self ._deserialize )
116
- self .storagecontainers = StoragecontainersOperations (
117
- self ._client , self ._config , self ._serialize , self ._deserialize
118
- )
119
- self .virtualharddisks = VirtualharddisksOperations (
120
- self ._client , self ._config , self ._serialize , self ._deserialize
121
- )
122
- self .virtualmachines = VirtualmachinesOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
123
- self .hybrid_identity_metadata = HybridIdentityMetadataOperations (
124
- self ._client , self ._config , self ._serialize , self ._deserialize
125
- )
126
- self .machine_extensions = MachineExtensionsOperations (
93
+ self .publishers = PublishersOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
94
+ self .skus = SkusOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
95
+ self .update_runs = UpdateRunsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
96
+ self .update_summaries = UpdateSummariesOperations (
127
97
self ._client , self ._config , self ._serialize , self ._deserialize
128
98
)
129
- self .guest_agent = GuestAgentOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
130
- self .guest_agents = GuestAgentsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
131
- self .virtualnetworks = VirtualnetworksOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
99
+ self .updates = UpdatesOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
132
100
133
101
def _send_request (self , request : HttpRequest , ** kwargs : Any ) -> HttpResponse :
134
102
"""Runs the network request through the client's chained policies.
@@ -159,5 +127,5 @@ def __enter__(self) -> "AzureStackHCIClient":
159
127
self ._client .__enter__ ()
160
128
return self
161
129
162
- def __exit__ (self , * exc_details ) -> None :
130
+ def __exit__ (self , * exc_details : Any ) -> None :
163
131
self ._client .__exit__ (* exc_details )
0 commit comments