-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
5,903 additions
and
5,197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
...e-cli/azure/cli/command_modules/vm/azure_stack/profile_2018_03_01_hybrid/operations/vm.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# -------------------------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for license information. | ||
# -------------------------------------------------------------------------------------------- | ||
# pylint: disable=no-self-use, line-too-long, protected-access, too-few-public-methods, unused-argument | ||
from knack.log import get_logger | ||
|
||
from ._util import import_aaz_by_profile | ||
|
||
logger = get_logger(__name__) | ||
|
||
_VM = import_aaz_by_profile("vm") | ||
|
||
|
||
class VMListSizes(_VM.ListSizes): | ||
@classmethod | ||
def _build_arguments_schema(cls, *args, **kwargs): | ||
args_schema = super()._build_arguments_schema(*args, **kwargs) | ||
args_schema.location._id_part = None | ||
|
||
return args_schema |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
...e-cli/azure/cli/command_modules/vm/azure_stack/profile_2019_03_01_hybrid/operations/vm.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# -------------------------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for license information. | ||
# -------------------------------------------------------------------------------------------- | ||
# pylint: disable=no-self-use, line-too-long, protected-access, too-few-public-methods, unused-argument | ||
from knack.log import get_logger | ||
|
||
from ._util import import_aaz_by_profile | ||
|
||
logger = get_logger(__name__) | ||
|
||
_VM = import_aaz_by_profile("vm") | ||
|
||
|
||
class VMListSizes(_VM.ListSizes): | ||
@classmethod | ||
def _build_arguments_schema(cls, *args, **kwargs): | ||
args_schema = super()._build_arguments_schema(*args, **kwargs) | ||
args_schema.location._id_part = None | ||
|
||
return args_schema |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
...e-cli/azure/cli/command_modules/vm/azure_stack/profile_2020_09_01_hybrid/operations/vm.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# -------------------------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for license information. | ||
# -------------------------------------------------------------------------------------------- | ||
# pylint: disable=no-self-use, line-too-long, protected-access, too-few-public-methods, unused-argument | ||
from knack.log import get_logger | ||
|
||
from ._util import import_aaz_by_profile | ||
|
||
logger = get_logger(__name__) | ||
|
||
_VM = import_aaz_by_profile("vm") | ||
|
||
|
||
class VMListSizes(_VM.ListSizes): | ||
@classmethod | ||
def _build_arguments_schema(cls, *args, **kwargs): | ||
args_schema = super()._build_arguments_schema(*args, **kwargs) | ||
args_schema.location._id_part = None | ||
|
||
return args_schema |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
src/azure-cli/azure/cli/command_modules/vm/operations/vm.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# -------------------------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for license information. | ||
# -------------------------------------------------------------------------------------------- | ||
# pylint: disable=no-self-use, line-too-long, protected-access, too-few-public-methods, unused-argument | ||
from knack.log import get_logger | ||
|
||
from ..aaz.latest.vm import ListSizes as _VMListSizes | ||
|
||
logger = get_logger(__name__) | ||
|
||
|
||
class VMListSizes(_VMListSizes): | ||
@classmethod | ||
def _build_arguments_schema(cls, *args, **kwargs): | ||
args_schema = super()._build_arguments_schema(*args, **kwargs) | ||
args_schema.location._id_part = None | ||
|
||
return args_schema |
Oops, something went wrong.