Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR track2_azure-mgmt-network] swagger 20230201 adding resource guid #3669

Closed
wants to merge 1 commit into from
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions sdk/network/azure-mgmt-network/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "5c021b26d815babdb06989b25fbb834cbbe7ba6b",
"commit": "1106aa7f047d994a7e58fe886712aa31ff0e960d",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.9.2",
"use": [
"@autorest/[email protected].8",
"@autorest/[email protected].12",
"@autorest/[email protected]"
],
"autorest_command": "autorest specification/network/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/[email protected].8 --use=@autorest/[email protected] --version=3.9.2 --version-tolerant=False",
"autorest_command": "autorest specification/network/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/[email protected].12 --use=@autorest/[email protected] --version=3.9.2 --version-tolerant=False",
"readme": "specification/network/resource-manager/readme.md"
}
279 changes: 132 additions & 147 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 = "1.0.0b1"
279 changes: 132 additions & 147 deletions sdk/network/azure-mgmt-network/azure/mgmt/network/aio/_client.py

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@
FirewallPolicyIdpsSignaturesOperations,
FirewallPolicyIdpsSignaturesOverridesOperations,
ManagementGroupNetworkManagerConnectionsOperations,
NetworkVirtualApplianceConnectionsOperations,
RouteMapsOperations,
RoutingIntentOperations,
ScopeConnectionsOperations,
Expand Down Expand Up @@ -318,7 +317,6 @@
"FirewallPolicyIdpsSignaturesOperations",
"FirewallPolicyIdpsSignaturesOverridesOperations",
"ManagementGroupNetworkManagerConnectionsOperations",
"NetworkVirtualApplianceConnectionsOperations",
"RouteMapsOperations",
"RoutingIntentOperations",
"ScopeConnectionsOperations",
Expand Down
3,269 changes: 1,319 additions & 1,950 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 @@ -675,14 +675,11 @@
ApplicationGatewayRoutingRule,
ApplicationGatewayWafDynamicManifestResult,
ApplicationGatewayWafDynamicManifestResultList,
AzureFirewallPacketCaptureFlags,
AzureFirewallPacketCaptureRule,
BackendAddressInboundNatRulePortMappings,
Criterion,
CrossTenantScopes,
DelegationProperties,
EffectiveRouteMapRoute,
EffectiveRouteMapRouteList,
ExclusionManagedRule,
ExclusionManagedRuleGroup,
ExclusionManagedRuleSet,
Expand All @@ -692,14 +689,10 @@
ExpressRouteProviderPort,
ExpressRouteProviderPortListResult,
FilterItems,
FirewallPacketCaptureParameters,
FirewallPolicyHttpHeaderToInsert,
FirewallPolicySQL,
GatewayCustomBgpIpAddressIpConfiguration,
GetInboundRoutesParameters,
GetOutboundRoutesParameters,
GroupByUserSession,
GroupByVariable,
IDPSQueryObject,
IPPrefixesList,
InboundNatRulePortMapping,
Expand All @@ -709,24 +702,18 @@
NatRulePortMapping,
NetworkManagerConnection,
NetworkManagerConnectionListResult,
NetworkVirtualApplianceConnection,
NetworkVirtualApplianceConnectionList,
OrderBy,
PacketCaptureMachineScope,
Parameter,
PartnerManagedResourceProperties,
PatchObject,
PolicySettingsLogScrubbing,
PrivateEndpointIPConfiguration,
PropagatedRouteTableNfv,
PublicIpDdosProtectionStatusResult,
QosDefinition,
QueryInboundNatRulePortMappingRequest,
QueryResults,
RouteMap,
RouteMapRule,
RoutingConfigurationNfv,
RoutingConfigurationNfvSubResource,
RoutingIntent,
RoutingPolicy,
ScopeConnection,
Expand All @@ -746,7 +733,6 @@
SwapResource,
SwapResourceListResult,
SwapResourceProperties,
VirtualApplianceAdditionalNicProperties,
VirtualNetworkDdosProtectionStatusResult,
VirtualNetworkEncryption,
VirtualNetworkGatewayPolicyGroup,
Expand All @@ -755,7 +741,6 @@
VngClientConnectionConfiguration,
VpnServerConfigurationPolicyGroup,
VpnServerConfigurationPolicyGroupMember,
WebApplicationFirewallScrubbingRules,
)

