Skip to content

Commit

Permalink
CodeGen from PR 28072 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 7aadacbd021726388d8dd61771f885823e418b04 into 98df3588284c0b77389e981ef04aa93fed89037e
  • Loading branch information
SDKAuto committed Mar 13, 2024
1 parent c3c285e commit 97f2ae6
Show file tree
Hide file tree
Showing 120 changed files with 2,571 additions and 196 deletions.
4 changes: 2 additions & 2 deletions sdk/signalr/azure-mgmt-signalr/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "c280892951a9e45c059132c05aace25a9c752d48",
"commit": "4e2c9d58807b743fad37ef7475538a5466ade4a4",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.9.7",
"use": [
"@autorest/python@6.7.1",
"@autorest/modelerfour@4.26.2"
],
"autorest_command": "autorest specification/signalr/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.7.1 --use=@autorest/modelerfour@4.26.2 --version=3.9.7 --version-tolerant=False",
"autorest_command": "autorest specification/signalr/resource-manager/readme.md --generate-sample=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.7.1 --use=@autorest/modelerfour@4.26.2 --version=3.9.7 --version-tolerant=False",
"readme": "specification/signalr/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ class SignalRManagementClientConfiguration(Configuration): # pylint: disable=to
:type credential: ~azure.core.credentials.TokenCredential
: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 "2023-08-01-preview". Note that overriding
:keyword api_version: Api Version. Default value is "2024-01-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:
super(SignalRManagementClientConfiguration, self).__init__(**kwargs)
api_version: str = kwargs.pop("api_version", "2023-08-01-preview")
api_version: str = kwargs.pop("api_version", "2024-01-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 @@ -22,6 +22,7 @@
SignalROperations,
SignalRPrivateEndpointConnectionsOperations,
SignalRPrivateLinkResourcesOperations,
SignalRReplicaOperations,
SignalRReplicasOperations,
SignalRSharedPrivateLinkResourcesOperations,
UsagesOperations,
Expand Down Expand Up @@ -55,6 +56,8 @@ class SignalRManagementClient: # pylint: disable=client-accepts-api-version-key
azure.mgmt.signalr.operations.SignalRPrivateLinkResourcesOperations
:ivar signal_rreplicas: SignalRReplicasOperations operations
:vartype signal_rreplicas: azure.mgmt.signalr.operations.SignalRReplicasOperations
:ivar signal_rreplica: SignalRReplicaOperations operations
:vartype signal_rreplica: azure.mgmt.signalr.operations.SignalRReplicaOperations
:ivar signal_rshared_private_link_resources: SignalRSharedPrivateLinkResourcesOperations
operations
:vartype signal_rshared_private_link_resources:
Expand All @@ -65,7 +68,7 @@ class SignalRManagementClient: # pylint: disable=client-accepts-api-version-key
: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 "2023-08-01-preview". Note that overriding
:keyword api_version: Api Version. Default value is "2024-01-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
Expand Down Expand Up @@ -106,6 +109,7 @@ def __init__(
self.signal_rreplicas = SignalRReplicasOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.signal_rreplica = SignalRReplicaOperations(self._client, self._config, self._serialize, self._deserialize)
self.signal_rshared_private_link_resources = SignalRSharedPrivateLinkResourcesOperations(
self._client, self._config, self._serialize, self._deserialize
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "2.0.0b2"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ class SignalRManagementClientConfiguration(Configuration): # pylint: disable=to
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
: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 "2023-08-01-preview". Note that overriding
:keyword api_version: Api Version. Default value is "2024-01-01-preview". Note that overriding
this default value may result in unsupported behavior.
:paramtype api_version: str
"""

def __init__(self, credential: "AsyncTokenCredential", subscription_id: str, **kwargs: Any) -> None:
super(SignalRManagementClientConfiguration, self).__init__(**kwargs)
api_version: str = kwargs.pop("api_version", "2023-08-01-preview")
api_version: str = kwargs.pop("api_version", "2024-01-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 @@ -22,6 +22,7 @@
SignalROperations,
SignalRPrivateEndpointConnectionsOperations,
SignalRPrivateLinkResourcesOperations,
SignalRReplicaOperations,
SignalRReplicasOperations,
SignalRSharedPrivateLinkResourcesOperations,
UsagesOperations,
Expand Down Expand Up @@ -56,6 +57,8 @@ class SignalRManagementClient: # pylint: disable=client-accepts-api-version-key
azure.mgmt.signalr.aio.operations.SignalRPrivateLinkResourcesOperations
:ivar signal_rreplicas: SignalRReplicasOperations operations
:vartype signal_rreplicas: azure.mgmt.signalr.aio.operations.SignalRReplicasOperations
:ivar signal_rreplica: SignalRReplicaOperations operations
:vartype signal_rreplica: azure.mgmt.signalr.aio.operations.SignalRReplicaOperations
:ivar signal_rshared_private_link_resources: SignalRSharedPrivateLinkResourcesOperations
operations
:vartype signal_rshared_private_link_resources:
Expand All @@ -66,7 +69,7 @@ class SignalRManagementClient: # pylint: disable=client-accepts-api-version-key
: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 "2023-08-01-preview". Note that overriding
:keyword api_version: Api Version. Default value is "2024-01-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
Expand Down Expand Up @@ -107,6 +110,7 @@ def __init__(
self.signal_rreplicas = SignalRReplicasOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.signal_rreplica = SignalRReplicaOperations(self._client, self._config, self._serialize, self._deserialize)
self.signal_rshared_private_link_resources = SignalRSharedPrivateLinkResourcesOperations(
self._client, self._config, self._serialize, self._deserialize
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
from ._signal_rprivate_endpoint_connections_operations import SignalRPrivateEndpointConnectionsOperations
from ._signal_rprivate_link_resources_operations import SignalRPrivateLinkResourcesOperations
from ._signal_rreplicas_operations import SignalRReplicasOperations
from ._signal_rreplica_operations import SignalRReplicaOperations
from ._signal_rshared_private_link_resources_operations import SignalRSharedPrivateLinkResourcesOperations

from ._patch import __all__ as _patch_all
Expand All @@ -29,6 +30,7 @@
"SignalRPrivateEndpointConnectionsOperations",
"SignalRPrivateLinkResourcesOperations",
"SignalRReplicasOperations",
"SignalRReplicaOperations",
"SignalRSharedPrivateLinkResourcesOperations",
]
__all__.extend([p for p in _patch_all if p not in __all__])
Expand Down
Loading

0 comments on commit 97f2ae6

Please sign in to comment.