Skip to content
Closed
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
@@ -1,11 +1,11 @@
{
"commit": "a89c3854f2d1cca8c996e00c97af3179ecb9dd72",
"commit": "e4ba122fc4844745a4716ccf0b760de4e1ac5dea",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.9.2",
"autorest": "3.9.6",
"use": [
"@autorest/python@6.6.0",
"@autorest/modelerfour@4.24.3"
"@autorest/modelerfour@4.26.2"
],
"autorest_command": "autorest specification/managednetworkfabric/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.6.0 --use=@autorest/modelerfour@4.24.3 --version=3.9.2 --version-tolerant=False",
"autorest_command": "autorest specification/managednetworkfabric/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/python@6.6.0 --use=@autorest/modelerfour@4.26.2 --version=3.9.6 --version-tolerant=False",
"readme": "specification/managednetworkfabric/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "1.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ class Encapsulation(str, Enum, metaclass=CaseInsensitiveEnumMeta):


class EncapsulationType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Encapsulation Type."""
"""Encapsulation Type that needs to be matched."""

NONE = "None"
GT_PV1 = "GTPv1"
Expand Down Expand Up @@ -304,7 +304,7 @@ class PortType(str, Enum, metaclass=CaseInsensitiveEnumMeta):


class PrefixType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""IP Prefix Type."""
"""IP Prefix Type that needs to be matched."""

PREFIX = "Prefix"
LONGEST_PREFIX = "LongestPrefix"
Expand Down Expand Up @@ -363,7 +363,7 @@ class RoutePolicyConditionType(str, Enum, metaclass=CaseInsensitiveEnumMeta):


class SourceDestinationType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""IP Address type."""
"""IP Address type that needs to be matched."""

SOURCE_IP = "SourceIP"
DESTINATION_IP = "DestinationIP"
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def main():
"aclsUrl": "https://ACL-Storage-URL",
"annotation": "annotation",
"configurationType": "File",
"defaultAction": "Permit",
"dynamicMatchConfigurations": [
{
"ipGroups": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def main():
"aclsUrl": "https://microsoft.com/a",
"annotation": "annotation",
"configurationType": "File",
"defaultAction": "Permit",
"dynamicMatchConfigurations": [
{
"ipGroups": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def main():
"properties": {
"addressFamilyType": "IPv4",
"annotation": "annotation",
"defaultAction": "Deny",
"networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric",
"statements": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def main():
route_policy_name="example-routePolicy",
body={
"properties": {
"defaultAction": "Deny",
"statements": [
{
"action": {
Expand Down Expand Up @@ -87,7 +88,7 @@ def main():
},
"sequenceNumber": 7,
}
]
],
},
"tags": {"keyID": "keyValue"},
},
Expand Down