from ._enums import (
Expand Down Expand Up @@ -957,15 +942,12 @@
UserRuleKind,
ActionType,
ApplicationGatewayClientRevocationOptions,
ApplicationGatewayFirewallRateLimitDuration,
ApplicationGatewayFirewallUserSessionVariable,
ApplicationGatewayLoadDistributionAlgorithm,
ApplicationGatewayRuleSetStatusOptions,
ApplicationGatewayTierTypes,
ApplicationGatewayWafRuleActionTypes,
ApplicationGatewayWafRuleStateTypes,
AutoLearnPrivateRangesMode,
AzureFirewallPacketCaptureFlagsType,
CustomIpPrefixType,
DdosSettingsProtectionMode,
ExpressRoutePortAuthorizationUseStatus,
Expand All @@ -980,21 +962,15 @@
LoadBalancerBackendAddressAdminState,
NetworkIntentPolicyBasedService,
NetworkInterfaceAuxiliaryMode,
NetworkInterfaceAuxiliarySku,
NextStep,
PacketCaptureTargetType,
PublicIpAddressDnsSettingsDomainNameLabelScope,
RouteMapActionType,
RouteMapMatchCondition,
ScopeConnectionState,
ScrubbingRuleEntryMatchOperator,
ScrubbingRuleEntryMatchVariable,
ScrubbingRuleEntryState,
SlotType,
VirtualNetworkEncryptionEnforcement,
VnetLocalRouteOverrideCriteria,
VpnPolicyMemberAttributeType,
WebApplicationFirewallScrubbingState,
WebApplicationFirewallState,
)

