Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[T2] GA devtestlabs #15888

Merged
merged 1 commit into from
Jan 4, 2021
Merged
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: 4 additions & 0 deletions sdk/devtestlabs/azure-mgmt-devtestlabs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release History

## 9.0.0 (2020-12-21)

- GA release

## 9.0.0b1 (2020-10-27)

This is beta preview version.
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 = "9.0.0b1"
VERSION = "9.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest
from azure.mgmt.core.exceptions import ARMErrorFormat

from ... import models
from ... import models as _models

T = TypeVar('T')
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
Expand All @@ -33,7 +33,7 @@ class ArmTemplatesOperations:
:param deserializer: An object model deserializer.
"""

models = models
models = _models

def __init__(self, client, config, serializer, deserializer) -> None:
self._client = client
Expand All @@ -51,7 +51,7 @@ def list(
top: Optional[int] = None,
orderby: Optional[str] = None,
**kwargs
) -> AsyncIterable["models.ArmTemplateList"]:
) -> AsyncIterable["_models.ArmTemplateList"]:
"""List azure resource manager templates in a given artifact source.

:param resource_group_name: The name of the resource group.
Expand All @@ -74,7 +74,7 @@ def list(
:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.devtestlabs.models.ArmTemplateList]
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.ArmTemplateList"]
cls = kwargs.pop('cls', None) # type: ClsType["_models.ArmTemplateList"]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
Expand Down Expand Up @@ -148,7 +148,7 @@ async def get(
name: str,
expand: Optional[str] = None,
**kwargs
) -> "models.ArmTemplate":
) -> "_models.ArmTemplate":
"""Get azure resource manager template.

:param resource_group_name: The name of the resource group.
Expand All @@ -166,7 +166,7 @@ async def get(
:rtype: ~azure.mgmt.devtestlabs.models.ArmTemplate
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.ArmTemplate"]
cls = kwargs.pop('cls', None) # type: ClsType["_models.ArmTemplate"]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest
from azure.mgmt.core.exceptions import ARMErrorFormat

from ... import models
from ... import models as _models

T = TypeVar('T')
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
Expand All @@ -33,7 +33,7 @@ class ArtifactSourcesOperations:
:param deserializer: An object model deserializer.
"""

models = models
models = _models

def __init__(self, client, config, serializer, deserializer) -> None:
self._client = client
Expand All @@ -50,7 +50,7 @@ def list(
top: Optional[int] = None,
orderby: Optional[str] = None,
**kwargs
) -> AsyncIterable["models.ArtifactSourceList"]:
) -> AsyncIterable["_models.ArtifactSourceList"]:
"""List artifact sources in a given lab.

:param resource_group_name: The name of the resource group.
Expand All @@ -71,7 +71,7 @@ def list(
:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.devtestlabs.models.ArtifactSourceList]
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.ArtifactSourceList"]
cls = kwargs.pop('cls', None) # type: ClsType["_models.ArtifactSourceList"]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
Expand Down Expand Up @@ -143,7 +143,7 @@ async def get(
name: str,
expand: Optional[str] = None,
**kwargs
) -> "models.ArtifactSource":
) -> "_models.ArtifactSource":
"""Get artifact source.

:param resource_group_name: The name of the resource group.
Expand All @@ -159,7 +159,7 @@ async def get(
:rtype: ~azure.mgmt.devtestlabs.models.ArtifactSource
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.ArtifactSource"]
cls = kwargs.pop('cls', None) # type: ClsType["_models.ArtifactSource"]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
Expand Down Expand Up @@ -208,9 +208,9 @@ async def create_or_update(
resource_group_name: str,
lab_name: str,
name: str,
artifact_source: "models.ArtifactSource",
artifact_source: "_models.ArtifactSource",
**kwargs
) -> "models.ArtifactSource":
) -> "_models.ArtifactSource":
"""Create or replace an existing artifact source.

:param resource_group_name: The name of the resource group.
Expand All @@ -226,7 +226,7 @@ async def create_or_update(
:rtype: ~azure.mgmt.devtestlabs.models.ArtifactSource
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.ArtifactSource"]
cls = kwargs.pop('cls', None) # type: ClsType["_models.ArtifactSource"]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
Expand Down Expand Up @@ -341,9 +341,9 @@ async def update(
resource_group_name: str,
lab_name: str,
name: str,
artifact_source: "models.ArtifactSourceFragment",
artifact_source: "_models.ArtifactSourceFragment",
**kwargs
) -> "models.ArtifactSource":
) -> "_models.ArtifactSource":
"""Allows modifying tags of artifact sources. All other properties will be ignored.

