Skip to content

Commit 5922c0d

Browse files
committed
codegen
1 parent cc9cab1 commit 5922c0d

File tree

7 files changed

+1460
-13
lines changed

7 files changed

+1460
-13
lines changed

src/azure-cli/azure/cli/command_modules/vm/aaz/latest/sig/gallery_application/version/__init__.py

+2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
# flake8: noqa
1010

1111
from .__cmd_group import *
12+
from ._create import *
1213
from ._delete import *
1314
from ._list import *
1415
from ._show import *
16+
from ._update import *
1517
from ._wait import *

src/azure-cli/azure/cli/command_modules/vm/aaz/latest/sig/gallery_application/version/_create.py

+664
Large diffs are not rendered by default.

src/azure-cli/azure/cli/command_modules/vm/aaz/latest/sig/gallery_application/version/_delete.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
confirmation="Are you sure you want to perform this operation?",
1717
)
1818
class Delete(AAZCommand):
19-
"""Delete a gallery application version.
19+
"""Delete a gallery Application Version.
2020
"""
2121

2222
_aaz_info = {
@@ -45,13 +45,13 @@ def _build_arguments_schema(cls, *args, **kwargs):
4545
_args_schema = cls._args_schema
4646
_args_schema.gallery_application_name = AAZStrArg(
4747
options=["--application-name", "--gallery-application-name"],
48-
help="The name of the gallery application.",
48+
help="The name of the gallery Application.",
4949
required=True,
5050
id_part="child_name_1",
5151
)
5252
_args_schema.gallery_application_version_name = AAZStrArg(
5353
options=["-n", "--name", "--version-name", "--gallery-application-version-name"],
54-
help="The name of the gallery application version.",
54+
help="The name of the gallery Application Version.",
5555
required=True,
5656
id_part="child_name_2",
5757
)
@@ -62,7 +62,6 @@ def _build_arguments_schema(cls, *args, **kwargs):
6262
id_part="name",
6363
)
6464
_args_schema.resource_group = AAZResourceGroupNameArg(
65-
help="Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.",
6665
required=True,
6766
)
6867
return cls._args_schema

src/azure-cli/azure/cli/command_modules/vm/aaz/latest/sig/gallery_application/version/_list.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ class List(AAZCommand):
2525
]
2626
}
2727

28+
AZ_SUPPORT_PAGINATION = True
29+
2830
def _handler(self, command_args):
2931
super()._handler(command_args)
3032
return self.build_paging(self._execute_operations, self._output)
@@ -42,7 +44,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
4244
_args_schema = cls._args_schema
4345
_args_schema.gallery_application_name = AAZStrArg(
4446
options=["--application-name", "--gallery-application-name"],
45-
help="The name of the gallery application.",
47+
help="The name of the gallery Application.",
4648
required=True,
4749
)
4850
_args_schema.gallery_name = AAZStrArg(
@@ -51,7 +53,6 @@ def _build_arguments_schema(cls, *args, **kwargs):
5153
required=True,
5254
)
5355
_args_schema.resource_group = AAZResourceGroupNameArg(
54-
help="Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.",
5556
required=True,
5657
)
5758
return cls._args_schema
@@ -198,6 +199,7 @@ def _build_schema_on_200(cls):
198199
)
199200
properties.replication_status = AAZObjectType(
200201
serialized_name="replicationStatus",
202+
flags={"read_only": True},
201203
)
202204

203205
publishing_profile = cls._schema_on_200.value.Element.properties.publishing_profile

src/azure-cli/azure/cli/command_modules/vm/aaz/latest/sig/gallery_application/version/_show.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"sig gallery-application version show",
1616
)
1717
class Show(AAZCommand):
18-
"""Get information about a gallery application version.
18+
"""Get information about a gallery Application Version.
1919
"""
2020

2121
_aaz_info = {
@@ -43,13 +43,13 @@ def _build_arguments_schema(cls, *args, **kwargs):
4343
_args_schema = cls._args_schema
4444
_args_schema.gallery_application_name = AAZStrArg(
4545
options=["--application-name", "--gallery-application-name"],
46-
help="The name of the gallery application.",
46+
help="The name of the gallery Application.",
4747
required=True,
4848
id_part="child_name_1",
4949
)
5050
_args_schema.gallery_application_version_name = AAZStrArg(
5151
options=["-n", "--name", "--version-name", "--gallery-application-version-name"],
52-
help="The name of the gallery application version.",
52+
help="The name of the gallery Application Version.",
5353
required=True,
5454
id_part="child_name_2",
5555
)
@@ -60,7 +60,6 @@ def _build_arguments_schema(cls, *args, **kwargs):
6060
id_part="name",
6161
)
6262
_args_schema.resource_group = AAZResourceGroupNameArg(
63-
help="Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.",
6463
required=True,
6564
)
6665
_args_schema.expand = AAZStrArg(
@@ -207,6 +206,7 @@ def _build_schema_on_200(cls):
207206
)
208207
properties.replication_status = AAZObjectType(
209208
serialized_name="replicationStatus",
209+
flags={"read_only": True},
210210
)
211211

212212
publishing_profile = cls._schema_on_200.properties.publishing_profile

0 commit comments

Comments
 (0)