Skip to content

Commit

Permalink
CodeGen from PR 14294 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 8d9ea8978aa6f32e92ec650f53416bc13dcb1c3c into 038e917
  • Loading branch information
SDKAuto committed May 7, 2021
1 parent 8dd26ca commit 4efed08
Show file tree
Hide file tree
Showing 24 changed files with 394 additions and 3,782 deletions.
1 change: 1 addition & 0 deletions sdk/devtestlabs/azure-mgmt-devtestlabs/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include _meta.json
recursive-include tests *.py *.yaml
include *.md
include azure/__init__.py
Expand Down
8 changes: 8 additions & 0 deletions sdk/devtestlabs/azure-mgmt-devtestlabs/_meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"autorest": "V2",
"use": "@microsoft.azure/autorest.python@~4.0.71",
"commit": "6858abd61a91cbbf42d6767a2d3db5d91b237b1a",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/devtestlabs/resource-manager/readme.md --keep-version-file --multiapi --no-async --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk [email protected]/autorest.python@~4.0.71 --version=V2",
"readme": "specification/devtestlabs/resource-manager/readme.md"
}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class SourceControlType(str, Enum):

vso_git = "VsoGit"
git_hub = "GitHub"
storage_account = "StorageAccount"


class StorageType(str, Enum):
Expand Down Expand Up @@ -77,17 +78,18 @@ class TransportProtocol(str, Enum):
udp = "Udp"


class VirtualMachineCreationSource(str, Enum):
class FileUploadOptions(str, Enum):

from_custom_image = "FromCustomImage"
from_gallery_image = "FromGalleryImage"
from_shared_gallery_image = "FromSharedGalleryImage"
upload_files_and_generate_sas_tokens = "UploadFilesAndGenerateSasTokens"
none = "None"


class FileUploadOptions(str, Enum):
class ManagedIdentityType(str, Enum):

upload_files_and_generate_sas_tokens = "UploadFilesAndGenerateSasTokens"
none = "None"
system_assigned = "SystemAssigned"
user_assigned = "UserAssigned"
system_assigned_user_assigned = "SystemAssigned,UserAssigned"


class PremiumDataDisk(str, Enum):
Expand Down Expand Up @@ -121,6 +123,13 @@ class CostType(str, Enum):
projected = "Projected"


class VirtualMachineCreationSource(str, Enum):

from_custom_image = "FromCustomImage"
from_gallery_image = "FromGalleryImage"
from_shared_gallery_image = "FromSharedGalleryImage"


class HttpStatusCode(str, Enum):

continue_enum = "Continue"
Expand All @@ -133,13 +142,18 @@ class HttpStatusCode(str, Enum):
reset_content = "ResetContent"
partial_content = "PartialContent"
multiple_choices = "MultipleChoices"
ambiguous = "Ambiguous"
moved_permanently = "MovedPermanently"
moved = "Moved"
found = "Found"
redirect = "Redirect"
see_other = "SeeOther"
redirect_method = "RedirectMethod"
not_modified = "NotModified"
use_proxy = "UseProxy"
unused = "Unused"
temporary_redirect = "TemporaryRedirect"
redirect_keep_verb = "RedirectKeepVerb"
bad_request = "BadRequest"
unauthorized = "Unauthorized"
payment_required = "PaymentRequired"
Expand Down
Loading

0 comments on commit 4efed08

Please sign in to comment.