:param resource_group_name: The name of the resource group.
Expand All @@ -359,7 +359,7 @@ async def update(
:rtype: ~azure.mgmt.devtestlabs.models.ArtifactSource
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.ArtifactSource"]
cls = kwargs.pop('cls', None) # type: ClsType["_models.ArtifactSource"]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest
from azure.mgmt.core.exceptions import ARMErrorFormat

from ... import models
from ... import models as _models

T = TypeVar('T')
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
Expand All @@ -33,7 +33,7 @@ class ArtifactsOperations:
:param deserializer: An object model deserializer.
"""

models = models
models = _models

def __init__(self, client, config, serializer, deserializer) -> None:
self._client = client
Expand All @@ -51,7 +51,7 @@ def list(
top: Optional[int] = None,
orderby: Optional[str] = None,
**kwargs
) -> AsyncIterable["models.ArtifactList"]:
) -> AsyncIterable["_models.ArtifactList"]:
"""List artifacts in a given artifact source.

:param resource_group_name: The name of the resource group.
Expand All @@ -74,7 +74,7 @@ def list(
:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.devtestlabs.models.ArtifactList]
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.ArtifactList"]
cls = kwargs.pop('cls', None) # type: ClsType["_models.ArtifactList"]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
Expand Down Expand Up @@ -148,7 +148,7 @@ async def get(
name: str,
expand: Optional[str] = None,
**kwargs
) -> "models.Artifact":
) -> "_models.Artifact":
"""Get artifact.

:param resource_group_name: The name of the resource group.
Expand All @@ -166,7 +166,7 @@ async def get(
:rtype: ~azure.mgmt.devtestlabs.models.Artifact
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.Artifact"]
cls = kwargs.pop('cls', None) # type: ClsType["_models.Artifact"]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
Expand Down Expand Up @@ -217,9 +217,9 @@ async def generate_arm_template(
lab_name: str,
artifact_source_name: str,
name: str,
generate_arm_template_request: "models.GenerateArmTemplateRequest",
generate_arm_template_request: "_models.GenerateArmTemplateRequest",
**kwargs
) -> "models.ArmTemplateInfo":
) -> "_models.ArmTemplateInfo":
"""Generates an ARM template for the given artifact, uploads the required files to a storage
account, and validates the generated artifact.

Expand All @@ -239,7 +239,7 @@ async def generate_arm_template(
:rtype: ~azure.mgmt.devtestlabs.models.ArmTemplateInfo
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.ArmTemplateInfo"]
cls = kwargs.pop('cls', None) # type: ClsType["_models.ArmTemplateInfo"]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest
from azure.mgmt.core.exceptions import ARMErrorFormat

from ... import models
from ... import models as _models

T = TypeVar('T')
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
Expand All @@ -32,7 +32,7 @@ class CostsOperations:
:param deserializer: An object model deserializer.
"""

models = models
models = _models

def __init__(self, client, config, serializer, deserializer) -> None:
self._client = client
Expand All @@ -47,7 +47,7 @@ async def get(
name: str,
expand: Optional[str] = None,
**kwargs
) -> "models.LabCost":
) -> "_models.LabCost":
"""Get cost.

:param resource_group_name: The name of the resource group.
Expand All @@ -63,7 +63,7 @@ async def get(
:rtype: ~azure.mgmt.devtestlabs.models.LabCost
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.LabCost"]
cls = kwargs.pop('cls', None) # type: ClsType["_models.LabCost"]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
Expand Down Expand Up @@ -112,9 +112,9 @@ async def create_or_update(
resource_group_name: str,
lab_name: str,
name: str,
lab_cost: "models.LabCost",
lab_cost: "_models.LabCost",
**kwargs
) -> "models.LabCost":
) -> "_models.LabCost":
"""Create or replace an existing cost.

:param resource_group_name: The name of the resource group.
Expand All @@ -130,7 +130,7 @@ async def create_or_update(
:rtype: ~azure.mgmt.devtestlabs.models.LabCost
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.LabCost"]
cls = kwargs.pop('cls', None) # type: ClsType["_models.LabCost"]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
Expand Down
Loading