Skip to content

Commit

Permalink
Rebuild by #5853
Browse files Browse the repository at this point in the history
  • Loading branch information
AutorestCI authored and Zim Kalinowski committed Jul 20, 2019
1 parent 874c341 commit a3ccbbf
Show file tree
Hide file tree
Showing 10 changed files with 1,404 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ class ComputeManagementClient(MultiApiClientMixin, SDKClient):
'dedicated_hosts': '2019-03-01',
'disks': '2018-09-30',
'galleries': '2019-03-01',
'gallery_application_versions': '2019-03-01',
'gallery_applications': '2019-03-01',
'gallery_image_versions': '2019-03-01',
'gallery_images': '2019-03-01',
'images': '2019-03-01',
Expand Down Expand Up @@ -250,6 +252,32 @@ def galleries(self):
raise NotImplementedError("APIVersion {} is not available".format(api_version))
return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))

@property
def gallery_application_versions(self):
"""Instance depends on the API version:
* 2019-03-01: :class:`GalleryApplicationVersionsOperations<azure.mgmt.compute.v2019_03_01.operations.GalleryApplicationVersionsOperations>`
"""
api_version = self._get_api_version('gallery_application_versions')
if api_version == '2019-03-01':
from .v2019_03_01.operations import GalleryApplicationVersionsOperations as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))

@property
def gallery_applications(self):
"""Instance depends on the API version:
* 2019-03-01: :class:`GalleryApplicationsOperations<azure.mgmt.compute.v2019_03_01.operations.GalleryApplicationsOperations>`
"""
api_version = self._get_api_version('gallery_applications')
if api_version == '2019-03-01':
from .v2019_03_01.operations import GalleryApplicationsOperations as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))

@property
def gallery_image_versions(self):
"""Instance depends on the API version:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
from .operations import GalleriesOperations
from .operations import GalleryImagesOperations
from .operations import GalleryImageVersionsOperations
from .operations import GalleryApplicationsOperations
from .operations import GalleryApplicationVersionsOperations
from . import models


Expand Down Expand Up @@ -85,6 +87,10 @@ class ComputeManagementClient(SDKClient):
:vartype gallery_images: azure.mgmt.compute.v2019_03_01.operations.GalleryImagesOperations
:ivar gallery_image_versions: GalleryImageVersions operations
:vartype gallery_image_versions: azure.mgmt.compute.v2019_03_01.operations.GalleryImageVersionsOperations
:ivar gallery_applications: GalleryApplications operations
:vartype gallery_applications: azure.mgmt.compute.v2019_03_01.operations.GalleryApplicationsOperations
:ivar gallery_application_versions: GalleryApplicationVersions operations
:vartype gallery_application_versions: azure.mgmt.compute.v2019_03_01.operations.GalleryApplicationVersionsOperations
:param credentials: Credentials needed for the client to connect to Azure.
:type credentials: :mod:`A msrestazure Credentials
Expand Down Expand Up @@ -149,3 +155,7 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.gallery_image_versions = GalleryImageVersionsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.gallery_applications = GalleryApplicationsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.gallery_application_versions = GalleryApplicationVersionsOperations(
self._client, self.config, self._serialize, self._deserialize)
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
from ._models_py3 import DiskEncryptionSettings
from ._models_py3 import DiskInstanceView
from ._models_py3 import Gallery
from ._models_py3 import GalleryApplication
from ._models_py3 import GalleryApplicationVersion
from ._models_py3 import GalleryApplicationVersionPublishingProfile
from ._models_py3 import GalleryArtifactPublishingProfileBase
from ._models_py3 import GalleryArtifactSource
from ._models_py3 import GalleryDataDiskImage
Expand Down Expand Up @@ -110,6 +113,7 @@
from ._models_py3 import UpgradePolicy
from ._models_py3 import Usage
from ._models_py3 import UsageName
from ._models_py3 import UserArtifactSource
from ._models_py3 import VaultCertificate
from ._models_py3 import VaultSecretGroup
from ._models_py3 import VirtualHardDisk
Expand Down Expand Up @@ -206,6 +210,9 @@
from ._models import DiskEncryptionSettings
from ._models import DiskInstanceView
from ._models import Gallery
from ._models import GalleryApplication
from ._models import GalleryApplicationVersion
from ._models import GalleryApplicationVersionPublishingProfile
from ._models import GalleryArtifactPublishingProfileBase
from ._models import GalleryArtifactSource
from ._models import GalleryDataDiskImage
Expand Down Expand Up @@ -278,6 +285,7 @@
from ._models import UpgradePolicy
from ._models import Usage
from ._models import UsageName
from ._models import UserArtifactSource
from ._models import VaultCertificate
from ._models import VaultSecretGroup
from ._models import VirtualHardDisk
Expand Down Expand Up @@ -349,6 +357,8 @@
from ._paged_models import ComputeOperationValuePaged
from ._paged_models import DedicatedHostGroupPaged
from ._paged_models import DedicatedHostPaged
from ._paged_models import GalleryApplicationPaged
from ._paged_models import GalleryApplicationVersionPaged
from ._paged_models import GalleryImagePaged
from ._paged_models import GalleryImageVersionPaged
from ._paged_models import GalleryPaged
Expand Down Expand Up @@ -393,9 +403,9 @@
RollingUpgradeStatusCode,
RollingUpgradeActionType,
IntervalInMins,
StorageAccountType,
AggregatedReplicationState,
ReplicationState,
StorageAccountType,
HostCaching,
InstanceViewTypes,
ReplicationStatusTypes,
Expand Down Expand Up @@ -430,6 +440,9 @@
'DiskEncryptionSettings',
'DiskInstanceView',
'Gallery',
'GalleryApplication',
'GalleryApplicationVersion',
'GalleryApplicationVersionPublishingProfile',
'GalleryArtifactPublishingProfileBase',
'GalleryArtifactSource',
'GalleryDataDiskImage',
Expand Down Expand Up @@ -502,6 +515,7 @@
'UpgradePolicy',
'Usage',
'UsageName',
'UserArtifactSource',
'VaultCertificate',
'VaultSecretGroup',
'VirtualHardDisk',
Expand Down Expand Up @@ -587,6 +601,8 @@
'GalleryPaged',
'GalleryImagePaged',
'GalleryImageVersionPaged',
'GalleryApplicationPaged',
'GalleryApplicationVersionPaged',
'HyperVGenerationTypes',
'StatusLevelTypes',
'AvailabilitySetSkuTypes',
Expand Down Expand Up @@ -616,9 +632,9 @@
'RollingUpgradeStatusCode',
'RollingUpgradeActionType',
'IntervalInMins',
'StorageAccountType',
'AggregatedReplicationState',
'ReplicationState',
'StorageAccountType',
'HostCaching',
'InstanceViewTypes',
'ReplicationStatusTypes',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -365,12 +365,6 @@ class IntervalInMins(str, Enum):
sixty_mins = "SixtyMins"


class StorageAccountType(str, Enum):

standard_lrs = "Standard_LRS"
standard_zrs = "Standard_ZRS"


class AggregatedReplicationState(str, Enum):

unknown = "Unknown"
Expand All @@ -387,6 +381,12 @@ class ReplicationState(str, Enum):
failed = "Failed"


class StorageAccountType(str, Enum):

standard_lrs = "Standard_LRS"
standard_zrs = "Standard_ZRS"


class HostCaching(str, Enum):

none = "None"
Expand Down
Loading

0 comments on commit a3ccbbf

Please sign in to comment.