Expand Down Expand Up @@ -1672,14 +1648,11 @@
"ApplicationGatewayRoutingRule",
"ApplicationGatewayWafDynamicManifestResult",
"ApplicationGatewayWafDynamicManifestResultList",
"AzureFirewallPacketCaptureFlags",
"AzureFirewallPacketCaptureRule",
"BackendAddressInboundNatRulePortMappings",
"Criterion",
"CrossTenantScopes",
"DelegationProperties",
"EffectiveRouteMapRoute",
"EffectiveRouteMapRouteList",
"ExclusionManagedRule",
"ExclusionManagedRuleGroup",
"ExclusionManagedRuleSet",
Expand All @@ -1689,14 +1662,10 @@
"ExpressRouteProviderPort",
"ExpressRouteProviderPortListResult",
"FilterItems",
"FirewallPacketCaptureParameters",
"FirewallPolicyHttpHeaderToInsert",
"FirewallPolicySQL",
"GatewayCustomBgpIpAddressIpConfiguration",
"GetInboundRoutesParameters",
"GetOutboundRoutesParameters",
"GroupByUserSession",
"GroupByVariable",
"IDPSQueryObject",
"IPPrefixesList",
"InboundNatRulePortMapping",
Expand All @@ -1706,24 +1675,18 @@
"NatRulePortMapping",
"NetworkManagerConnection",
"NetworkManagerConnectionListResult",
"NetworkVirtualApplianceConnection",
"NetworkVirtualApplianceConnectionList",
"OrderBy",
"PacketCaptureMachineScope",
"Parameter",
"PartnerManagedResourceProperties",
"PatchObject",
"PolicySettingsLogScrubbing",
"PrivateEndpointIPConfiguration",
"PropagatedRouteTableNfv",
"PublicIpDdosProtectionStatusResult",
"QosDefinition",
"QueryInboundNatRulePortMappingRequest",
"QueryResults",
"RouteMap",
"RouteMapRule",
"RoutingConfigurationNfv",
"RoutingConfigurationNfvSubResource",
"RoutingIntent",
"RoutingPolicy",
"ScopeConnection",
Expand All @@ -1743,7 +1706,6 @@
"SwapResource",
"SwapResourceListResult",
"SwapResourceProperties",
"VirtualApplianceAdditionalNicProperties",
"VirtualNetworkDdosProtectionStatusResult",
"VirtualNetworkEncryption",
"VirtualNetworkGatewayPolicyGroup",
Expand All @@ -1752,7 +1714,6 @@
"VngClientConnectionConfiguration",
"VpnServerConfigurationPolicyGroup",
"VpnServerConfigurationPolicyGroupMember",
"WebApplicationFirewallScrubbingRules",
"ApplicationGatewayCookieBasedAffinity",
"ApplicationGatewayOperationalState",
"ApplicationGatewayProtocol",
Expand Down Expand Up @@ -1951,15 +1912,12 @@
"UserRuleKind",
"ActionType",
"ApplicationGatewayClientRevocationOptions",
"ApplicationGatewayFirewallRateLimitDuration",
"ApplicationGatewayFirewallUserSessionVariable",
"ApplicationGatewayLoadDistributionAlgorithm",
"ApplicationGatewayRuleSetStatusOptions",
"ApplicationGatewayTierTypes",
"ApplicationGatewayWafRuleActionTypes",
"ApplicationGatewayWafRuleStateTypes",
"AutoLearnPrivateRangesMode",
"AzureFirewallPacketCaptureFlagsType",
"CustomIpPrefixType",
"DdosSettingsProtectionMode",
"ExpressRoutePortAuthorizationUseStatus",
Expand All @@ -1974,21 +1932,15 @@
"LoadBalancerBackendAddressAdminState",
"NetworkIntentPolicyBasedService",
"NetworkInterfaceAuxiliaryMode",
"NetworkInterfaceAuxiliarySku",
"NextStep",
"PacketCaptureTargetType",
"PublicIpAddressDnsSettingsDomainNameLabelScope",
"RouteMapActionType",
"RouteMapMatchCondition",
"ScopeConnectionState",
"ScrubbingRuleEntryMatchOperator",
"ScrubbingRuleEntryMatchVariable",
"ScrubbingRuleEntryState",
"SlotType",
"VirtualNetworkEncryptionEnforcement",
"VnetLocalRouteOverrideCriteria",
"VpnPolicyMemberAttributeType",
"WebApplicationFirewallScrubbingState",
"WebApplicationFirewallState",
]
__all__.extend([p for p in _patch_all if p not in __all__])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,6 @@ class WebApplicationFirewallRuleType(str, Enum, metaclass=CaseInsensitiveEnumMet
"""The rule type."""

MATCH_RULE = "MatchRule"
RATE_LIMIT_RULE = "RateLimitRule"
INVALID = "Invalid"

class WebApplicationFirewallTransform(str, Enum, metaclass=CaseInsensitiveEnumMeta):
Expand Down Expand Up @@ -1537,21 +1536,6 @@ class ApplicationGatewayClientRevocationOptions(str, Enum, metaclass=CaseInsensi
NONE = "None"
OCSP = "OCSP"

class ApplicationGatewayFirewallRateLimitDuration(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Duration over which Rate Limit policy will be applied. Applies only when ruleType is
RateLimitRule.
"""

ONE_MIN = "OneMin"
FIVE_MINS = "FiveMins"

class ApplicationGatewayFirewallUserSessionVariable(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""User Session clause variable."""

CLIENT_ADDR = "ClientAddr"
GEO_LOCATION = "GeoLocation"
NONE = "None"

class ApplicationGatewayLoadDistributionAlgorithm(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Load Distribution Algorithm enums."""

Expand Down Expand Up @@ -1596,16 +1580,6 @@ class AutoLearnPrivateRangesMode(str, Enum, metaclass=CaseInsensitiveEnumMeta):
ENABLED = "Enabled"
DISABLED = "Disabled"

class AzureFirewallPacketCaptureFlagsType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The flags type to be captured."""

FIN = "fin"
SYN = "syn"
RST = "rst"
PUSH = "push"
ACK = "ack"
URG = "urg"

class CustomIpPrefixType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Type of custom IP prefix. Should be Singular, Parent, or Child."""

Expand Down Expand Up @@ -1697,6 +1671,7 @@ class LoadBalancerBackendAddressAdminState(str, Enum, metaclass=CaseInsensitiveE
NONE = "None"
UP = "Up"
DOWN = "Down"
DRAIN = "Drain"

class NetworkIntentPolicyBasedService(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Network intent policy based services."""
Expand All @@ -1711,16 +1686,6 @@ class NetworkInterfaceAuxiliaryMode(str, Enum, metaclass=CaseInsensitiveEnumMeta
NONE = "None"
MAX_CONNECTIONS = "MaxConnections"
FLOATING = "Floating"
ACCELERATED_CONNECTIONS = "AcceleratedConnections"

class NetworkInterfaceAuxiliarySku(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Auxiliary sku of Network Interface resource."""

NONE = "None"
A1 = "A1"
A2 = "A2"
A4 = "A4"
A8 = "A8"

class NextStep(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Supported next step behaviors after a rule is applied to a matched route."""
Expand All @@ -1736,17 +1701,6 @@ class PacketCaptureTargetType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
AZURE_VM = "AzureVM"
AZURE_VMSS = "AzureVMSS"

class PublicIpAddressDnsSettingsDomainNameLabelScope(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The domain name label scope. If a domain name label and a domain name label scope are
specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with
a hashed value includes in FQDN.
"""

TENANT_REUSE = "TenantReuse"
SUBSCRIPTION_REUSE = "SubscriptionReuse"
RESOURCE_GROUP_REUSE = "ResourceGroupReuse"
NO_REUSE = "NoReuse"

class RouteMapActionType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Kind of actions which can be taken on a matched route. Add, Replace, Remove refer to parameters
on the route, like community or prefix.
Expand Down Expand Up @@ -1776,30 +1730,6 @@ class ScopeConnectionState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
REVOKED = "Revoked"
REJECTED = "Rejected"

class ScrubbingRuleEntryMatchOperator(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""When matchVariable is a collection, operate on the selector to specify which elements in the
collection this rule applies to.
"""

EQUALS = "Equals"
EQUALS_ANY = "EqualsAny"

class ScrubbingRuleEntryMatchVariable(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The variable to be scrubbed from the logs."""

REQUEST_HEADER_NAMES = "RequestHeaderNames"
REQUEST_COOKIE_NAMES = "RequestCookieNames"
REQUEST_ARG_NAMES = "RequestArgNames"
REQUEST_POST_ARG_NAMES = "RequestPostArgNames"
REQUEST_JSON_ARG_NAMES = "RequestJSONArgNames"
REQUEST_IP_ADDRESS = "RequestIPAddress"

class ScrubbingRuleEntryState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Defines the state of log scrubbing rule. Default value is Enabled."""

ENABLED = "Enabled"
DISABLED = "Disabled"

class SlotType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Specifies slot info on a cloud service."""

Expand Down Expand Up @@ -1827,12 +1757,6 @@ class VpnPolicyMemberAttributeType(str, Enum, metaclass=CaseInsensitiveEnumMeta)
AAD_GROUP_ID = "AADGroupId"
RADIUS_AZURE_GROUP_ID = "RadiusAzureGroupId"

class WebApplicationFirewallScrubbingState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""State of the log scrubbing config. Default value is Enabled."""

DISABLED = "Disabled"
ENABLED = "Enabled"

class WebApplicationFirewallState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not
specified.
Expand Down
Loading