Skip to content

Commit

Permalink
feat: Updated instance management SDK to 2024-09-15-preview (#409)
Browse files Browse the repository at this point in the history
  • Loading branch information
c-ryan-k authored Oct 10, 2024
1 parent dc4c422 commit b2c1b0b
Show file tree
Hide file tree
Showing 4 changed files with 114 additions and 668 deletions.
2 changes: 1 addition & 1 deletion azext_edge/edge/vendor/clients/iotopsmgmt/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class MicrosoftIoTOperationsManagementService: # pylint: disable=client-accepts
:type credential: ~azure.core.credentials.TokenCredential
:keyword endpoint: Service URL. Default value is "https://management.azure.com".
:paramtype endpoint: str
:keyword api_version: Api Version. Default value is "2024-08-15-preview". Note that overriding
:keyword api_version: Api Version. Default value is "2024-09-15-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
Expand Down
4 changes: 2 additions & 2 deletions azext_edge/edge/vendor/clients/iotopsmgmt/_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ class MicrosoftIoTOperationsManagementServiceConfiguration(
:type subscription_id: str
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials.TokenCredential
:keyword api_version: Api Version. Default value is "2024-08-15-preview". Note that overriding
:keyword api_version: Api Version. Default value is "2024-09-15-preview". Note that overriding
this default value may result in unsupported behavior.
:paramtype api_version: str
"""

def __init__(self, subscription_id: str, credential: "TokenCredential", **kwargs: Any) -> None:
super(MicrosoftIoTOperationsManagementServiceConfiguration, self).__init__(**kwargs)
api_version: str = kwargs.pop("api_version", "2024-08-15-preview")
api_version: str = kwargs.pop("api_version", "2024-09-15-preview")

if subscription_id is None:
raise ValueError("Parameter 'subscription_id' must not be None.")
Expand Down
Loading

0 comments on commit b2c1b0b

Please sign in to comment.