Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sdk/containerinstance/azure-mgmt-containerinstance/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "cfe318beba82c1e5bda6a600f91de32cba814364",
"commit": "cd7123ceaaeebc0c122e8d933b7f0f78a27c0c31",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.10.2",
"use": [
"@autorest/[email protected]",
"@autorest/[email protected]"
],
"autorest_command": "autorest specification/containerinstance/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 --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
"autorest_command": "autorest specification/containerinstance/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/s/azure-sdk-for-python/sdk --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
"readme": "specification/containerinstance/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,16 @@ class ContainerInstanceManagementClientConfiguration: # pylint: disable=too-man

:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
:param subscription_id: Subscription credentials which uniquely identify Microsoft Azure
subscription. The subscription ID forms part of the URI for every service call. Required.
:type subscription_id: str
:keyword api_version: Api Version. Default value is "2024-05-01-preview". Note that overriding
:keyword api_version: Api Version. Default value is "2024-11-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:
api_version: str = kwargs.pop("api_version", "2024-05-01-preview")
api_version: str = kwargs.pop("api_version", "2024-11-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 @@ -19,11 +19,12 @@
from ._configuration import ContainerInstanceManagementClientConfiguration
from ._serialization import Deserializer, Serializer
from .operations import (
ContainerGroupProfileOperations,
ContainerGroupProfilesOperations,
CGProfileOperations,
CGProfilesOperations,
ContainerGroupsOperations,
ContainersOperations,
LocationOperations,
NGroupsOperations,
Operations,
SubnetServiceAssociationLinkOperations,
)
Expand All @@ -47,19 +48,20 @@ class ContainerInstanceManagementClient: # pylint: disable=client-accepts-api-v
:ivar subnet_service_association_link: SubnetServiceAssociationLinkOperations operations
:vartype subnet_service_association_link:
azure.mgmt.containerinstance.operations.SubnetServiceAssociationLinkOperations
:ivar container_group_profiles: ContainerGroupProfilesOperations operations
:vartype container_group_profiles:
azure.mgmt.containerinstance.operations.ContainerGroupProfilesOperations
:ivar container_group_profile: ContainerGroupProfileOperations operations
:vartype container_group_profile:
azure.mgmt.containerinstance.operations.ContainerGroupProfileOperations
:ivar ngroups: NGroupsOperations operations
:vartype ngroups: azure.mgmt.containerinstance.operations.NGroupsOperations
:ivar cg_profiles: CGProfilesOperations operations
:vartype cg_profiles: azure.mgmt.containerinstance.operations.CGProfilesOperations
:ivar cg_profile: CGProfileOperations operations
:vartype cg_profile: azure.mgmt.containerinstance.operations.CGProfileOperations
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
:param subscription_id: Subscription credentials which uniquely identify Microsoft Azure
subscription. The subscription ID forms part of the URI for every service call. Required.
: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 "2024-05-01-preview". Note that overriding
:keyword api_version: Api Version. Default value is "2024-11-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 @@ -109,12 +111,9 @@ def __init__(
self.subnet_service_association_link = SubnetServiceAssociationLinkOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.container_group_profiles = ContainerGroupProfilesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.container_group_profile = ContainerGroupProfileOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.ngroups = NGroupsOperations(self._client, self._config, self._serialize, self._deserialize)
self.cg_profiles = CGProfilesOperations(self._client, self._config, self._serialize, self._deserialize)
self.cg_profile = CGProfileOperations(self._client, self._config, self._serialize, self._deserialize)

def _send_request(self, request: HttpRequest, *, stream: bool = False, **kwargs: Any) -> HttpResponse:
"""Runs the network request through the client's chained policies.
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 = "10.2.0b1"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,16 @@ class ContainerInstanceManagementClientConfiguration: # pylint: disable=too-man

:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
:param subscription_id: Subscription credentials which uniquely identify Microsoft Azure
subscription. The subscription ID forms part of the URI for every service call. Required.
:type subscription_id: str
:keyword api_version: Api Version. Default value is "2024-05-01-preview". Note that overriding
:keyword api_version: Api Version. Default value is "2024-11-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:
api_version: str = kwargs.pop("api_version", "2024-05-01-preview")
api_version: str = kwargs.pop("api_version", "2024-11-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 @@ -19,11 +19,12 @@
from .._serialization import Deserializer, Serializer
from ._configuration import ContainerInstanceManagementClientConfiguration
from .operations import (
ContainerGroupProfileOperations,
ContainerGroupProfilesOperations,
CGProfileOperations,
CGProfilesOperations,
ContainerGroupsOperations,
ContainersOperations,
LocationOperations,
NGroupsOperations,
Operations,
SubnetServiceAssociationLinkOperations,
)
Expand All @@ -48,19 +49,20 @@ class ContainerInstanceManagementClient: # pylint: disable=client-accepts-api-v
:ivar subnet_service_association_link: SubnetServiceAssociationLinkOperations operations
:vartype subnet_service_association_link:
azure.mgmt.containerinstance.aio.operations.SubnetServiceAssociationLinkOperations
:ivar container_group_profiles: ContainerGroupProfilesOperations operations
:vartype container_group_profiles:
azure.mgmt.containerinstance.aio.operations.ContainerGroupProfilesOperations
:ivar container_group_profile: ContainerGroupProfileOperations operations
:vartype container_group_profile:
azure.mgmt.containerinstance.aio.operations.ContainerGroupProfileOperations
:ivar ngroups: NGroupsOperations operations
:vartype ngroups: azure.mgmt.containerinstance.aio.operations.NGroupsOperations
:ivar cg_profiles: CGProfilesOperations operations
:vartype cg_profiles: azure.mgmt.containerinstance.aio.operations.CGProfilesOperations
:ivar cg_profile: CGProfileOperations operations
:vartype cg_profile: azure.mgmt.containerinstance.aio.operations.CGProfileOperations
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
:param subscription_id: Subscription credentials which uniquely identify Microsoft Azure
subscription. The subscription ID forms part of the URI for every service call. Required.
: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 "2024-05-01-preview". Note that overriding
:keyword api_version: Api Version. Default value is "2024-11-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 @@ -110,12 +112,9 @@ def __init__(
self.subnet_service_association_link = SubnetServiceAssociationLinkOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.container_group_profiles = ContainerGroupProfilesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.container_group_profile = ContainerGroupProfileOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.ngroups = NGroupsOperations(self._client, self._config, self._serialize, self._deserialize)
self.cg_profiles = CGProfilesOperations(self._client, self._config, self._serialize, self._deserialize)
self.cg_profile = CGProfileOperations(self._client, self._config, self._serialize, self._deserialize)

def _send_request(
self, request: HttpRequest, *, stream: bool = False, **kwargs: Any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
from ._location_operations import LocationOperations
from ._containers_operations import ContainersOperations
from ._subnet_service_association_link_operations import SubnetServiceAssociationLinkOperations
from ._container_group_profiles_operations import ContainerGroupProfilesOperations
from ._container_group_profile_operations import ContainerGroupProfileOperations
from ._ngroups_operations import NGroupsOperations
from ._cg_profiles_operations import CGProfilesOperations
from ._cg_profile_operations import CGProfileOperations

from ._patch import __all__ as _patch_all
from ._patch import * # pylint: disable=unused-wildcard-import
Expand All @@ -24,8 +25,9 @@
"LocationOperations",
"ContainersOperations",
"SubnetServiceAssociationLinkOperations",
"ContainerGroupProfilesOperations",
"ContainerGroupProfileOperations",
"NGroupsOperations",
"CGProfilesOperations",
"CGProfileOperations",
]
__all__.extend([p for p in _patch_all if p not in __all__])
_patch_sdk()
Loading