4343 NodeReportsOperations ,
4444 ObjectDataTypesOperations ,
4545 Operations ,
46+ PackageOperations ,
47+ PackagesOperations ,
4648 PrivateEndpointConnectionsOperations ,
4749 PrivateLinkResourcesOperations ,
4850 Python2PackageOperations ,
4951 Python3PackageOperations ,
5052 RunbookDraftOperations ,
5153 RunbookOperations ,
54+ RuntimeEnvironmentsOperations ,
5255 ScheduleOperations ,
5356 SoftwareUpdateConfigurationMachineRunsOperations ,
5457 SoftwareUpdateConfigurationRunsOperations ,
@@ -75,9 +78,15 @@ class AutomationClient(
7578): # pylint: disable=client-accepts-api-version-keyword,too-many-instance-attributes
7679 """Automation Client.
7780
78- :ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations
79- :vartype private_endpoint_connections:
80- azure.mgmt.automation.operations.PrivateEndpointConnectionsOperations
81+ :ivar node_count_information: NodeCountInformationOperations operations
82+ :vartype node_count_information:
83+ azure.mgmt.automation.operations.NodeCountInformationOperations
84+ :ivar software_update_configurations: SoftwareUpdateConfigurationsOperations operations
85+ :vartype software_update_configurations:
86+ azure.mgmt.automation.operations.SoftwareUpdateConfigurationsOperations
87+ :ivar deleted_automation_accounts: DeletedAutomationAccountsOperations operations
88+ :vartype deleted_automation_accounts:
89+ azure.mgmt.automation.operations.DeletedAutomationAccountsOperations
8190 :ivar private_link_resources: PrivateLinkResourcesOperations operations
8291 :vartype private_link_resources:
8392 azure.mgmt.automation.operations.PrivateLinkResourcesOperations
@@ -88,24 +97,6 @@ class AutomationClient(
8897 :vartype dsc_node: azure.mgmt.automation.operations.DscNodeOperations
8998 :ivar node_reports: NodeReportsOperations operations
9099 :vartype node_reports: azure.mgmt.automation.operations.NodeReportsOperations
91- :ivar dsc_compilation_job: DscCompilationJobOperations operations
92- :vartype dsc_compilation_job: azure.mgmt.automation.operations.DscCompilationJobOperations
93- :ivar dsc_compilation_job_stream: DscCompilationJobStreamOperations operations
94- :vartype dsc_compilation_job_stream:
95- azure.mgmt.automation.operations.DscCompilationJobStreamOperations
96- :ivar node_count_information: NodeCountInformationOperations operations
97- :vartype node_count_information:
98- azure.mgmt.automation.operations.NodeCountInformationOperations
99- :ivar watcher: WatcherOperations operations
100- :vartype watcher: azure.mgmt.automation.operations.WatcherOperations
101- :ivar software_update_configurations: SoftwareUpdateConfigurationsOperations operations
102- :vartype software_update_configurations:
103- azure.mgmt.automation.operations.SoftwareUpdateConfigurationsOperations
104- :ivar webhook: WebhookOperations operations
105- :vartype webhook: azure.mgmt.automation.operations.WebhookOperations
106- :ivar deleted_automation_accounts: DeletedAutomationAccountsOperations operations
107- :vartype deleted_automation_accounts:
108- azure.mgmt.automation.operations.DeletedAutomationAccountsOperations
109100 :ivar automation_account: AutomationAccountOperations operations
110101 :vartype automation_account: azure.mgmt.automation.operations.AutomationAccountOperations
111102 :ivar statistics: StatisticsOperations operations
@@ -122,6 +113,11 @@ class AutomationClient(
122113 :vartype connection_type: azure.mgmt.automation.operations.ConnectionTypeOperations
123114 :ivar credential: CredentialOperations operations
124115 :vartype credential: azure.mgmt.automation.operations.CredentialOperations
116+ :ivar dsc_compilation_job: DscCompilationJobOperations operations
117+ :vartype dsc_compilation_job: azure.mgmt.automation.operations.DscCompilationJobOperations
118+ :ivar dsc_compilation_job_stream: DscCompilationJobStreamOperations operations
119+ :vartype dsc_compilation_job_stream:
120+ azure.mgmt.automation.operations.DscCompilationJobStreamOperations
125121 :ivar dsc_configuration: DscConfigurationOperations operations
126122 :vartype dsc_configuration: azure.mgmt.automation.operations.DscConfigurationOperations
127123 :ivar dsc_node_configuration: DscNodeConfigurationOperations operations
@@ -151,6 +147,13 @@ class AutomationClient(
151147 :vartype fields: azure.mgmt.automation.operations.FieldsOperations
152148 :ivar operations: Operations operations
153149 :vartype operations: azure.mgmt.automation.operations.Operations
150+ :ivar package: PackageOperations operations
151+ :vartype package: azure.mgmt.automation.operations.PackageOperations
152+ :ivar packages: PackagesOperations operations
153+ :vartype packages: azure.mgmt.automation.operations.PackagesOperations
154+ :ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations
155+ :vartype private_endpoint_connections:
156+ azure.mgmt.automation.operations.PrivateEndpointConnectionsOperations
154157 :ivar python2_package: Python2PackageOperations operations
155158 :vartype python2_package: azure.mgmt.automation.operations.Python2PackageOperations
156159 :ivar python3_package: Python3PackageOperations operations
@@ -163,6 +166,8 @@ class AutomationClient(
163166 :vartype test_job_streams: azure.mgmt.automation.operations.TestJobStreamsOperations
164167 :ivar test_job: TestJobOperations operations
165168 :vartype test_job: azure.mgmt.automation.operations.TestJobOperations
169+ :ivar runtime_environments: RuntimeEnvironmentsOperations operations
170+ :vartype runtime_environments: azure.mgmt.automation.operations.RuntimeEnvironmentsOperations
166171 :ivar schedule: ScheduleOperations operations
167172 :vartype schedule: azure.mgmt.automation.operations.ScheduleOperations
168173 :ivar software_update_configuration_machine_runs:
@@ -182,13 +187,20 @@ class AutomationClient(
182187 azure.mgmt.automation.operations.SourceControlSyncJobStreamsOperations
183188 :ivar variable: VariableOperations operations
184189 :vartype variable: azure.mgmt.automation.operations.VariableOperations
190+ :ivar watcher: WatcherOperations operations
191+ :vartype watcher: azure.mgmt.automation.operations.WatcherOperations
192+ :ivar webhook: WebhookOperations operations
193+ :vartype webhook: azure.mgmt.automation.operations.WebhookOperations
185194 :param credential: Credential needed for the client to connect to Azure. Required.
186195 :type credential: ~azure.core.credentials.TokenCredential
187196 :param subscription_id: Gets subscription credentials which uniquely identify Microsoft Azure
188197 subscription. The subscription ID forms part of the URI for every service call. Required.
189198 :type subscription_id: str
190199 :param base_url: Service URL. Default value is "https://management.azure.com".
191200 :type base_url: str
201+ :keyword api_version: Api Version. Default value is "2023-05-15-preview". Note that overriding
202+ this default value may result in unsupported behavior.
203+ :paramtype api_version: str
192204 :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
193205 Retry-After header is present.
194206 """
@@ -201,40 +213,29 @@ def __init__(
201213 ** kwargs : Any
202214 ) -> None :
203215 self ._config = AutomationClientConfiguration (credential = credential , subscription_id = subscription_id , ** kwargs )
204- self ._client = ARMPipelineClient (base_url = base_url , config = self ._config , ** kwargs )
216+ self ._client : ARMPipelineClient = ARMPipelineClient (base_url = base_url , config = self ._config , ** kwargs )
205217
206218 client_models = {k : v for k , v in _models .__dict__ .items () if isinstance (v , type )}
207219 self ._serialize = Serializer (client_models )
208220 self ._deserialize = Deserializer (client_models )
209221 self ._serialize .client_side_validation = False
210- self .private_endpoint_connections = PrivateEndpointConnectionsOperations (
211- self ._client , self ._config , self ._serialize , self ._deserialize
212- )
213- self .private_link_resources = PrivateLinkResourcesOperations (
214- self ._client , self ._config , self ._serialize , self ._deserialize
215- )
216- self .agent_registration_information = AgentRegistrationInformationOperations (
217- self ._client , self ._config , self ._serialize , self ._deserialize
218- )
219- self .dsc_node = DscNodeOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
220- self .node_reports = NodeReportsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
221- self .dsc_compilation_job = DscCompilationJobOperations (
222+ self .node_count_information = NodeCountInformationOperations (
222223 self ._client , self ._config , self ._serialize , self ._deserialize
223224 )
224- self .dsc_compilation_job_stream = DscCompilationJobStreamOperations (
225+ self .software_update_configurations = SoftwareUpdateConfigurationsOperations (
225226 self ._client , self ._config , self ._serialize , self ._deserialize
226227 )
227- self .node_count_information = NodeCountInformationOperations (
228+ self .deleted_automation_accounts = DeletedAutomationAccountsOperations (
228229 self ._client , self ._config , self ._serialize , self ._deserialize
229230 )
230- self .watcher = WatcherOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
231- self .software_update_configurations = SoftwareUpdateConfigurationsOperations (
231+ self .private_link_resources = PrivateLinkResourcesOperations (
232232 self ._client , self ._config , self ._serialize , self ._deserialize
233233 )
234- self .webhook = WebhookOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
235- self .deleted_automation_accounts = DeletedAutomationAccountsOperations (
234+ self .agent_registration_information = AgentRegistrationInformationOperations (
236235 self ._client , self ._config , self ._serialize , self ._deserialize
237236 )
237+ self .dsc_node = DscNodeOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
238+ self .node_reports = NodeReportsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
238239 self .automation_account = AutomationAccountOperations (
239240 self ._client , self ._config , self ._serialize , self ._deserialize
240241 )
@@ -245,6 +246,12 @@ def __init__(
245246 self .connection = ConnectionOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
246247 self .connection_type = ConnectionTypeOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
247248 self .credential = CredentialOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
249+ self .dsc_compilation_job = DscCompilationJobOperations (
250+ self ._client , self ._config , self ._serialize , self ._deserialize
251+ )
252+ self .dsc_compilation_job_stream = DscCompilationJobStreamOperations (
253+ self ._client , self ._config , self ._serialize , self ._deserialize
254+ )
248255 self .dsc_configuration = DscConfigurationOperations (
249256 self ._client , self ._config , self ._serialize , self ._deserialize
250257 )
@@ -270,12 +277,20 @@ def __init__(
270277 )
271278 self .fields = FieldsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
272279 self .operations = Operations (self ._client , self ._config , self ._serialize , self ._deserialize )
280+ self .package = PackageOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
281+ self .packages = PackagesOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
282+ self .private_endpoint_connections = PrivateEndpointConnectionsOperations (
283+ self ._client , self ._config , self ._serialize , self ._deserialize
284+ )
273285 self .python2_package = Python2PackageOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
274286 self .python3_package = Python3PackageOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
275287 self .runbook_draft = RunbookDraftOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
276288 self .runbook = RunbookOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
277289 self .test_job_streams = TestJobStreamsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
278290 self .test_job = TestJobOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
291+ self .runtime_environments = RuntimeEnvironmentsOperations (
292+ self ._client , self ._config , self ._serialize , self ._deserialize
293+ )
279294 self .schedule = ScheduleOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
280295 self .software_update_configuration_machine_runs = SoftwareUpdateConfigurationMachineRunsOperations (
281296 self ._client , self ._config , self ._serialize , self ._deserialize
@@ -291,6 +306,8 @@ def __init__(
291306 self ._client , self ._config , self ._serialize , self ._deserialize
292307 )
293308 self .variable = VariableOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
309+ self .watcher = WatcherOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
310+ self .webhook = WebhookOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
294311
295312 def _send_request (self , request : HttpRequest , ** kwargs : Any ) -> HttpResponse :
296313 """Runs the network request through the client's chained policies.
@@ -321,5 +338,5 @@ def __enter__(self) -> "AutomationClient":
321338 self ._client .__enter__ ()
322339 return self
323340
324- def __exit__ (self , * exc_details ) -> None :
341+ def __exit__ (self , * exc_details : Any ) -> None :
325342 self ._client .__exit__ (* exc_details )
0 commit comments