Skip to content

Commit

Permalink
updated to 2023-08-01-preview swagger changes . perimeter access rule…
Browse files Browse the repository at this point in the history
… changes for servicetag based rule.
  • Loading branch information
bhupeshbhattmicrosoft committed Jun 24, 2024
1 parent 417b468 commit d783944
Show file tree
Hide file tree
Showing 36 changed files with 997 additions and 126 deletions.
4 changes: 4 additions & 0 deletions src/nsp/azext_nsp/aaz/latest/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@
#
# Code generated by aaz-dev-tools
# --------------------------------------------------------------------------------------------

# pylint: skip-file
# flake8: noqa

1 change: 1 addition & 0 deletions src/nsp/azext_nsp/aaz/latest/network/perimeter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
from ._delete import *
from ._list import *
from ._show import *
from ._update import *
10 changes: 6 additions & 4 deletions src/nsp/azext_nsp/aaz/latest/network/perimeter/_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ class Create(AAZCommand):
"""

_aaz_info = {
"version": "2023-07-01-preview",
"version": "2023-08-01-preview",
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}", "2023-07-01-preview"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}", "2023-08-01-preview"],
]
}

Expand Down Expand Up @@ -138,7 +138,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2023-07-01-preview",
"api-version", "2023-08-01-preview",
required=True,
),
}
Expand Down Expand Up @@ -196,7 +196,9 @@ def _build_schema_on_200_201(cls):
)
_schema_on_200_201.location = AAZStrType()
_schema_on_200_201.name = AAZStrType()
_schema_on_200_201.properties = AAZObjectType()
_schema_on_200_201.properties = AAZObjectType(
flags={"client_flatten": True},
)
_schema_on_200_201.tags = AAZDictType()
_schema_on_200_201.type = AAZStrType(
flags={"read_only": True},
Expand Down
6 changes: 3 additions & 3 deletions src/nsp/azext_nsp/aaz/latest/network/perimeter/_delete.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ class Delete(AAZCommand):
"""

_aaz_info = {
"version": "2023-07-01-preview",
"version": "2023-08-01-preview",
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}", "2023-07-01-preview"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}", "2023-08-01-preview"],
]
}

Expand Down Expand Up @@ -119,7 +119,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2023-07-01-preview",
"api-version", "2023-08-01-preview",
required=True,
),
}
Expand Down
18 changes: 11 additions & 7 deletions src/nsp/azext_nsp/aaz/latest/network/perimeter/_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ class List(AAZCommand):
"""

_aaz_info = {
"version": "2023-07-01-preview",
"version": "2023-08-01-preview",
"resources": [
["mgmt-plane", "/subscriptions/{}/providers/microsoft.network/networksecurityperimeters", "2023-07-01-preview"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters", "2023-07-01-preview"],
["mgmt-plane", "/subscriptions/{}/providers/microsoft.network/networksecurityperimeters", "2023-08-01-preview"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters", "2023-08-01-preview"],
]
}

Expand Down Expand Up @@ -134,7 +134,7 @@ def query_parameters(self):
"$top", self.ctx.args.top,
),
**self.serialize_query_param(
"api-version", "2023-07-01-preview",
"api-version", "2023-08-01-preview",
required=True,
),
}
Expand Down Expand Up @@ -181,7 +181,9 @@ def _build_schema_on_200(cls):
)
_element.location = AAZStrType()
_element.name = AAZStrType()
_element.properties = AAZObjectType()
_element.properties = AAZObjectType(
flags={"client_flatten": True},
)
_element.tags = AAZDictType()
_element.type = AAZStrType(
flags={"read_only": True},
Expand Down Expand Up @@ -248,7 +250,7 @@ def query_parameters(self):
"$top", self.ctx.args.top,
),
**self.serialize_query_param(
"api-version", "2023-07-01-preview",
"api-version", "2023-08-01-preview",
required=True,
),
}
Expand Down Expand Up @@ -295,7 +297,9 @@ def _build_schema_on_200(cls):
)
_element.location = AAZStrType()
_element.name = AAZStrType()
_element.properties = AAZObjectType()
_element.properties = AAZObjectType(
flags={"client_flatten": True},
)
_element.tags = AAZDictType()
_element.type = AAZStrType(
flags={"read_only": True},
Expand Down
10 changes: 6 additions & 4 deletions src/nsp/azext_nsp/aaz/latest/network/perimeter/_show.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ class Show(AAZCommand):
"""

_aaz_info = {
"version": "2023-07-01-preview",
"version": "2023-08-01-preview",
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}", "2023-07-01-preview"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}", "2023-08-01-preview"],
]
}

Expand Down Expand Up @@ -120,7 +120,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2023-07-01-preview",
"api-version", "2023-08-01-preview",
required=True,
),
}
Expand Down Expand Up @@ -158,7 +158,9 @@ def _build_schema_on_200(cls):
)
_schema_on_200.location = AAZStrType()
_schema_on_200.name = AAZStrType()
_schema_on_200.properties = AAZObjectType()
_schema_on_200.properties = AAZObjectType(
flags={"client_flatten": True},
)
_schema_on_200.tags = AAZDictType()
_schema_on_200.type = AAZStrType(
flags={"read_only": True},
Expand Down
Loading

0 comments on commit d783944

Please sign in to comment.