Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ def _build_arguments_schema(cls, *args, **kwargs):
help="Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.",
required=True,
)
_args_schema.top = AAZIntArg(
options=["--top"],
help="The maximum number of resources to return from the operation. Example: '$top=10'.",
)
return cls._args_schema

def _execute_operations(self):
Expand Down Expand Up @@ -136,9 +132,6 @@ def url_parameters(self):
@property
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"$top", self.ctx.args.top,
),
**self.serialize_query_param(
"api-version", "2022-11-11-preview",
required=True,
Expand Down Expand Up @@ -291,9 +284,6 @@ def url_parameters(self):
@property
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"$top", self.ctx.args.top,
),
**self.serialize_query_param(
"api-version", "2022-11-11-preview",
required=True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,9 @@ def _build_arguments_schema(cls, *args, **kwargs):
required=True,
)
_args_schema.resource_group = AAZResourceGroupNameArg(
help="Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.",
required=True,
)
_args_schema.top = AAZIntArg(
options=["--top"],
help="The maximum number of resources to return from the operation. Example: '$top=10'.",
)
return cls._args_schema

def _execute_operations(self):
Expand Down Expand Up @@ -123,9 +120,6 @@ def url_parameters(self):
@property
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"$top", self.ctx.args.top,
),
**self.serialize_query_param(
"api-version", "2022-11-11-preview",
required=True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@

@register_command(
"devcenter admin devbox-definition list",
is_preview=True,
)
class List(AAZCommand):
"""List dev box definitions configured for a devcenter or project.
"""List Dev Box definitions configured for a project.

:example: List by dev center
az devcenter admin devbox-definition list --dev-center-name "Contoso" --resource-group "rg1"
Expand Down Expand Up @@ -60,10 +59,6 @@ def _build_arguments_schema(cls, *args, **kwargs):
help="Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.",
required=True,
)
_args_schema.top = AAZIntArg(
options=["--top"],
help="The maximum number of resources to return from the operation. Example: '$top=10'.",
)
return cls._args_schema

def _execute_operations(self):
Expand Down Expand Up @@ -136,9 +131,6 @@ def url_parameters(self):
@property
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"$top", self.ctx.args.top,
),
**self.serialize_query_param(
"api-version", "2022-11-11-preview",
required=True,
Expand Down Expand Up @@ -322,9 +314,6 @@ def url_parameters(self):
@property
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"$top", self.ctx.args.top,
),
**self.serialize_query_param(
"api-version", "2022-11-11-preview",
required=True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ def _build_arguments_schema(cls, *args, **kwargs):
_args_schema.resource_group = AAZResourceGroupNameArg(
help="Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.",
)
_args_schema.top = AAZIntArg(
options=["--top"],
help="The maximum number of resources to return from the operation. Example: '$top=10'.",
)
return cls._args_schema

def _execute_operations(self):
Expand Down Expand Up @@ -123,9 +119,6 @@ def url_parameters(self):
@property
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"$top", self.ctx.args.top,
),
**self.serialize_query_param(
"api-version", "2022-11-11-preview",
required=True,
Expand Down Expand Up @@ -297,9 +290,6 @@ def url_parameters(self):
@property
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"$top", self.ctx.args.top,
),
**self.serialize_query_param(
"api-version", "2022-11-11-preview",
required=True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ def _build_arguments_schema(cls, *args, **kwargs):
help="Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.",
required=True,
)
_args_schema.top = AAZIntArg(
options=["--top"],
help="The maximum number of resources to return from the operation. Example: '$top=10'.",
)
return cls._args_schema

def _execute_operations(self):
Expand Down Expand Up @@ -124,9 +120,6 @@ def url_parameters(self):
@property
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"$top", self.ctx.args.top,
),
**self.serialize_query_param(
"api-version", "2022-11-11-preview",
required=True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ def _build_arguments_schema(cls, *args, **kwargs):
help="Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.",
required=True,
)
_args_schema.top = AAZIntArg(
options=["--top"],
help="The maximum number of resources to return from the operation. Example: '$top=10'.",
)
return cls._args_schema

def _execute_operations(self):
Expand Down Expand Up @@ -124,9 +120,6 @@ def url_parameters(self):
@property
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"$top", self.ctx.args.top,
),
**self.serialize_query_param(
"api-version", "2022-11-11-preview",
required=True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,6 @@ def _build_arguments_schema(cls, *args, **kwargs):
help="Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.",
required=True,
)
_args_schema.top = AAZIntArg(
options=["--top"],
help="The maximum number of resources to return from the operation. Example: '$top=10'.",
)
return cls._args_schema

