Skip to content

Commit

Permalink
[AutoRelease] t2-network-2023-06-27-02545(can only be merged by SDK o…
Browse files Browse the repository at this point in the history
…wner) (#30904)

* code and test

* update

* update test

---------

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: msyyc <[email protected]>
  • Loading branch information
azure-sdk and msyyc authored Jul 25, 2023
1 parent 0d01c21 commit 6f79e8e
Show file tree
Hide file tree
Showing 700 changed files with 9,268 additions and 7,381 deletions.
26 changes: 26 additions & 0 deletions sdk/network/azure-mgmt-network/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# Release History

## 24.0.0 (2023-07-21)

### Breaking Changes

- Removed `HTTP_STATUS499` from enum `ApplicationGatewayCustomErrorStatusCode`

### Features Added

- Added enum `AdminState`
- Model ActiveConnectivityConfiguration has a new parameter resource_guid
- Model ActiveDefaultSecurityAdminRule has a new parameter resource_guid
- Model ActiveSecurityAdminRule has a new parameter resource_guid
- Model AdminRule has a new parameter resource_guid
- Model AdminRuleCollection has a new parameter resource_guid
- Model ApplicationGateway has a new parameter default_predefined_ssl_policy
- Model ConfigurationGroup has a new parameter resource_guid
- Model ConnectivityConfiguration has a new parameter resource_guid
- Model DefaultAdminRule has a new parameter resource_guid
- Model EffectiveConnectivityConfiguration has a new parameter resource_guid
- Model EffectiveDefaultSecurityAdminRule has a new parameter resource_guid
- Model EffectiveSecurityAdminRule has a new parameter resource_guid
- Model NetworkGroup has a new parameter resource_guid
- Model NetworkManager has a new parameter resource_guid
- Model SecurityAdminConfiguration has a new parameter resource_guid
- Model VirtualNetworkGateway has a new parameter admin_state

## 23.1.0 (2023-05-20)

### Features Added
Expand Down
2 changes: 1 addition & 1 deletion sdk/network/azure-mgmt-network/_meta.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"commit": "02acc29a5618a6998469a7fcc750e301f130a19f",
"commit": "d8fbbdf15d10f5c708c4cc4a795b3df3a24c6a26",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.9.2",
"use": [
Expand Down
266 changes: 133 additions & 133 deletions sdk/network/azure-mgmt-network/azure/mgmt/network/_client.py

Large diffs are not rendered by default.

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 = "23.1.0"
VERSION = "24.0.0"
266 changes: 133 additions & 133 deletions sdk/network/azure-mgmt-network/azure/mgmt/network/aio/_client.py

Large diffs are not rendered by default.

2,006 changes: 1,003 additions & 1,003 deletions sdk/network/azure-mgmt-network/azure/mgmt/network/aio/operations/_operations.py

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -956,6 +956,7 @@
UseHubGateway,
UserRuleKind,
ActionType,
AdminState,
ApplicationGatewayClientRevocationOptions,
ApplicationGatewayFirewallRateLimitDuration,
ApplicationGatewayFirewallUserSessionVariable,
Expand Down Expand Up @@ -1950,6 +1951,7 @@
"UseHubGateway",
"UserRuleKind",
"ActionType",
"AdminState",
"ApplicationGatewayClientRevocationOptions",
"ApplicationGatewayFirewallRateLimitDuration",
"ApplicationGatewayFirewallUserSessionVariable",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,6 @@ class ApplicationGatewayCustomErrorStatusCode(str, Enum, metaclass=CaseInsensiti
HTTP_STATUS404 = "HttpStatus404"
HTTP_STATUS405 = "HttpStatus405"
HTTP_STATUS408 = "HttpStatus408"
HTTP_STATUS499 = "HttpStatus499"
HTTP_STATUS500 = "HttpStatus500"
HTTP_STATUS502 = "HttpStatus502"
HTTP_STATUS503 = "HttpStatus503"
Expand Down Expand Up @@ -1531,6 +1530,14 @@ class ActionType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
BLOCK = "Block"
LOG = "Log"

class AdminState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Property to indicate if the Express Route Gateway serves traffic when there are multiple
Express Route Gateways in the vnet.
"""

ENABLED = "Enabled"
DISABLED = "Disabled"

class ApplicationGatewayClientRevocationOptions(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Verify client certificate revocation status."""

Expand Down
100 changes: 94 additions & 6 deletions sdk/network/azure-mgmt-network/azure/mgmt/network/models/_models.py

Large diffs are not rendered by default.

3,226 changes: 1,613 additions & 1,613 deletions sdk/network/azure-mgmt-network/azure/mgmt/network/operations/_operations.py

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ def main():
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ApplicationGatewayAvailableRequestHeadersGet.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/ApplicationGatewayAvailableRequestHeadersGet.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ def main():
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ApplicationGatewayAvailableResponseHeadersGet.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/ApplicationGatewayAvailableResponseHeadersGet.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ def main():
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ApplicationGatewayAvailableServerVariablesGet.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/ApplicationGatewayAvailableServerVariablesGet.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ def main():
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ def main():
print(item)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ def main():
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ def main():
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ApplicationGatewayAvailableWafRuleSetsGet.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/ApplicationGatewayAvailableWafRuleSetsGet.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ def main():
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ApplicationGatewayBackendHealthGet.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/ApplicationGatewayBackendHealthGet.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ def main():
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ApplicationGatewayBackendHealthTest.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/ApplicationGatewayBackendHealthTest.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,6 @@ def main():
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ApplicationGatewayCreate.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/ApplicationGatewayCreate.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ def main():
).result()


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ApplicationGatewayDelete.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/ApplicationGatewayDelete.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ def main():
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ApplicationGatewayGet.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/ApplicationGatewayGet.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ def main():
print(item)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ApplicationGatewayList.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/ApplicationGatewayList.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ def main():
print(item)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ApplicationGatewayListAll.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/ApplicationGatewayListAll.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ def main():
).result()


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ApplicationGatewayPrivateEndpointConnectionDelete.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/ApplicationGatewayPrivateEndpointConnectionDelete.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ def main():
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ApplicationGatewayPrivateEndpointConnectionGet.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/ApplicationGatewayPrivateEndpointConnectionGet.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ def main():
print(item)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ApplicationGatewayPrivateEndpointConnectionList.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/ApplicationGatewayPrivateEndpointConnectionList.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ def main():
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ApplicationGatewayPrivateEndpointConnectionUpdate.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/ApplicationGatewayPrivateEndpointConnectionUpdate.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ def main():
print(item)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ApplicationGatewayPrivateLinkResourceList.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/ApplicationGatewayPrivateLinkResourceList.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ def main():
).result()


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ApplicationGatewayStart.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/ApplicationGatewayStart.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ def main():
).result()


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ApplicationGatewayStop.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/ApplicationGatewayStop.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ def main():
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ApplicationGatewayUpdateTags.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/ApplicationGatewayUpdateTags.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ def main():
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ApplicationSecurityGroupCreate.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/ApplicationSecurityGroupCreate.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ def main():
).result()


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ApplicationSecurityGroupDelete.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/ApplicationSecurityGroupDelete.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ def main():
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ApplicationSecurityGroupGet.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/ApplicationSecurityGroupGet.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ def main():
print(item)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ApplicationSecurityGroupList.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/ApplicationSecurityGroupList.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ def main():
print(item)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ApplicationSecurityGroupListAll.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/ApplicationSecurityGroupListAll.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ def main():
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/ApplicationSecurityGroupUpdateTags.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/ApplicationSecurityGroupUpdateTags.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ def main():
print(item)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/AutoApprovedPrivateLinkServicesGet.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/AutoApprovedPrivateLinkServicesGet.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ def main():
print(item)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ def main():
print(item)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/AvailableDelegationsResourceGroupGet.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/AvailableDelegationsResourceGroupGet.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ def main():
print(item)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/AvailableDelegationsSubscriptionGet.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/AvailableDelegationsSubscriptionGet.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ def main():
print(item)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/AvailablePrivateEndpointTypesGet.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/AvailablePrivateEndpointTypesGet.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ def main():
print(item)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ def main():
print(item)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/AvailableServiceAliasesList.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/AvailableServiceAliasesList.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ def main():
print(item)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/AvailableServiceAliasesListByResourceGroup.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/AvailableServiceAliasesListByResourceGroup.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ def main():
).result()


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/AzureFirewallDelete.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/AzureFirewallDelete.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ def main():
print(item)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/AzureFirewallFqdnTagsListBySubscription.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/AzureFirewallFqdnTagsListBySubscription.json
if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ def main():
print(response)


# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/AzureFirewallGet.json
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/AzureFirewallGet.json
if __name__ == "__main__":
main()
Loading

0 comments on commit 6f79e8e

Please sign in to comment.