def _execute_operations(self):
Expand Down Expand Up @@ -137,9 +133,6 @@ def url_parameters(self):
@property
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"$top", self.ctx.args.top,
),
**self.serialize_query_param(
"api-version", "2022-11-11-preview",
required=True,
Expand Down Expand Up @@ -305,9 +298,6 @@ def url_parameters(self):
@property
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"$top", self.ctx.args.top,
),
**self.serialize_query_param(
"api-version", "2022-11-11-preview",
required=True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ def _build_arguments_schema(cls, *args, **kwargs):
_args_schema.resource_group = AAZResourceGroupNameArg(
help="Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.",
)
_args_schema.top = AAZIntArg(
options=["--top"],
help="The maximum number of resources to return from the operation. Example: '$top=10'.",
)
return cls._args_schema

def _execute_operations(self):
Expand Down Expand Up @@ -123,9 +119,6 @@ def url_parameters(self):
@property
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"$top", self.ctx.args.top,
),
**self.serialize_query_param(
"api-version", "2022-11-11-preview",
required=True,
Expand Down Expand Up @@ -289,9 +282,6 @@ def url_parameters(self):
@property
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"$top", self.ctx.args.top,
),
**self.serialize_query_param(
"api-version", "2022-11-11-preview",
required=True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ def _build_arguments_schema(cls, *args, **kwargs):
help="Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.",
required=True,
)
_args_schema.top = AAZIntArg(
options=["--top"],
help="The maximum number of resources to return from the operation. Example: '$top=10'.",
)
return cls._args_schema

def _execute_operations(self):
Expand Down Expand Up @@ -124,9 +120,6 @@ def url_parameters(self):
@property
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"$top", self.ctx.args.top,
),
**self.serialize_query_param(
"api-version", "2022-11-11-preview",
required=True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ def _build_arguments_schema(cls, *args, **kwargs):
help="Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.",
required=True,
)
_args_schema.top = AAZIntArg(
options=["--top"],
help="The maximum number of resources to return from the operation. Example: '$top=10'.",
)
return cls._args_schema

def _execute_operations(self):
Expand Down Expand Up @@ -124,9 +120,6 @@ def url_parameters(self):
@property
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"$top", self.ctx.args.top,
),
**self.serialize_query_param(
"api-version", "2022-11-11-preview",
required=True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ def _build_arguments_schema(cls, *args, **kwargs):
_args_schema.resource_group = AAZResourceGroupNameArg(
help="Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.",
)
_args_schema.top = AAZIntArg(
options=["--top"],
help="The maximum number of resources to return from the operation. Example: '$top=10'.",
)
return cls._args_schema

def _execute_operations(self):
Expand Down Expand Up @@ -123,9 +119,6 @@ def url_parameters(self):
@property
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"$top", self.ctx.args.top,
),
**self.serialize_query_param(
"api-version", "2022-11-11-preview",
required=True,
Expand Down Expand Up @@ -271,9 +264,6 @@ def url_parameters(self):
@property
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"$top", self.ctx.args.top,
),
**self.serialize_query_param(
"api-version", "2022-11-11-preview",
required=True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ def _build_arguments_schema(cls, *args, **kwargs):
help="Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.",
required=True,
)
_args_schema.top = AAZIntArg(
options=["--top"],
help="The maximum number of resources to return from the operation. Example: '$top=10'.",
)
return cls._args_schema

def _execute_operations(self):
Expand Down Expand Up @@ -124,9 +120,6 @@ def url_parameters(self):
@property
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"$top", self.ctx.args.top,
),
**self.serialize_query_param(
"api-version", "2022-11-11-preview",
required=True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@ def _build_arguments_schema(cls, *args, **kwargs):
help="Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.",
required=True,
)
_args_schema.top = AAZIntArg(
options=["--top"],
help="The maximum number of resources to return from the operation. Example: '$top=10'.",
)
return cls._args_schema

def _execute_operations(self):
Expand Down Expand Up @@ -123,9 +119,6 @@ def url_parameters(self):
@property
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"$top", self.ctx.args.top,
),
**self.serialize_query_param(
"api-version", "2022-11-11-preview",
required=True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ def _build_arguments_schema(cls, *args, **kwargs):
min_length=1,
),
)
_args_schema.top = AAZIntArg(
options=["--top"],
help="The maximum number of resources to return from the operation. Example: '$top=10'.",
)

# define Arg Group "Properties"

Expand Down Expand Up @@ -197,9 +193,6 @@ def url_parameters(self):
@property
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"$top", self.ctx.args.top,
),
**self.serialize_query_param(
"api-version", "2022-11-11-preview",
required=True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,6 @@ def _build_arguments_schema(cls, *args, **kwargs):
min_length=1,
),
)
_args_schema.top = AAZIntArg(
options=["--top"],
help="The maximum number of resources to return from the operation. Example: '$top=10'.",
)
return cls._args_schema

def _execute_operations(self):
Expand Down Expand Up @@ -174,9 +170,6 @@ def url_parameters(self):
@property
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"$top", self.ctx.args.top,
),
**self.serialize_query_param(
"api-version", "2022-11-11-preview",
required=True,
Expand Down
Loading